[
http://www.stripesframework.org/jira/browse/STS-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frederic Daoud resolved STS-514.
--------------------------------
Resolution: Fixed
Fix Version/s: Release 1.5
Fixed in build 936. Managed to keep both the ExtraInfo class and make
s:useActionBean work with a runtime beanclass.
> Problems with 'beanclass' attribute of UseActionBean tag
> --------------------------------------------------------
>
> Key: STS-514
> URL: http://www.stripesframework.org/jira/browse/STS-514
> Project: Stripes
> Issue Type: Bug
> Components: Tag Library
> Affects Versions: Release 1.5
> Environment: XP, Tomcat 5.5
> Reporter: Phil Sladen
> Assignee: Frederic Daoud
> Fix For: Release 1.5
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development