Want a form widget list example

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

Want a form widget list example

Vinay Agarwal
Hello,

 

Can someone point me to a form widget list (table) example with alternating
color rows? I remember seeing it but I can't find it.

 

Thanks in advance,

Vinay Agarwal

 

Reply | Threaded
Open this post in threaded view
|

Re: Want a form widget list example

Alexandre Gomes-5
Hi Vinay,

   You can make such a form using the folowing attributes on the form widget :

default-table-style="boxoutside" even-row-style="viewManyTR2"
odd-row-style="viewManyTR1"

   You can find an example i here :
webapp/catalog/product/ProductForms.xml#ListSupplierProducts

   You can see it working by selecting the Suppliers menu in the
Product page in the Catalog Manager.

  Regards,
Alex

On 6/27/06, Vinay Agarwal <[hidden email]> wrote:

> Hello,
>
>
>
> Can someone point me to a form widget list (table) example with alternating
> color rows? I remember seeing it but I can't find it.
>
>
>
> Thanks in advance,
>
> Vinay Agarwal
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Want a form widget list example

BJ Freeman
In reply to this post by Vinay Agarwal
Look at the ofbiz-home/framework/widget/dtd/widget-form.xsd
you will see a parm for alternating.
also has come comments as to what does what.
I believe
odd-row-style
and
even-row-style
then a CSS class to support that.


Vinay Agarwal sent the following on 6/27/2006 2:21 PM:

> Hello,
>
>  
>
> Can someone point me to a form widget list (table) example with alternating
> color rows? I remember seeing it but I can't find it.
>
>  
>
> Thanks in advance,
>
> Vinay Agarwal
>
>  
>
>