You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/03/10 03:16:39 UTC
[jira] Resolved: (TAPESTRY-183) array of custom objects as 'in'
parameter fails
[ http://issues.apache.org/jira/browse/TAPESTRY-183?page=all ]
Jesse Kuhnert resolved TAPESTRY-183:
------------------------------------
Resolution: Won't Fix
Assign To: (was: Tapestry Developer List)
> array of custom objects as 'in' parameter fails
> -----------------------------------------------
>
> Key: TAPESTRY-183
> URL: http://issues.apache.org/jira/browse/TAPESTRY-183
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 3.0
> Environment: Operating System: Other
> Platform: Other
> Reporter: Vjeran Marcinko
>
> When I want to pass array of objects as "in" parameter to my component I
> declare in component specification :
> <parameter name="objects" type="java.lang.Object[]" direction="in" />
> and in component class:
> public abstract Object[] getObjects();
> and everything works fine.
> But when I try same thing with custom class User :
> <parameter name="users" type="com.mycompany.User[]" direction="in" />
> public abstract User[] getUsers();
> it raises ClassNotFoundException: com.mycompany.User[]
> org.apache.tapestry.ApplicationRuntimeException: Could not load class
> com.mycompany.User[] from WebappClassLoader
> at
> org.apache.tapestry.util.DefaultResourceResolver.findClass(DefaultResourceRe
> solver.java:107)
> at
> org.apache.tapestry.param.ParameterManager.getType(ParameterManager.java:353
> )
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org