You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/02/22 15:00:44 UTC

svn commit: r1073327 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag

Author: lofwyr
Date: Tue Feb 22 14:00:44 2011
New Revision: 1073327

URL: http://svn.apache.org/viewvc?rev=1073327&view=rev
Log:
TOBAGO-976: The resize facet of the page should also support a script command
 - change the JSP template (to it does the same like the facelet)

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag?rev=1073327&r1=1073326&r2=1073327&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag Tue Feb 22 14:00:44 2011
@@ -20,11 +20,14 @@
 
 <f:view locale="#{clientConfigController.locale}">
   <tc:loadBundle basename="overview" var="overviewBundle"/>
-  <tc:page applicationIcon="icon/favicon.ico" label="#{overviewBundle.pageTitle} - #{title}"
-           id="page" width="1000px" height="750px">
+  <tc:page applicationIcon="icon/favicon.ico" label="#{overviewBundle.pageTitle} - #{title}" id="page">
     <%-- fixme: #{title} will not evaluated correctly, because it will be evaluated "late", but too late
          fixme: and ${title} is not allowed, because it can't be provided with JSF 1.2 
          fixme: With facelets this works. --%>
+    <f:facet name="resize">
+      <tc:command immediate="true"/>
+    </f:facet>
+
     <f:facet name="menuBar">
       <tc:menuBar>
         <tc:menu label="#{overviewBundle.menu_config}">