<ww:iterator value="items" status="'status'">
<ww:property value="@status/index"/>
</ww:iterator>
where status is an object of class 'webwork.view.taglib.IteratorStatus'
Best regards,
Dieter
-----Original Message-----
From: Jason Carreira [mailto:[EMAIL PROTECTED]
Sent: woensdag 25 juni 2003 16:20
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] variables in Webwork
I wish I could remember the exact syntax, but the iterator tag lets you
specify a name for the iteration counter which you can use in your
iterator tag body... Check the docs and examples.
> -----Original Message-----
> From: Thabiet Davids (Q3) [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2003 3:12 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] variables in Webwork
>
>
> Pat,
>
> Webwork ROCKS, I am sort of new to Java, MVC, coming from VB,
> ASP etc. and I have stumbled across what you guys are doing,
> and I must say that I actually hear music each time I
> develop. Thanx for all the hard work ... I am looking forward
> to the day I can help as you are making me look good in South
> Africa (no there aren't lions roaming the street :-))
>
> I also have a question regarding variables in webwork. I am
> trying to loop thru a list and increment a local counter. I
> need to test the values of the counter to do something.How do
> I declare a local variable to do this. I don't need this in
> the action just in the jsp.
>
> Warm Regards
> Thabiet
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU
> Hosting Partner. Refer Dedicated Servers. We Manage Them. You
> Get 10% Monthly Commission! INetU Dedicated Managed Hosting
> http://www.inetu.net/partner/index.php
>
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork