Nested form-widgets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Nested form-widgets

Levenimeux
Hi all,

I'm trying (with my team) to build a new eCommerce webapp using OFBiz, and we're stuck with form-widgets, so here's the problem :

- Need : I have two related tables (many to many), Items and their categories, I need to display Items for each category a part using form-widgets. So definitely I need a nested loop to do so. Here's my question :
   --> How can we Iterate in a single field (in this case category) ? or can we have a nested forms ?

Illustration :
<field>  //for each row we display all result rows of the inner field
      <field>
      </field>
      <field>
      </field>
</field> 

ThanX in advance :)

Reply | Threaded
Open this post in threaded view
|

Re: Nested form-widgets

Jacques Le Roux
Administrator
Please use rather user ML for such questions, see why here :
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@...

Thanks

Jacques

From: "Levenimeux" <[hidden email]>

>
> Hi all,
>
> I'm trying (with my team) to build a new eCommerce webapp using OFBiz, and
> we're stuck with form-widgets, so here's the problem :
>
> - Need : I have two related tables (many to many), Items and their
> categories, I need to display Items for each category a part using
> form-widgets. So definitely I need a nested loop to do so. Here's my
> question :
>   --> How can we Iterate in a single field (in this case category) ? or can
> we have a nested forms ?
>
> Illustration :
> <field>  //for each row we display all result rows of the inner field
>      <field>
>      </field>
>      <field>
>      </field>
> </field>  
>
> ThanX in advance :)
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Nested-form-widgets-tp2259976p2259976.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Nested form-widgets

Adam Heath-2
In reply to this post by Levenimeux
Levenimeux wrote:
>    --> How can we Iterate in a single field (in this case category) ? or can
> we have a nested forms ?

Nested forms are not possible.  html itself doesn't allow it.

<form>
 <input />
 <form>
  <input />
 </form>
</form>

This is just not allowed at all in html.

Reply | Threaded
Open this post in threaded view
|

Re: Nested form-widgets

Levenimeux
In reply to this post by Jacques Le Roux
Will Do it jaques le roux. sorry :)