tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodríguez Miguélez, Adolfo" <adol...@mapfre.com>
Subject RE: Tag Logic:equal
Date Mon, 05 May 2003 07:59:40 GMT
Without too much tought:

<bean:define id="id1" name="bean1" property="property1"/>
<logic:equal name="bean2" property="property2" value="<%=id1%>"/>

The trick is <%=id1%> since you cannot embed 2 tags.



> -----Mensaje original-----
> De:	Mario Signorelli [SMTP:mario.signorelli@pimm.it]
> Enviado el:	viernes 2 de mayo de 2003 17:23
> Para:	taglibs-user@jakarta.apache.org
> Asunto:	Tag   Logic:equal
> 
> <logic:iterate id="desc" name="integrazioni"  >
> <ul>
> <li>
> <bean:write name="desc" property="descrizione" />
> 		<html:submit property="submit" value=" Rispondi "/>
> 		<logic:iterate id="desc1" name="risposte"  >
> 			<logic:equal name="desc1" property="idpadre"
> value="??">
> 				<ul>
> 				<li><bean:write name="desc1"
> property="descrizione" /></li>
> 				</ul>
> 			</logic:equal>
> 		</logic:iterate >
> 	</li>
> </ul>
> </logic:iterate >
> 
> How i can compare with the tag logic:equal two value of two bean???
> 
> Some idea ??
> 
> Help me
> ________________
> Mario Signorelli
> PIMM S.R.L.
> via Lampugnano, 144
> 20151 - Milano
> Tel. - 02/48206371
> Fax. - 02/48206437
> 
>       
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message