myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r896320 - in /websites/staging/myfaces/trunk/content: ./ wiki/commons/user-guide/myfaces-commons-converters.html
Date Tue, 04 Feb 2014 02:26:24 GMT
Author: buildbot
Date: Tue Feb  4 02:26:23 2014
New Revision: 896320

Log:
Staging update by buildbot for myfaces

Modified:
    websites/staging/myfaces/trunk/content/   (props changed)
    websites/staging/myfaces/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.html

Propchange: websites/staging/myfaces/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Feb  4 02:26:23 2014
@@ -1 +1 @@
-1564159
+1564160

Modified: websites/staging/myfaces/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.html
==============================================================================
--- websites/staging/myfaces/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.html
(original)
+++ websites/staging/myfaces/trunk/content/wiki/commons/user-guide/myfaces-commons-converters.html
Tue Feb  4 02:26:23 2014
@@ -102,12 +102,11 @@ postback requests).</p>
 <p>To understand this, take a look at this example:</p>
 
 <div class="codehilite"><pre><span class="nt">&lt;h:form</span>
<span class="na">id=</span><span class="s">&quot;form1&quot;</span><span
class="nt">&gt;</span>
-    <span class="nt">&lt;h:messages</span> <span class="na">showDetail=</span><span
class="s">&quot;false&quot;</span> <span class="na">showSummary=</span><span
class="s">&quot;true&quot;</span> <span class="nt">&gt;&lt;/h:messages&gt;</span>
-    <span class="nt">&lt;h:panelGrid</span> <span class="na">columns=</span><span
class="s">&quot;3&quot;</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;h:messages</span> <span class="na">showDetail=</span><span
class="s">&quot;false&quot;</span> <span class="na">showSummary=</span><span
class="s">&quot;true&quot;</span> <span class="nt">&gt;&lt;/h:messages&gt;</span>
+  <span class="nt">&lt;h:panelGrid</span> <span class="na">columns=</span><span
class="s">&quot;3&quot;</span><span class="nt">&gt;</span>
 
     <span class="nt">&lt;h:outputLabel</span> <span class="na">for=</span><span
class="s">&quot;type&quot;</span> <span class="na">value=</span><span
class="s">&quot;Insert a type&quot;</span> <span class="nt">/&gt;</span>
-    <span class="nt">&lt;h:selectOneMenu</span> <span class="na">id=</span><span
class="s">&quot;type&quot;</span> <span class="na">immediate=</span><span
class="s">&quot;true&quot;</span>
-<span class="na">value=</span><span class="s">&quot;#{numberBean.type}&quot;</span>
<span class="nt">&gt;</span>
+    <span class="nt">&lt;h:selectOneMenu</span> <span class="na">id=</span><span
class="s">&quot;type&quot;</span> <span class="na">immediate=</span><span
class="s">&quot;true&quot;</span> <span class="na">value=</span><span
class="s">&quot;#{numberBean.type}&quot;</span> <span class="nt">&gt;</span>
         <span class="nt">&lt;f:selectItem</span> <span class="na">itemLabel=</span><span
class="s">&quot;number&quot;</span> <span class="na">itemValue=</span><span
class="s">&quot;number&quot;</span><span class="nt">/&gt;</span>
         <span class="nt">&lt;f:selectItem</span> <span class="na">itemLabel=</span><span
class="s">&quot;currency&quot;</span> <span class="na">itemValue=</span><span
class="s">&quot;currency&quot;</span><span class="nt">/&gt;</span>
         <span class="nt">&lt;f:selectItem</span> <span class="na">itemLabel=</span><span
class="s">&quot;percent&quot;</span> <span class="na">itemValue=</span><span
class="s">&quot;percent&quot;</span><span class="nt">/&gt;</span>
@@ -115,19 +114,15 @@ postback requests).</p>
     <span class="nt">&lt;h:message</span> <span class="na">for=</span><span
class="s">&quot;type&quot;</span> <span class="na">styleClass=</span><span
class="s">&quot;error&quot;</span> <span class="nt">/&gt;</span>
 
     <span class="nt">&lt;h:outputLabel</span> <span class="na">for=</span><span
class="s">&quot;number1&quot;</span> <span class="na">value=</span><span
class="s">&quot;Insert a number&quot;</span> <span class="nt">/&gt;</span>
-        <span class="nt">&lt;h:inputText</span> <span class="na">id=</span><span
class="s">&quot;number1&quot;</span> <span class="na">value=</span><span
class="s">&quot;#{numberBean.numberMap[&#39;number1&#39;](&#39;number1&#39;.html)</span>
-<span class="s">}&quot;</span> <span class="na">required=</span><span
class="s">&quot;true&quot;</span><span class="nt">&gt;</span>
-        <span class="nt">&lt;mcc:convertNumber</span> <span class="na">destType=</span><span
class="s">&quot;java.lang.Double&quot;</span>
-<span class="na">type=</span><span class="s">&quot;#{mc:findComponent(&#39;form1:type&#39;).value}&quot;</span><span
class="nt">/&gt;</span>
+        <span class="nt">&lt;h:inputText</span> <span class="na">id=</span><span
class="s">&quot;number1&quot;</span> <span class="na">value=</span><span
class="s">&quot;#{numberBean.numberMap[&#39;number1&#39;](&#39;number1&#39;.html)}&quot;</span>
<span class="na">required=</span><span class="s">&quot;true&quot;</span><span
class="nt">&gt;</span>
+        <span class="nt">&lt;mcc:convertNumber</span> <span class="na">destType=</span><span
class="s">&quot;java.lang.Double&quot;</span> <span class="na">type=</span><span
class="s">&quot;#{mc:findComponent(&#39;form1:type&#39;).value}&quot;</span><span
class="nt">/&gt;</span>
     <span class="nt">&lt;/h:inputText&gt;</span>
     <span class="nt">&lt;h:message</span> <span class="na">for=</span><span
class="s">&quot;number1&quot;</span> <span class="na">styleClass=</span><span
class="s">&quot;error&quot;</span> <span class="nt">/&gt;</span>
 
-    <span class="nt">&lt;h:commandButton</span> <span class="na">id=</span><span
class="s">&quot;validateButton&quot;</span>
-         <span class="na">value=</span><span class="s">&quot;#{example_messages[&#39;button_submit&#39;](&#39;button_submit&#39;.html)</span>
-<span class="s">}&quot;</span>
-     <span class="na">action=</span><span class="s">&quot;#{numberBean.submit}&quot;</span>
<span class="nt">/&gt;</span>
-
-    <span class="nt">&lt;/h:panelGrid&gt;</span>
+    <span class="nt">&lt;h:commandButton</span> <span class="na">id=</span><span
class="s">&quot;validateButton&quot;</span> 
+                     <span class="na">value=</span><span class="s">&quot;#{example_messages[&#39;button_submit&#39;](&#39;button_submit&#39;.html)}&quot;</span>
+                     <span class="na">action=</span><span class="s">&quot;#{numberBean.submit}&quot;</span>
<span class="nt">/&gt;</span>
+  <span class="nt">&lt;/h:panelGrid&gt;</span>
 <span class="nt">&lt;/h:form&gt;</span>
 </pre></div>
 



Mime
View raw message