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 2012/07/03 11:17:56 UTC

svn commit: r1356633 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/00/sheet-master-detail.xhtml

Author: lofwyr
Date: Tue Jul  3 09:17:55 2012
New Revision: 1356633

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

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/00/sheet-master-detail.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/00/sheet-master-detail.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/00/sheet-master-detail.xhtml?rev=1356633&r1=1356632&r2=1356633&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/00/sheet-master-detail.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/00/sheet-master-detail.xhtml Tue Jul  3 09:17:55 2012
@@ -46,12 +46,14 @@
       </tc:sheet>
     </tc:box>
 
-    <tc:panel id="detail">
-      <tc:box label="Details" rendered="#{demo.currentSolarObject != null}">
-        <tx:in label="Name" value="#{demo.currentSolarObject.name}"/>
-        <tc:out value="todo..."/>
-      </tc:box>
-    </tc:panel>
+    <tc:box id="detail" label="Details" rendered="#{demo.currentSolarObject != null}">
+      <f:facet name="layout">
+        <tc:gridLayout rows="auto;auto;*"/>
+      </f:facet>
+      <tx:in label="Name" value="#{demo.currentSolarObject.name}"/>
+      <tx:in label="Discoverer" value="#{demo.currentSolarObject.discoverer}"/>
+      <tc:out value="Todo: more info about the solar object ..."/>
+    </tc:box>
 
   </tc:panel>
 </ui:composition>