You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ar...@apache.org on 2007/10/17 18:41:05 UTC
svn commit: r585566 -
/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/generator/component/MyFacesComponentGenerator.java
Author: arobinson74
Date: Wed Oct 17 09:41:05 2007
New Revision: 585566
URL: http://svn.apache.org/viewvc?rev=585566&view=rev
Log:
Fix for MyFaces-1745
Applied the patch from Bernhard Huemer
Modified:
myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/generator/component/MyFacesComponentGenerator.java
Modified: myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/generator/component/MyFacesComponentGenerator.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/generator/component/MyFacesComponentGenerator.java?rev=585566&r1=585565&r2=585566&view=diff
==============================================================================
--- myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/generator/component/MyFacesComponentGenerator.java (original)
+++ myfaces/trinidad-maven/trunk/maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/generator/component/MyFacesComponentGenerator.java Wed Oct 17 09:41:05 2007
@@ -240,7 +240,6 @@
PropertyBean property) throws IOException
{
String varName = property.getFieldPropertyName();
- String propVar = Util.getVariableFromName(property.getPropertyName());
String propFullClass = property.getPropertyClass();
String propClass = Util.getClassFromFullClass(propFullClass);
if (property.isTagAttributeExcluded())
@@ -262,7 +261,7 @@
out.println("return " + property.getFieldPropertyName() + ";");
out.unindent();
out.println("}");
- out.println("ValueExpression expression = getValueExpression(\"" + propVar + "\");");
+ out.println("ValueExpression expression = getValueExpression(\"" + property.getPropertyName() + "\");");
out.println("if (expression != null)");
out.println("{");
out.indent();