David Delbecq wrote:
En l'instant précis du 07/03/07 12:04, Gerald Holl s'exprimait en ces
termes:
David Delbecq wrote:
Please provide the full jsp please.
Side note: JSF and non-JSF tags do not mix very well.
<c:forEach items="#{handler.fields}" var="it">
<h:inputText id="fieldPercent" value="#{it.percentValue}"/>
<h:message for="fieldPercent"/>
</c:forEach>
Sorry, should have seen it in your first message:
items="#{handler.fields}" <-- this expression is not evaluated by
tomcat. In jsp 2.0, expression must have the form
${handler.fields}
According to [1] the #{} should work with the new unified EL.
If I try your hint I can't view the page anymore:
Error: According to TLD or attribute directive in file, attribute items
does not accept any expressions.
You are mixing jstl stuff and jsf stuff. #{} is value binding
expressions used by jsf. Moreover, handler is a JSF managed bean, am not
sure JSF exports it's managed bean as it. They probably are inside a
session/request/application (depend on managed bean) scope Map that can
handle their lifecycle.
The handler is not a JSF managed bean, it's a Spring managed bean. I
think this should work.
cheers,
Gerald
[1] http://java.sun.com/products/jsp/reference/techart/unifiedEL.html
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]