You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2016/05/11 12:30:02 UTC

svn commit: r1743347 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/02/severity.xhtml

Author: lofwyr
Date: Wed May 11 12:30:02 2016
New Revision: 1743347

URL: http://svn.apache.org/viewvc?rev=1743347&view=rev
Log:
TOBAGO-1544: Revise Demo Application for Tobago 3.0
* show styling of different severities

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/02/severity.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/02/severity.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/02/severity.xhtml?rev=1743347&r1=1743346&r2=1743347&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/02/severity.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/02/severity.xhtml Wed May 11 12:30:02 2016
@@ -22,14 +22,12 @@
                 xmlns:ui="http://java.sun.com/jsf/facelets">
   <ui:param name="title" value="todo"/>
 
+  The validator of each field creates a FacesMessage with the given severity.
+
   <tc:in label="Fatal" value="something" validator="#{severityController.addFatal}"/>
-  <tc:out value="(Validator creates an fatal error)"/>
   <tc:in label="Error" value="something" validator="#{severityController.addError}"/>
-  <tc:out value="(Validator creates an error)"/>
   <tc:in label="Warn" value="something" validator="#{severityController.addWarn}"/>
-  <tc:out value="(Validator creates a warning)"/>
   <tc:in label="Info" value="something" validator="#{severityController.addInfo}"/>
-  <tc:out value="(Validator creates an info)"/>
 
-      <tc:button label="Submit"/>
+  <tc:button label="Submit" defaultCommand="true"/>
 </ui:composition>