[richfaces-issues] [JBoss JIRA] (RF-12218) Using quotes in cdk:call expression generate a broken class
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Thu May 17 18:04:17 EDT 2012
[ https://issues.jboss.org/browse/RF-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693828#comment-12693828 ]
Brian Leathem commented on RF-12218:
------------------------------------
or possibly
{code}
<cdk:call expression='renderFacet("brand", facesContext, component)' />
{code}
> Using quotes in cdk:call expression generate a broken class
> -----------------------------------------------------------
>
> Key: RF-12218
> URL: https://issues.jboss.org/browse/RF-12218
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cdk
> Affects Versions: 4.2.1.Final
> Environment: All
> Reporter: Paul Dijou
> Priority: Critical
> Labels: cdk, richfaces, waiting_on_user
>
> If I need to pass a String to a {{<cdk:call expression="..."}}, I'm forced to indicate that's it's a String and not a var. Since I can't use double-quote, the only solution I see is doing the same as in EL : single quote. But it looks like the CDK only copy/paste the expression in the Java code. Problem is single quote in Java class are not what I wanted (and crash the class).
> For example :
> {code:xml}
> <cdk:call expression="renderFacet('brand', facesContext, component)" />
> {code}
> will generate
> {code:java}
> renderFacet('brand', facesContext, component);
> {code}
> but it should generate
> {code:java}
> renderFacet("brand", facesContext, component);
> {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