This is (unfortuantely) another one of those "gotta use JSTL" things.
The value clause in a logic comparison has to be a literal.  So you
either need to drop the value in dynamically with <%= tags, or give in
to the Dark Side (major :-) and do it in JSTL.

James
(Who's in the middle of converting a client application from Struts tags
to JSTL...)

> -----Original Message-----
> From: Rick Reumann [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, January 06, 2003 3:00 PM
> To: Struts Users Mailing List
> Subject: Re: Need <logic:equal> tag help
> 
> 
> 
> 
> On Monday, January 6, 2003, 2:41:02 PM, Jordan wrote:
> 
> JT> Hi,
> 
> JT> I am wanting to use a <logic:equal> tag inside an 
> interate tag like this
> 
> JT> <logic:iterate id="permission" name="permissions" indexId="idx">
> JT>   <logic:equal scope="page" name="idx" 
> value="request.permissionsSize">
> JT>     blah blah...
> JT>   </logic:equal>
> JT> </logic:iterate>
> 
> Did you try:
> 
>  <logic:iterate id="permission" name="permissions" indexId="idx">
>    <logic:equal name="permissionsSize" value="idx">
>           blah blah...
>    </logic:equal>
>  </logic:iterate>
> 
> I'm not positive the above will work though. Let me know. The problem
> might be the value="idx" part.. if it is let me know.
> 
> -- 
> 
> Rick
> mailto:[EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [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