Hi Alf,
The expression #{${dataBean}.errors} works in older Servlet APIs with
Tobago.
It should work until Tomcat 5.5, but doen't work with Tomcat 6.0.
It also doesn't work with Facelets, but in Facelets you may use
#{dataBean.errors} instead.
For JSPs #{dataBean.errors} will work, when dataBean is in some context,
it depends on your application, what is the best way to put in in the
context.
Regards,
Udo
Am 18.03.10 09:26, schrieb Alf Felis:
Hi all,
I have a problem using jsp tags with attributes in tobago.
Tobago version: 1.0.24-SNAPSHOT
Myfaces version: 1.1.6
Tomcat version: 6.0.18
I'm using a tag with the attribute "<%@ attribute name="dataBean" %>".
If I try to access this attribute inside the tag I get a ParseException.
Access:
-------
<tc:sheet value="#{${dataBean}.errors}" ...
Exception:
----------
org.apache.commons.el.parser.ParseException: Encountered "{" at line 1, column
4.
Was expecting one of:
"}" ...
"." ...
">" ...
"gt" ...
Is there a problem with the EL parser? Do I have to use a different one?
Best regards,
Alf