You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2006/02/17 16:21:49 UTC

svn commit: r378541 - in /myfaces/tomahawk/trunk/sandbox: core/src/main/resources-facesconfig/META-INF/faces-config.xml core/src/main/tld/myfaces_sandbox.tld examples/pom.xml examples/src/main/webapp/WEB-INF/examples-config.xml

Author: matzew
Date: Fri Feb 17 07:21:45 2006
New Revision: 378541

URL: http://svn.apache.org/viewcvs?rev=378541&view=rev
Log:
MYFACES-864 and example added.

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
    myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld
    myfaces/tomahawk/trunk/sandbox/examples/pom.xml
    myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml?rev=378541&r1=378540&r2=378541&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml Fri Feb 17 07:21:45 2006
@@ -317,7 +317,8 @@
   <lifecycle>
       <phase-listener>org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener</phase-listener>
       <phase-listener>org.apache.myfaces.custom.ajax.api.AjaxPhaseListener</phase-listener>
-  	  <phase-listener>org.apache.myfaces.custom.scope.AfterScopePhaseListener</phase-listener>
+  	  <phase-listener>org.apache.myfaces.custom.valueChangeNotifier.ValueChangePhaseListener</phase-listener>
+  	  <phase-listener>org.apache.myfaces.custom.scope.AfterScopePhaseListener</phase-listener>
   </lifecycle>
   
   <!--custom validators -->

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld?rev=378541&r1=378540&r2=378541&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/tld/myfaces_sandbox.tld Fri Feb 17 07:21:45 2006
@@ -117,6 +117,7 @@
 <!ENTITY html_planner_attributes       SYSTEM "entities/html_planner_attributes.xml">
 <!ENTITY html_focus_attributes       SYSTEM "entities/html_focus_attributes.xml">
 <!ENTITY validator_compare_to_attributes       SYSTEM "entities/validator_compare_to_attributes.xml">
+<!ENTITY value_change_notifier_attributes       SYSTEM "entities/value_change_notifier_attributes.xml">
 <!ENTITY html_script_attributes       SYSTEM "entities/html_script_attributes.xml">
 <!ENTITY ui_state_changed_notifier_attributes       SYSTEM "entities/ui_state_changed_notifier_attributes.xml">
 ]>
@@ -154,6 +155,15 @@
 		&ui_component_attributes;
 		&ui_schedule_attributes;
 		&html_planner_attributes;
+	</tag>
+
+	<!-- valueChangeNotifier -->
+	<tag>
+        <name>valueChangeNotifier</name>
+		<tag-class>org.apache.myfaces.custom.valueChangeNotifier.ValueChangeNotifierTag</tag-class>
+		<body-content>JSP</body-content>
+		<description>&lt;p&gt; Add a value change listener which will be fired AFTER UPDATE_MODEL. Only "method" valueChange listeners are supported currently.&lt;/p&gt;</description>
+		&value_change_notifier_attributes;
 	</tag>
 
 

Modified: myfaces/tomahawk/trunk/sandbox/examples/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/pom.xml?rev=378541&r1=378540&r2=378541&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/pom.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/pom.xml Fri Feb 17 07:21:45 2006
@@ -60,5 +60,11 @@
            other JSF implementations. -->
       <scope>runtime</scope>
     </dependency>
+        <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.0.4</version>
+      <scope>compile</scope>
+    </dependency>
   </dependencies>
 </project>

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml?rev=378541&r1=378540&r2=378541&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml Fri Feb 17 07:21:45 2006
@@ -8,6 +8,19 @@
 
 <faces-config>
 
+    <!--  logger/debugging phase listener -->
+    <lifecycle>
+       <phase-listener>org.apache.myfaces.examples.debug.DebugPhaseListener</phase-listener>
+    </lifecycle>
+
+    <!-- managed bean for notifierBean-->
+
+    <managed-bean>
+        <managed-bean-name>notifierBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.examples.valueChangeNotifier.NotifierBean</managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
     <!-- managed bean for singleRowSelectList-->
 
     <managed-bean>