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 2014/02/04 03:26:20 UTC

svn commit: r1564160 - /myfaces/site/cms-site/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.mdtext

Author: lu4242
Date: Tue Feb  4 02:26:20 2014
New Revision: 1564160

URL: http://svn.apache.org/r1564160
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.mdtext

Modified: myfaces/site/cms-site/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.mdtext
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.mdtext?rev=1564160&r1=1564159&r2=1564160&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.mdtext (original)
+++ myfaces/site/cms-site/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.mdtext Tue Feb  4 02:26:20 2014
@@ -16,12 +16,11 @@ postback requests).</p>
 
     :::xml
     <h:form id="form1">
-        <h:messages showDetail="false" showSummary="true" ></h:messages>
-        <h:panelGrid columns="3">
+      <h:messages showDetail="false" showSummary="true" ></h:messages>
+      <h:panelGrid columns="3">
 
         <h:outputLabel for="type" value="Insert a type" />
-        <h:selectOneMenu id="type" immediate="true"
-    value="#{numberBean.type}" >
+        <h:selectOneMenu id="type" immediate="true" value="#{numberBean.type}" >
             <f:selectItem itemLabel="number" itemValue="number"/>
             <f:selectItem itemLabel="currency" itemValue="currency"/>
             <f:selectItem itemLabel="percent" itemValue="percent"/>
@@ -29,19 +28,15 @@ postback requests).</p>
         <h:message for="type" styleClass="error" />
 
         <h:outputLabel for="number1" value="Insert a number" />
-            <h:inputText id="number1" value="#{numberBean.numberMap['number1']('number1'.html)
-    }" required="true">
-            <mcc:convertNumber destType="java.lang.Double"
-    type="#{mc:findComponent('form1:type').value}"/>
+            <h:inputText id="number1" value="#{numberBean.numberMap['number1']('number1'.html)}" required="true">
+            <mcc:convertNumber destType="java.lang.Double" type="#{mc:findComponent('form1:type').value}"/>
         </h:inputText>
         <h:message for="number1" styleClass="error" />
 
-        <h:commandButton id="validateButton"
-             value="#{example_messages['button_submit']('button_submit'.html)
-    }"
-         action="#{numberBean.submit}" />
-
-        </h:panelGrid>
+        <h:commandButton id="validateButton" 
+                         value="#{example_messages['button_submit']('button_submit'.html)}"
+                         action="#{numberBean.submit}" />
+      </h:panelGrid>
     </h:form>
 
 <p>It is a <code>&lt;h:selectOneMenu&gt;</code> that allows you to choose a