Just made a new little test (blahblah does not exist ;-) ):
<%@ taglib uri="webwork" prefix="ww" %>
<ww:if test="blahblah">
foo
</ww:if>
<ww:else>
bar
</ww:else>
prints nothing on the screen.
<%@ taglib uri="webwork" prefix="ww" %>
<ww:if test="!blahblah">
foo
</ww:if>
<ww:else>
bar
</ww:else>
prints "foo" on the screen.
And still nothing in the log that indicates an error.
Regards Peter
-----Ursprungligt meddelande-----
Fr�n: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] F�r Weasel
Skickat: den 17 januari 2004 15:46
Till: [EMAIL PROTECTED]
�mne: SV: [OS-webwork] Check for existence in WW2?
Sorry, I meant <webwork:if test=�foo�>, just forgot to write the little
'='.
The execution works like I described it, no error messages on the screen
or in the log and neither if or else gets executed.
Regards Peter
-----Ursprungligt meddelande-----
Fr�n: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] F�r boxed
Skickat: den 17 januari 2004 10:13
Till: [EMAIL PROTECTED]
�mne: Re: [OS-webwork] Check for existence in WW2?
Weasel wrote:
> According to the docs at
> http://wiki.opensymphony.com/space/WebWork+Expression+Language+Syntax
> you can check a getFoo() for existence by doing <webwork:if test�foo�>
> in a JSP.
>
> That doesn�t seem to work for me in WW2, neither if or else gets
> executed� Any ideas?
>
> Regards Peter
>
it's <webwork:if test=�foo�>
Next time please describe HOW it does not work, like in this case the
JSP does not compile so you should be getting a nice helpful error
message.
Anders Hovm�ller
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork