You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by aw...@apache.org on 2007/02/22 23:50:11 UTC

svn commit: r510718 - /incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Command.xml

Author: awiner
Date: Thu Feb 22 15:50:10 2007
New Revision: 510718

URL: http://svn.apache.org/viewvc?view=rev&rev=510718
Log:
Improve doc for "immediate" attribute

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Command.xml

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Command.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Command.xml?view=diff&rev=510718&r1=510717&r2=510718
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Command.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Command.xml Thu Feb 22 15:50:10 2007
@@ -1,23 +1,23 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
 <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
               xmlns:tr="http://myfaces.apache.org/trinidad"
               xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -95,16 +95,20 @@
       </property-extension>
     </property>
     <property>
-      <description><![CDATA[whether or not data validation - client-side or
+      <description><![CDATA[whether data validation - client-side or
             server-side -
-          should take place when
+          will be skipped when
           events are generated by this component.
 
-          When immediate is true, the default ActionListener
-          provided by the JavaServer Faces implementation
-          should be executed during Apply Request Values phase
+          When immediate is true, the command's action and
+          ActionListeners, including the default ActionListener
+          provided by the JavaServer Faces implementation,
+          will be executed during Apply Request Values phase
           of the request processing lifecycle, rather than
-          waiting until the Invoke Application phase.]]>
+          waiting until the Invoke Application phase.  Because
+          validation runs during Process Validators (after
+          Apply Request Values, but before Invoke Application),
+          setting immediate to true will skip validation.]]>
       </description>
       <property-name>immediate</property-name>
       <property-class>boolean</property-class>