hi
you can go here:

http://jakarta.apache.org/struts/api-1.0/org/apache/struts/taglib/logic/pack
age-summary.html


----- Original Message -----
From: "Sher_A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 3:36 PM
Subject: Need help on <logic:iterate>


> Can someone help me with this <logic:iterate> question? Thanks.
>
> Struts example command:
> <logic:iterate id="subscription" name="user"
> property="subscriptions">
>
> I read it as:
> "user" is the bean, "user.subscriptions" is a Collection
> (Vector or Array) in that bean, and each element in the Collection
> will be referenced as "subscription".
>
> If that's correct, why am I getting this error:
>
> javax.servlet.ServletException: Cannot find bean jobRequest in scope
> null
>
> for the commands:
>
> <logic:iterate id="jobRequest" name="user" property="schedule"
> scope="session">
>   <td><bean:write name="jobRequest" property="name"
> filter="true"/></td>
> </logic:iterate>
>
> Since there's no error on the iterate command, I assume that Struts did
find
> the bean "user" and the property "schedule".
> Why then did it not find jobRequest? And why was Struts looking in scope
> "null"?
> Shouldn't the bean "jobRequest" be in the same scope as "user"?
>
> Appreciate any help.
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to