You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/01/04 19:30:31 UTC

svn commit: r492675 - /myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/popup.jsp

Author: bommel
Date: Thu Jan  4 10:30:30 2007
New Revision: 492675

URL: http://svn.apache.org/viewvc?view=rev&rev=492675
Log:
popup example

Modified:
    myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/popup.jsp

Modified: myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/popup.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/popup.jsp?view=diff&rev=492675&r1=492674&r2=492675
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/popup.jsp (original)
+++ myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/popup.jsp Thu Jan  4 10:30:30 2007
@@ -28,20 +28,30 @@
         </f:facet>
 
         <tc:button label="Open">
-          <%--<tc:attribute name="renderedPartially" value="popup"/--%>
+          <tc:attribute name="renderedPartially" value="popup"/>
           <f:facet name="popup">
             <tc:popup width="300" height="270" id="popup">
               <tc:box label="Text input">
                 <f:facet name="layout">
-                  <tc:gridLayout rows="fixed;fixed;fixed;*"/>
+                  <tc:gridLayout rows="fixed;fixed;*;fixed"/>
                 </f:facet>
 
                 <tc:selectBooleanCheckbox value="#{reference.bool}"/>
                 <tc:in value="#{reference.text}"/>
-                <tc:button label="Ok">
-                  <tc:attribute name="popupClose" value="afterSubmit"/>
-                </tc:button>
                 <tc:cell/>
+                <tc:panel>
+                  <f:facet name="layout">
+                    <tc:gridLayout columns="1*;1*;1*" margin="10"/>
+                  </f:facet>
+                  <tc:button label="Cancel">
+                    <tc:attribute name="popupClose" value="immediate"/>
+                  </tc:button>
+                  <tc:button label="Redisplay"/>
+                  <tc:button label="Ok">
+                    <tc:attribute name="popupClose" value="afterSubmit"/>
+                  </tc:button>
+                </tc:panel>
+
               </tc:box>
             </tc:popup>
           </f:facet>