It works fine.

Thanks.


--- "Hensley, Richard" <[EMAIL PROTECTED]> wrote:
> attribute="ognl:condition?value:null"
> 
> If the result of an ognl is null for an informal parameter, the parameter is
> removed. I use this all the time for CSS classes and what have you.
> 
> Richard
> 
> -----Original Message-----
> From: Oscar Picasso [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 12, 2005 12:44 PM
> To: Tapestry users
> Subject: Adding dynamically an informal parameter
> 
> Hi,
> 
> Inside an HTML template, I have a @Foreach loop that generates a list of
> ILinkComponents. Depending on some condition inside the loop i want to add
> an
> informal parameter. I don't merely want to dynamically set the value of the
> parameter but I really want the related html attribute to be generated only
> if
> the condition is true.
> 
> 
> Is there a simple way to do that?
> 
> Thanks.
> 
> 
> Oscar
> 
> 
>               
> __________________________________ 
> Yahoo! Mail Mobile 
> Take Yahoo! Mail with you! Check email on your mobile phone. 
> http://mobile.yahoo.com/learn/mail 
> 
> ---------------------------------------------------------------------
> 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]
> 
> 


                
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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

Reply via email to