]
Brian Leathem commented on RF-12218:
------------------------------------
it does, see:
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: