I am using ValueExpression with JSF like this.
<%ValueExpression testExpression = ExpressionFactory.newInstance().createValueExpression( " Test" , new String().getClass()); %>
<h:form>
<h:commandLink title="<%=testExpression%>">test</h:commandLink>
</h:form>
its working fine in glassfish but not in other apppserver (like JBOSS,weblogic...).
can you suggest me the one which works on all the appservers.
One option I can think of is, convert this to Manged bean. I have lot of code in my app like the above code. It difficult for me to convert everything to managed bean.
Please suggest me on the same kind of ValueExpression which works with all the appserver.
[Message sent by forum member 'anilv' (anilv)]
http://forums.java.net/jive/thread.jspa?messageID=354632