You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hunter Hillegas <li...@lastonepicked.com> on 2003/07/19 00:48:30 UTC
Accessing Page Scope Var in Scriptlet
When I use nested:iterate as such:
<nested:iterate id="item" property="lineItems" indexId="lineItemCount">
I get a page scope variable called 'lineItemCount'. I have a need to use
that variable in a scriptlet (I know, I know...).
I tried this:
calendarCountID.add(lineItemCount);
(calendarCountID is a Vector) but this doesn't work. How can I access this?
Thanks in advance,
Hunter
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Accessing Page Scope Var in Scriptlet
Posted by Sandeep Takhar <sa...@yahoo.com>.
use item
sandeep
--- Hunter Hillegas <li...@lastonepicked.com> wrote:
> When I use nested:iterate as such:
>
> <nested:iterate id="item" property="lineItems"
> indexId="lineItemCount">
>
> I get a page scope variable called 'lineItemCount'.
> I have a need to use
> that variable in a scriptlet (I know, I know...).
>
> I tried this:
>
> calendarCountID.add(lineItemCount);
>
> (calendarCountID is a Vector) but this doesn't work.
> How can I access this?
>
> Thanks in advance,
> Hunter
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org