Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Release 1.5
-
Fix Version/s: Release 1.5
-
Component/s: Tag Library
-
Labels:None
-
Environment:XP, Tomcat 5.5
Description
a) Assignment to 'var' appears to be missing in UseActionBeanTagExtraInfo.getVariableInfo().
b) When tag called as:
<s:useActionBean beanclass="a.b.c.${beanclass}" var="actionBean"/>
get:
java.lang.ClassCastException: java.lang.Object cannot be cast to java.lang.String
at net.sourceforge.stripes.tag.UseActionBeanTagExtraInfo.getVariableInfo(UseActionBeanTagExtraInfo.java:53)
at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:715)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
Thanks.
Oops, title should have been "Problems with 'beanclass' attribute of UseActionBean tag", but i can't see how to change it now.