EL Syntax Error for no-args function [message #512349] |
Thu, 04 February 2010 13:06  |
Eclipse User |
|
|
|
Hi,
I get a validation error for my no args EL function. This is my tld:
<taglib ...>
<tlib-version>1.0</tlib-version>
<jsp-version>2.0</jsp-version>
<short-name>c24</short-name>
<function>
<name>timestamp</name>
<function-class>java.lang.System</function-class>
<function-signature>
long currentTimeMillis()
</function-signature>
</function>
</taglib>
When using ${custom:timestamp()} in a JSP, WTP reports an EL Syntax Error, pointing at the braces, even though the JSP works fine in Tomcat 5.5. Writing ${custom:timestamp(d)} gets rid of the validation error, but obviously fails during runtime.
Am I doing something wrong (some incorrect settings?), or is this a bug? What do you think?
Bye,
Michael
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05629 seconds