myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1719054 - /myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-popup/popup.xhtml
Date Thu, 10 Dec 2015 10:41:17 GMT
Author: lofwyr
Date: Thu Dec 10 10:41:17 2015
New Revision: 1719054

URL: http://svn.apache.org/viewvc?rev=1719054&view=rev
Log:
demo

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-popup/popup.xhtml

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-popup/popup.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-popup/popup.xhtml?rev=1719054&r1=1719053&r2=1719054&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-popup/popup.xhtml
(original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-popup/popup.xhtml
Thu Dec 10 10:41:17 2015
@@ -59,21 +59,19 @@
                 </tc:menuBar>
               </f:facet>
 
-              <tc:selectOneChoice>
+              <tc:selectOneChoice label="Select some">
                 <f:selectItem itemLabel="A" itemValue="a"/>
                 <f:selectItem itemLabel="B" itemValue="b"/>
               </tc:selectOneChoice>
-              <tc:selectBooleanCheckbox value="#{reference.bool}"/>
+              <tc:selectBooleanCheckbox value="#{reference.bool}" label="Check" />
               <tc:in label="In" value="#{reference.text}" required="true"/>
               <tc:date label="Date">
                 <f:convertDateTime pattern="dd/MM/yyyy"/>
               </tc:date>
               <tc:image value="image/feather-leaf.png" width="16px" height="16px"/>
               <tc:panel/>
-              <tc:panel>
-                <f:facet name="layout">
-                  <tc:gridLayout columns="1*;1*;1*"/>
-                </f:facet>
+              <tc:flowLayout>
+                <tc:style textAlign="right"/>
                 <tc:button label="Cancel">
                   <tc:attribute name="popupClose" value="immediate"/>
                 </tc:button>
@@ -81,7 +79,7 @@
                 <tc:button label="Ok">
                   <tc:attribute name="popupClose" value="afterSubmit"/>
                 </tc:button>
-              </tc:panel>
+              </tc:flowLayout>
 
             </tc:box>
             </tc:segmentLayout>
@@ -89,60 +87,6 @@
         </f:facet>
       </tc:button>
 
-      <tc:button label="Open modeless">
-        <f:facet name="popup">
-          <tc:popup id="non_modal_popup" modal="false">
-            <f:facet name="layout">
-              <tc:gridLayout rows="auto" columns="auto"/>
-            </f:facet>
-            <tc:box label="Non modal text input">
-              <f:facet name="layout">
-                <tc:gridLayout rows="auto;*;auto"/>
-              </f:facet>
-
-              <tc:in label="Field" required="true" placeholder="Search"/>
-              <tc:panel/>
-              <tc:panel>
-                <f:facet name="layout">
-                  <tc:gridLayout columns="*;auto;auto"/>
-                </f:facet>
-                <tc:panel/>
-                <tc:button label="Cancel">
-                  <tc:attribute name="popupClose" value="immediate"/>
-                </tc:button>
-                <tc:button label="Ok">
-                  <tc:attribute name="popupClose" value="afterSubmit"/>
-                </tc:button>
-              </tc:panel>
-
-            </tc:box>
-          </tc:popup>
-        </f:facet>
-      </tc:button>
-
-      <tc:button label="Open here">
-        <f:facet name="popup">
-          <tc:popup width="180" height="110" id="positioned_popup">
-            <f:facet name="layout">
-              <tc:gridLayout columns="*" rows="*"/>
-            </f:facet>
-            <tc:box label="Info">
-              <f:facet name="layout">
-                <tc:gridLayout rows="*;auto"/>
-              </f:facet>
-
-              <tc:textarea value="This popup should opened right beside the button." readonly="true"/>
-              <tc:button label="Ok">
-                <tc:attribute name="popupClose" value="immediate"/>
-              </tc:button>
-
-            </tc:box>
-          </tc:popup>
-        </f:facet>
-      </tc:button>
-
-      <tc:panel/>
-
     </tc:panel>
 
     <tc:panel>
@@ -152,16 +96,6 @@
         <tc:popupReference for="modal_popup"/>
       </tc:button>
 
-      <tc:button label="Open modeless" renderedPartially="non_modal_popup">
-        <tc:popupReference for="non_modal_popup"/>
-      </tc:button>
-
-      <tc:button label="Open here" renderedPartially="positioned_popup">
-        <tc:popupReference for="positioned_popup"/>
-      </tc:button>
-
-      <tc:panel/>
-
     </tc:panel>
 
     <tc:in readonly="true" label="The Boolean" value="#{reference.bool}"/>



Mime
View raw message