Yes, I know..
But this logic:equal tag requires the value attribute..
Thanks..

-----Original Message-----
From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
Sent: Friday, January 13, 2006 4:44 PM
To: Struts Users Mailing List
Subject: Re: How to use a tag withing another tag?


You cannot use tag inside another tag. In most cases you can use
element content instead of "value" attribute of that element.

Michael.

On 1/13/06, Gupta, Karan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using a logic:equal tag in my jsp and the value of the property has to be 
> compared with the value in a bean. How is it possible to do that?
>
> In the following code, both "inventoryDefinitions" and "equipTypes" are of 
> type List.
> <logic:iterate id="iDefObj" name="IDefForm" property="inventoryDefinitions">
>         <logic:iterate id="equipTypeObj" name="IDefForm" 
> property="equipTypes">
>                 <logic:equal name="iDefObj" property="equipType" 
> value="equipTypeObj.equipType">
>                         <bean:write name="equipTypeObj" 
> property="equipTypeDesc"/>
>                 </logic:equal>
>         </logic:iterate>
> </logic:iterate>
>
> I have tried several ways, including
> <logic:equal name="iDefObj" property="equipType"
>         value="<bean:write name='equipTypeObj' property='equipType'/>">
> but nothing seems to work.

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


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

Reply via email to