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 2010/10/05 00:21:46 UTC

svn commit: r1004459 - /myfaces/commons/trunk/myfaces-commons-converters/src/main/resources/META-INF/tagConverterClass12.vm

Author: lu4242
Date: Mon Oct  4 22:21:45 2010
New Revision: 1004459

URL: http://svn.apache.org/viewvc?rev=1004459&view=rev
Log:
add generated message to sync with myfaces core template

Modified:
    myfaces/commons/trunk/myfaces-commons-converters/src/main/resources/META-INF/tagConverterClass12.vm

Modified: myfaces/commons/trunk/myfaces-commons-converters/src/main/resources/META-INF/tagConverterClass12.vm
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-converters/src/main/resources/META-INF/tagConverterClass12.vm?rev=1004459&r1=1004458&r2=1004459&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-converters/src/main/resources/META-INF/tagConverterClass12.vm (original)
+++ myfaces/commons/trunk/myfaces-commons-converters/src/main/resources/META-INF/tagConverterClass12.vm Mon Oct  4 22:21:45 2010
@@ -29,6 +29,10 @@ import javax.servlet.jsp.JspException;
 import javax.servlet.jsp.PageContext;
 $utils.importTagClasses($converter)
 
+// Generated from class ${converter.sourceClassName}.
+//
+// WARNING: This file was automatically generated. Do not edit it directly,
+//          or you will lose your changes.
 public class $utils.getClassFromFullClass($converter.tagClass)
 #if (${converter.tagSuperclass})
     extends ${converter.tagSuperclass}
@@ -118,7 +122,7 @@ public class $utils.getClassFromFullClas
 #elseif ($utils.isPrimitiveClass($className))
                 converter.${utils.getPrefixedPropertyName("set",$property.name)}( (${utils.getBoxedClass($className)}) ${field}.getValue(elContext) );
 #elseif ($utils.getClassFromFullClass($property.className) == "Locale")
-                Object ${field}Value = ${field}.getValue(elContext);                
+                Object ${field}Value = ${field}.getValue(elContext);
                 if (${field}Value == null)
                 {
                     ${field}Value = FacesContext.getCurrentInstance().getViewRoot().getLocale();