tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl R. San Gabriel" <karl.sangabr...@gmail.com>
Subject Re: EL keywords - not and empty - and EL functions
Date Sat, 25 Oct 2008 12:51:13 GMT
Karl R. San Gabriel wrote:
> Dear All,
>
> Good day! I am a new guy and still adjusting to the TC project. :-)
>
> I have noticed the fixes you wanted to put in to TC 6.0.18 for bug 
> 46084 (duplicate of 45511) .
>
>        https://issues.apache.org/bugzilla/show_bug.cgi?id=46084
>              https://issues.apache.org/bugzilla/show_bug.cgi?id=45511
>
> The ways the keywords "not" and "empty" (in duplicate bugs)  were used 
> in JSP files were like EL functions.
> EL functions are different. They are static methods from Java classes 
> made exposed via the <function> XML tag in the TLD file.
>
> TLD file:
> ...
> <uri>FunctionNot</uri>
>    <function>
>       <name>doItNow</name>
>       <function-class>Fully qualified class name</functon-class>
>       <function-signature>void doItNow()</function-signature>
>    </function>
> ...
>
> When we use "not" in the ff way:
>
>         ${not(true)}
>
> we are using it as an *EL function name* (because no whitespace(s) 
> between "not" and "(" ).
> It should not work because there is no declaration in the TLD for that 
> EL function "not".
> Thus, the exceptions (please see desciptions of  bugs 46084 and 45511).
>
> Regards,
> Karl San Gabriel
>
>
Pardon me. I was talking nonsense. :-)
Yeah, I tried ${not(true)} in JBoss and it works.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message