I put <h:outputText value="foo"/> inside the commandLinks and I got links
that all said foo.
I don't get why it won't find my page variable.
How can I get it to resolve my variables when they are just defined in
standard jsp like
<% String myText = "foo" %>
<h:commandLink action="">value="#{myText}"/></h:commandLink>
How do I get this to work?
EL expressions look at request/session/application scope attributes, not at local variables. So the following scriptlet would do what you're asking for (of course, this sort of thing should really be done in Java code, not in scriptlets, but ...)
<% request.setAttribute("myText", "foo"); %>
Shawn
Craig

