On Thursday 14 Mar 2002 15H:08 pm, you wrote:
> Sorry, there's a typo in there, it should read:
>
>       <c:if test="${request.clearDataSelectionContainer == true or
>       request.clearDataSelectionContainer == null}">
>               TRUE
>       </c:if>
>
It doesn't compile with { } in there :-)

What I pasted did, but didn't work. :)

> {} instead of ()
>
> Regards,
> Eric
>
> -----Original Message-----
> From: Lewis, Eric
> Sent: Donnerstag, 14. M�rz 2002 13:38
> To: [EMAIL PROTECTED]
> Subject: RE: if
>
>
> From what I understand reading the JSTL 1.0 Public Draft (Appendix A), it
> should be:
>
>       <c:if test="$(request.clearDataSelectionContainer == true or
>       request.clearDataSelectionContainer == null)">
>               TRUE
>       </c:if>
>
> Of course, I may be wrong, haven't had the chance to test the latest build
> yet...
>
> Best regards,
> Eric
>
> -----Original Message-----
> From: Agrawal, Anuj (Anuj)** CTR ** [mailto:[EMAIL PROTECTED]]
> Sent: Donnerstag, 14. M�rz 2002 13:27
> To: 'Tag Libraries Users List'
> Subject: RE: if
>
>
> I had the same question about a week or so back.. here's what i found:
>
> Try:
>
>       <c:if test="$(request.clearDataSelectionContainer=='true' ||
> request.clearDataSelectionContainer==null)">
>               TRUE
>       </c:if>
>
> Note i haven't tested this with the latest release of JSTL.  I did ask if
> the above syntax is the "recommended" way, but did not get a response yet.
>
> Hope this helps you.
> Anuj.
>
> > -----Original Message-----
> > From: John Baker [mailto:[EMAIL PROTECTED]]
> >
> > Is it possible to do the following:
> >
> >
> > <c:if test="  ${request.clearDataSelectionContainer == 'true'} ||
> > ${request.clearDataSelectionContainer == null}">
> >   // something
> > </c:if>
> >
> > Ie I want a "if it's true or the object is null" statement...

-- 
John Baker, BSc CS.
Java Developer, TEAM/Slb. http://www.teamenergy.com
Views expressed in this mail are my own.

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

Reply via email to