RE: jstl and the brink of madness

2004-09-30 Thread Paul McCulloch
I don't think scoped attributes  parameters are the same thing. Try
http://somehost/app/mypage.jsp?create=something to set a parameter.

Paul

 -Original Message-
 From: andy wix [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 30, 2004 3:59 PM
 To: [EMAIL PROTECTED]
 Subject: jstl and the brink of madness
 
 
 Hi,
 
 The following expression always evaluates to true even though 
 I can see the 
 create parameter in the request.
 
 %@ taglib uri=jstl/c prefix=c %
 
 c:choose
   c:when test=${empty param.create}hello/c:when
   c:otherwisegoodbye/c:otherwise
 /c:choose
 
 I set the parameter up in the previous action with:
 request.setAttribute(create,create);
 
 Any ideas?
 
 Thanks,
 Andy
 
 _
 Express yourself with cool new emoticons 
 http://www.msn.co.uk/specials/myemo
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.
**


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



Re: jstl and the brink of madness

2004-09-30 Thread Duncan Mills
Shouldn't your test be:
c:choose
c:when test=${empty requestScope.create}hello/c:when
c:otherwisegoodbye/c:otherwise
/c:choose
As you've set this as a Request attribute
Regards
Duncan Mills
andy wix wrote:
Hi,
The following expression always evaluates to true even though I can 
see the create parameter in the request.

%@ taglib uri=jstl/c prefix=c %
c:choose
 c:when test=${empty param.create}hello/c:when
 c:otherwisegoodbye/c:otherwise
/c:choose
I set the parameter up in the previous action with:
request.setAttribute(create,create);
Any ideas?
Thanks,
Andy
_
Express yourself with cool new emoticons 
http://www.msn.co.uk/specials/myemo

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


Re: jstl and the brink of madness

2004-09-30 Thread Fredrik Sundberg

Try ${empty create} instead.
Regards,
/Fredrik




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



Re: jstl and the brink of madness

2004-09-30 Thread andy wix
Hi,
Thanks - requestScope.create works.
I was copying from page 12 of Core JSTL - can't belive all you read!
Cheers,
Andy
_
Want to block unwanted pop-ups? Download the free MSN Toolbar now!  
http://toolbar.msn.co.uk/

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