[richfaces-issues] [JBoss JIRA] (RF-11668) CDK should support arbitrary objects with the <cdk:object> tag
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Mon May 14 13:01:18 EDT 2012
[ https://issues.jboss.org/browse/RF-11668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12692747#comment-12692747 ]
Brian Leathem commented on RF-11668:
------------------------------------
The object generated with the _<cdk:object>_ tag should be explicitly cast to class defined by the type attribute of the _<cdk:object>_ tag.
For example, the trivial CDK template fragment:
{code}
<cdk:object name="myVar" type="package.MyClass" value="#{component}" />
{code}
would map into the java code:
{code}
package.MyClass myVar = (package.MyClass) component;
{code}
Right now, the cast is ommitted, and the above EL expression fails.
> CDK should support arbitrary objects with the <cdk:object> tag
> --------------------------------------------------------------
>
> Key: RF-11668
> URL: https://issues.jboss.org/browse/RF-11668
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cdk
> Reporter: Brian Leathem
> Fix For: 4.3.0.Milestone1
>
>
> The _<cdk:object>_ tag should accept arbitrary classes in the _type_ parameter, and perform the cast in the generated code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list