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/05/01 01:52:47 UTC
svn commit: r939880 - in /myfaces/tomahawk/trunk/core20: pom.xml
src/main/resources/META-INF/componentClass20.vm
Author: lu4242
Date: Fri Apr 30 23:52:47 2010
New Revision: 939880
URL: http://svn.apache.org/viewvc?rev=939880&view=rev
Log:
update stateHolder to partialStateHolder
Modified:
myfaces/tomahawk/trunk/core20/pom.xml
myfaces/tomahawk/trunk/core20/src/main/resources/META-INF/componentClass20.vm
Modified: myfaces/tomahawk/trunk/core20/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/pom.xml?rev=939880&r1=939879&r2=939880&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/pom.xml (original)
+++ myfaces/tomahawk/trunk/core20/pom.xml Fri Apr 30 23:52:47 2010
@@ -173,7 +173,7 @@
<dependency>
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-annotations</artifactId>
- <version>1.0.4</version>
+ <version>1.0.5-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
@@ -352,7 +352,7 @@
<plugin>
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-plugin</artifactId>
- <version>1.0.5</version>
+ <version>1.0.6-SNAPSHOT</version>
<executions>
<execution>
<id>unpack-tomahawk</id>
@@ -730,7 +730,7 @@
<!-- Generate content for custom tagdoc report -->
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-plugin</artifactId>
- <version>1.0.5</version>
+ <version>1.0.6-SNAPSHOT</version>
<configuration>
<taglibs>
<t>http://myfaces.apache.org/tomahawk</t>
@@ -758,7 +758,7 @@
<!-- which goal is run here? -->
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-plugin</artifactId>
- <version>1.0.5</version>
+ <version>1.0.6-SNAPSHOT</version>
<configuration>
<taglibs>
<t>http://myfaces.apache.org/tomahawk</t>
Modified: myfaces/tomahawk/trunk/core20/src/main/resources/META-INF/componentClass20.vm
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/src/main/resources/META-INF/componentClass20.vm?rev=939880&r1=939879&r2=939880&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/src/main/resources/META-INF/componentClass20.vm (original)
+++ myfaces/tomahawk/trunk/core20/src/main/resources/META-INF/componentClass20.vm Fri Apr 30 23:52:47 2010
@@ -147,7 +147,7 @@ $innersource
#set ($defaultValue = false)
#end
// Property: $property.name
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
#if ($property.isLiteralOnly() || $property.isTagExcluded() )
private $type $field #if($defaultValue) = $defaultValue;#{else};#{end}
@@ -328,7 +328,7 @@ $innersource
#if ($property.name == "for")
$comma $field("for")
#else
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
$comma ${field}Set
#else
$comma $field
@@ -359,7 +359,7 @@ $innersource
#set ($primitiveCount = 1) ## $propertyList.size() + 1
#foreach( $property in $propertyList )
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
#set ($primitiveCount = $primitiveCount + 1)
#if($utils.isPrimitiveClass($property.className))
#set ($primitiveCount = $primitiveCount + 1)
@@ -375,7 +375,7 @@ $innersource
super.markInitialState();
#foreach( $property in $propertyList )
#set ($field = $property.fieldName)
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
if ($field != null &&
$field instanceof PartialStateHolder)
{
@@ -392,7 +392,7 @@ $innersource
super.clearInitialState();
#foreach( $property in $propertyList )
#set ($field = $property.fieldName)
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
## //Only has sense propagate this method if is initialStateMarked
if ($field != null &&
$field instanceof PartialStateHolder)
@@ -415,7 +415,7 @@ $innersource
#foreach( $property in $propertyList )
#set ($field = $property.fieldName)
#set ($type = $property.className)
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
#set ($arrayIndex = $arrayIndex + 1)
Object ${property.name}Saved = null;
if (!_$utils.getPrefixedPropertyName("isSet", $property.name)() &&
@@ -456,7 +456,7 @@ $innersource
#foreach( $property in $propertyList )
#set ($field = $property.fieldName)
#set ($type = $property.className)
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
#set ($arrayIndex = $arrayIndex + 1)
values[$arrayIndex] = ${property.name}Saved;
## StateHelper Properties does not need save and restore
@@ -473,7 +473,7 @@ $innersource
#foreach( $property in $propertyList )
#set ($field = $property.fieldName)
#set ($type = $property.className)
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
#set ($arrayIndex = $arrayIndex + 1)
values[$arrayIndex] = saveAttachedState(facesContext,$field);
## StateHelper Properties does not need save and restore
@@ -497,7 +497,7 @@ $innersource
#foreach( $property in $propertyList )
#set ($field = $property.fieldName)
#set ($type = $property.className)
-#if ($property.isStateHolder())
+#if ($property.isPartialStateHolder())
#set ($arrayIndex = $arrayIndex + 1)
if (values[$arrayIndex] instanceof AttachedDeltaWrapper)
{