struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heritier Arnaud <>
Subject RE: use of logic-tags
Date Thu, 23 Aug 2001 12:07:58 GMT
I think that you could implements rapidly somethink like :

<tag:if condition="???Boolean expression???">

<tag:then>Here it's evaluate only if condition is true<tag:then/>

<tag:else>Here it's evaluate only if condition is false<tag:else/>



-----Message d'origine-----
De:	Marcel  Andres []
Date:	jeudi 23 aout 2001 13:55
A:	struts-user
Objet:	use of logic-tags

Hi all,

Two general questions:

1. Has someone an idea how to implement an "ELSE" with the logic-tags? Till 
now, I always made something like this (example):

<logic:equal .....>

<logic:notEqual .....>


2. Instead of using a string, which I can set to "true" or "false", is 
there a possiblity to set a property to "true" or "false" (boolean) in the 
form,  and use it later on from a jsp page?



View raw message