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 2008/09/02 18:16:31 UTC

svn commit: r691297 - in /myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component: _UIMessage.java _UIMessages.java

Author: lu4242
Date: Tue Sep  2 09:16:31 2008
New Revision: 691297

URL: http://svn.apache.org/viewvc?rev=691297&view=rev
Log:
MYFACES-1954 <h:messages> changed defaults for showSummary and showDetail

Modified:
    myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessage.java
    myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java

Modified: myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessage.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessage.java?rev=691297&r1=691296&r2=691297&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessage.java (original)
+++ myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessage.java Tue Sep  2 09:16:31 2008
@@ -53,7 +53,7 @@
 
   /**
    * Specifies whether the detailed information from the message should be shown. 
-   * Default to false.
+   * Default to true.
    *
    * @return  the new showDetail value
    */
@@ -63,7 +63,7 @@
 
   /**
    * Specifies whether the summary information from the message should be shown.
-   * Defaults to true.
+   * Defaults to false.
    *
    * @return  the new showSummary value
    */

Modified: myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java?rev=691297&r1=691296&r2=691297&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java (original)
+++ myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/_UIMessages.java Tue Sep  2 09:16:31 2008
@@ -56,7 +56,7 @@
    * @return  the new showDetail value
    */
   @JSFProperty
-  (defaultValue = "true")
+  (defaultValue = "false")
   public abstract boolean isShowDetail();
 
   /**
@@ -66,7 +66,7 @@
    * @return  the new showSummary value
    */
   @JSFProperty
-  (defaultValue = "false")
+  (defaultValue = "true")
   public abstract boolean isShowSummary();
   
 }