[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
Tue Sep 4 22:20:33 EDT 2012


     [ https://issues.jboss.org/browse/RF-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12218:
-------------------------------

    Fix Version/s: 4.Future

    
> 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
>             Fix For: 4.Future
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list