You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/11/29 01:37:27 UTC

svn commit: r721600 - /myfaces/commons/trunk/myfaces-commons-components/src/main/resources/META-INF/tomahawk12.vm

Author: lu4242
Date: Fri Nov 28 16:37:27 2008
New Revision: 721600

URL: http://svn.apache.org/viewvc?rev=721600&view=rev
Log:
MFCOMMONS-1 id attribute for html components on JSF 1.2 could be set via an rtexprvalue (but not by a ValueExpression)

Modified:
    myfaces/commons/trunk/myfaces-commons-components/src/main/resources/META-INF/tomahawk12.vm

Modified: myfaces/commons/trunk/myfaces-commons-components/src/main/resources/META-INF/tomahawk12.vm
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-components/src/main/resources/META-INF/tomahawk12.vm?rev=721600&r1=721599&r2=721600&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-components/src/main/resources/META-INF/tomahawk12.vm (original)
+++ myfaces/commons/trunk/myfaces-commons-components/src/main/resources/META-INF/tomahawk12.vm Fri Nov 28 16:37:27 2008
@@ -70,6 +70,7 @@
 #elseif ($property.isLiteralOnly())
          <rtexprvalue>false</rtexprvalue>
 #else
+#if ( "$!property.isRtexprvalue()" == "")
 #set ($type = $utils.getClassFromFullClass($property.className))
 #if ($type == "String")
          <deferred-value></deferred-value>
@@ -78,6 +79,9 @@
              <type>$property.className</type>
          </deferred-value>
 #end
+#else
+         <rtexprvalue>$property.isRtexprvalue().booleanValue()</rtexprvalue>
+#end
 #end
 #if ($property.longDescription)
          <description><![CDATA[$property.longDescription]]></description>