On Jboss 3.0.0 with Jetty, I am trying to use the value of a scripting variable into a parameter of a tag like so:
<tagLibName:tagname myparam='<%= someExpression %>'/>
However, what is being passed to my tag in its setter method is the string <%= resultOfSomeExpression => and not the result of the expression.
Also, is there any way to use a JSP tag as the value of a parameter in another JSP tag or will I have to create a scripting variable to store the result, and then pass the value of the scripting variable into the parameter?
in your Tag Library Desriptor -file(*.tld) attribute section you should set the rtexprvalue -tag value to true, like this:
Hope this helps.