You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yariel Ramos Moreno <yr...@ceis.cujae.edu.cu> on 2006/03/22 16:30:48 UTC
logic:iterate offset and length dinamicaly
How can I set the offset and length properties of the logic:iterate struts tag dinamicaly? I mean, maybe getting the values from the session or a bean...
Regards,
Yariel.
Re: logic:iterate offset and length dinamicaly
Posted by Michael Jouravlev <jm...@gmail.com>.
Using Struts-EL in JSP 1.2 container or JSTL expressions in JSP 2.0
container seems to be the simplest solution to me.
<logic-el:iterate id="subscription"
collection="${SubscriptionForm.subscriptions}"
offset="${SubscriptionForm.offset}"
length="${SubscriptionForm.pagesize}"
type="com.acme.Subscription">
...
</logic-el:iterate>
I have session-scoped ActionForm and store parameters in it.
Michael
On 3/22/06, Yariel Ramos Moreno <yr...@ceis.cujae.edu.cu> wrote:
> How can I set the offset and length properties of the logic:iterate struts tag dinamicaly? I mean, maybe getting the values from the session or a bean...
>
> Regards,
>
> Yariel.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org