Yep, it works.  If name is null that fine, it just shows up blank on the
page.

thanks


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]
>
>


--
~chris

Reply via email to