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

svn commit: r479745 - in /myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components: includes/ui/_MessageProperties.xml javax/faces/UIMessage.xml javax/faces/UIMessages.xml

Author: baranda
Date: Mon Nov 27 12:05:16 2006
New Revision: 479745

URL: http://svn.apache.org/viewvc?view=rev&rev=479745
Log:
Fixed default values for UIMessage and UIMessages, that where reusing the same file while the values for those components are not the same (actually they are opposite)

Removed:
    myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_MessageProperties.xml
Modified:
    myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessage.xml
    myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessages.xml

Modified: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessage.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessage.xml?view=diff&rev=479745&r1=479744&r2=479745
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessage.xml (original)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessage.xml Mon Nov 27 12:05:16 2006
@@ -39,7 +39,21 @@
             </property-extension>
         </property>
 
-        <xi:include href="../../includes/ui/_MessageProperties.xml" xpointer="/faces-config/component/*"/>
+        <!--showDetail-->
+        <property>
+            <description>Indicates that details are shown.</description>
+            <property-name>showDetail</property-name>
+            <property-class>boolean</property-class>
+            <default-value>true</default-value>
+        </property>
+
+        <!--showSummary-->
+        <property>
+            <description>Indicates that the summary should be included into the Message.</description>
+            <property-name>showSummary</property-name>
+            <property-class>boolean</property-class>
+            <default-value>false</default-value>
+        </property>
 
         <component-extension>
             <mfp:component-family>javax.faces.Message</mfp:component-family>

Modified: myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessages.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessages.xml?view=diff&rev=479745&r1=479744&r2=479745
==============================================================================
--- myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessages.xml (original)
+++ myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessages.xml Mon Nov 27 12:05:16 2006
@@ -37,8 +37,21 @@
             <default-value>false</default-value>
         </property>
 
-        <xi:include href="../../includes/ui/_MessageProperties.xml" xpointer="/faces-config/component/*"/>
+        <!--showDetail-->
+        <property>
+            <description>Indicates that details are shown.</description>
+            <property-name>showDetail</property-name>
+            <property-class>boolean</property-class>
+            <default-value>false</default-value>
+        </property>
 
+        <!--showSummary-->
+        <property>
+            <description>Indicates that the summary should be included into the Message.</description>
+            <property-name>showSummary</property-name>
+            <property-class>boolean</property-class>
+            <default-value>true</default-value>
+        </property>
         <component-extension>
             <mfp:component-family>javax.faces.Messages</mfp:component-family>
             <mfp:component-supertype>javax.faces.ComponentBase</mfp:component-supertype>