incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r412590 - in /incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main: conf/META-INF/ java/org/apache/myfaces/adfinternal/facelets/
Date Wed, 07 Jun 2006 22:24:33 GMT
Author: matzew
Date: Wed Jun  7 15:24:32 2006
New Revision: 412590

URL: http://svn.apache.org/viewvc?rev=412590&view=rev
Log:
some formating

Modified:
    incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/conf/META-INF/af-base.taglib.xml
    incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ResetActionListenerTag.java
    incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ReturnActionListenerTag.java

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/conf/META-INF/af-base.taglib.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/conf/META-INF/af-base.taglib.xml?rev=412590&r1=412589&r2=412590&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/conf/META-INF/af-base.taglib.xml
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/conf/META-INF/af-base.taglib.xml
Wed Jun  7 15:24:32 2006
@@ -32,4 +32,4 @@
     <tag-name>returnActionListener</tag-name>
     <handler-class>org.apache.myfaces.adfinternal.facelets.ReturnActionListenerTag</handler-class>
   </tag>
-</facelet-taglib>
+</facelet-taglib>
\ No newline at end of file

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ResetActionListenerTag.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ResetActionListenerTag.java?rev=412590&r1=412589&r2=412590&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ResetActionListenerTag.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ResetActionListenerTag.java
Wed Jun  7 15:24:32 2006
@@ -34,21 +34,21 @@
  * @author Matthias Wessendorf
  *
  */
-public class ResetActionListenerTag extends TagHandler {
+public class ResetActionListenerTag extends TagHandler
+{
 
-	public ResetActionListenerTag(TagConfig tagConfig) {
-		super(tagConfig);
-	}
+  public ResetActionListenerTag(TagConfig tagConfig) {
+    super(tagConfig);
+  }
 
-	public void apply(FaceletContext faceletContext, UIComponent parent)
-			throws IOException, FacesException, FaceletException, ELException {
-
-		if(ComponentSupport.isNew(parent))
-		{
-			ActionSource actionSource = (ActionSource)parent;
-			ResetActionListener listener = new ResetActionListener();
-
-			actionSource.addActionListener(listener);
-		}
-	}
+  public void apply(FaceletContext faceletContext,
+		  UIComponent parent) throws IOException, FacesException, FaceletException, ELException
+  {
+    if(ComponentSupport.isNew(parent))
+    {
+      ActionSource actionSource = (ActionSource)parent;
+      ResetActionListener listener = new ResetActionListener();
+      actionSource.addActionListener(listener);
+    }
+  }
 }

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ReturnActionListenerTag.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ReturnActionListenerTag.java?rev=412590&r1=412589&r2=412590&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ReturnActionListenerTag.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/main/java/org/apache/myfaces/adfinternal/facelets/ReturnActionListenerTag.java
Wed Jun  7 15:24:32 2006
@@ -37,28 +37,27 @@
  * @author Matthias Wessendorf
  *
  */
-public class ReturnActionListenerTag extends TagHandler {
+public class ReturnActionListenerTag extends TagHandler
+{
 
-	public ReturnActionListenerTag(TagConfig tagConfig) {
-		super(tagConfig);
-		_value = getAttribute("value");
-	}
+  public ReturnActionListenerTag(TagConfig tagConfig) {
+    super(tagConfig);
+    _value = getAttribute("value");
+  }
 
-	public void apply(FaceletContext faceletContext, UIComponent parent)
-			throws IOException, FacesException, FaceletException, ELException {
+  public void apply(FaceletContext faceletContext,
+          UIComponent parent) throws IOException, FacesException, FaceletException, ELException
+  {
+    if(ComponentSupport.isNew(parent))
+    {
+      ValueExpression valueExp = _value.getValueExpression(faceletContext, Object.class);
+      ActionSource actionSource = (ActionSource)parent;
+      ReturnActionListener listener = new ReturnActionListener();
+      listener.setValueBinding(listener.VALUE_KEY, new LegacyValueBinding(valueExp));
+      actionSource.addActionListener(listener);
+    }
+  }
 
-		if(ComponentSupport.isNew(parent))
-		{
-			ValueExpression valueExp = _value.getValueExpression(faceletContext, Object.class);
-			ActionSource actionSource = (ActionSource)parent;
-			ReturnActionListener listener = new ReturnActionListener();
-			listener.setValueBinding(listener.VALUE_KEY, 
-					new LegacyValueBinding(valueExp));
-				
-			actionSource.addActionListener(listener);
-		}
-	}
-	
-	private final TagAttribute _value;
+  private final TagAttribute _value;
 
 }



Mime
View raw message