myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1027544 - /myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/plain.tag
Date Tue, 26 Oct 2010 13:27:44 GMT
Author: lofwyr
Date: Tue Oct 26 13:27:43 2010
New Revision: 1027544

URL: http://svn.apache.org/viewvc?rev=1027544&view=rev
Log:
alternative tag file to overview.tag for debugging and testing

Added:
    myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/plain.tag
      - copied, changed from r1005716, myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/overview.tag

Copied: myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/plain.tag
(from r1005716, myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/overview.tag)
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/plain.tag?p2=myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/plain.tag&p1=myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/overview.tag&r1=1005716&r2=1027544&rev=1027544&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/overview.tag
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/tags/layout/plain.tag
Tue Oct 26 13:27:43 2010
@@ -23,72 +23,16 @@
   <tc:loadBundle basename="overview" var="overviewBundle"/>
   <tc:page applicationIcon="icon/favicon.ico" label="#{overviewBundle.pageTitle}" id="page"
width="1000px" height="750px">
 
-    <%--f:facet name="backButtonDetector">
-      <tc:hidden value="#{overviewNavigation.currentRequestTime}"
-                 converter="org.apache.myfaces.tobago.converter.BackButtonDetection" >
-        <f:validator validatorId="org.apache.myfaces.tobago.validator.BackButtonDetection"
/>
-      </tc:hidden>
-    </f:facet--%>
-    <f:facet name="menuBar" >
-      <tc:menuBar >
-        <tc:menu label="#{overviewBundle.menu_config}" >
-          <tc:menu label="#{overviewBundle.menu_themes}" >
-            <tc:menuItem action="#{clientConfigController.submit}">
-              <f:facet name="items">
-                <tc:selectOneRadio value="#{clientConfigController.theme}" >
-                  <f:selectItems value="#{clientConfigController.themeItems}" />
-                </tc:selectOneRadio>
-              </f:facet>
-            </tc:menuItem>
-          </tc:menu>
-          <tc:menu label="#{overviewBundle.menu_locale}">
-            <tx:menuRadio action="#{clientConfigController.submit}"
-                          value="#{clientConfigController.locale}">
-              <f:selectItems value="#{clientConfigController.localeItems}" />
-            </tx:menuRadio>
-          </tc:menu>
-          <%-- todo: may have something like immediate="true", but in this case, the value
will not switched --%>
-          <tc:menuCheckbox action="#{clientConfigController.submit}"
-              label="#{overviewBundle.menu_debug}"
-              value="#{clientConfigController.debugMode}"/>
-          <tc:menuItem action="#{demo.resetSession}" label="Reset" />
-        </tc:menu>
-
-        <tc:menu label="#{overviewBundle.menu_help}">
-          <tc:menuItem onclick="alert('#{overviewBundle.pageTitle}' + String.fromCharCode(10)
+ '#{info.version}' + String.fromCharCode(10) + '#{overviewBundle.tobago_url}' + String.fromCharCode(10))"
-                       label="#{overviewBundle.menu_about}" />
-          <tc:menuItem onclick="LOG.show();"
-                       label="#{overviewBundle.menu_showLog}"
-                       rendered="#{clientConfigController.debugMode}"/>
-          <tc:menuItem action="server-info" immediate="true"
-                       label="Server Info"
-                       disabled="#{! info.enabled}"/>
-        </tc:menu>
-      </tc:menuBar>
-
-    </f:facet>
     <f:facet name="layout">
       <tc:gridLayout border="0" columns="*;4*"
-        margin="10px" rows="100px;*;fixed"  />
+        margin="10px" />
     </f:facet>
 
-    <tc:cell spanX="2">
-      <jsp:include page="/header.jsp"/>
-    </tc:cell>
-
-    <tc:cell spanY="2" >
-      <jsp:include page="/navigation.jsp"/>
-    </tc:cell>
-
     <tc:cell>
       <f:subview id="content" >
         <jsp:doBody/>
       </f:subview>
     </tc:cell>
 
-    <tc:cell>
-      <jsp:include page="/footer.jsp" />
-    </tc:cell>
-
   </tc:page>
 </f:view>



Mime
View raw message