<span jwcid="@Insert" value='ognl:object==null ? "" : object.name'/>

perhaps not the most efficient.

On 1/6/06, Gentry, Michael (Contractor) <[EMAIL PROTECTED]> wrote:
> That should work.  Any chance of "name" being null?
>
> /dev/mrg
>
>
> -----Original Message-----
> From: Chris Chiappone [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 06, 2006 2:33 PM
> To: Tapestry List
> Subject: ognl ques
>
>
> I had a real quick question to know if its legal to do this following
> with
> ognl:
>
> <span jwcid="@If" condition="ognl:object != null">
>  <span jwcid="@Insert" value="ognl:object.name"/>
> </span>
>
> Basically is that the correct way to make sure the object isn't null
> using
> ognl?
>
> Thanks,
>
> --
> ~chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates:            http://spindle.sf.net/updates

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

Reply via email to