tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amol Yadwadkar" <ayadwad...@webifyservices.com>
Subject Re: Using Boolean object in conditional component
Date Fri, 08 Aug 2003 14:34:31 GMT
Try this in your Html
<span jwcid="@Condition" condition="ognl:visit.level.new"/>
Hope It shall work.
best regds,
Amol
----- Original Message ----- 
From: "James Hays" <james_hays@mac.com>
To: "Tapestry users" <tapestry-user@jakarta.apache.org>
Sent: Friday, August 08, 2003 7:39 PM
Subject: Using Boolean object in conditional component


> Is there a way to use a Boolean object, rather than boolean, in a 
> conditional component.
> 
> My attempt to use this resulted in an "Unable to parse expression error"
> 
> Here is the statement:
>     <component id="isNew" type="Conditional">
>         <binding name="condition" expression="visit.level.new"/>
>     </component>
> 
> visit.level.new is of type Boolean
> 
> 
> James
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 

Mime
View raw message