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/02/22 19:34:08 UTC

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

Author: lofwyr
Date: Wed Feb 22 18:34:07 2012
New Revision: 1292438

URL: http://svn.apache.org/viewvc?rev=1292438&view=rev
Log:
don't use the same state for this example

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=1292438&r1=1292437&r2=1292438&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 Wed Feb 22 18:34:07 2012
@@ -36,15 +36,13 @@
 
     <tc:box label="List of Objects">
       <tc:sheet value="#{demo.solarList}" id="sheet"
-                columns="*" var="luminary" selectable="single"
-                state="#{demo.sheetState}">
+                columns="*" var="luminary" selectable="single">
         <tc:column label="#{overviewBundle.solarArrayName}" id="name">
           <tc:out value="#{luminary.name}" id="t_name"/>
         </tc:column>
         <tc:columnEvent event="click">
-              <tc:command actionListener="#{demo.selectLuminary}" renderedPartially=":page:detail">
-              </tc:command>
-            </tc:columnEvent>
+          <tc:command actionListener="#{demo.selectLuminary}" renderedPartially=":page:detail"/>
+        </tc:columnEvent>
       </tc:sheet>
     </tc:box>
 
@@ -52,7 +50,7 @@
       <tc:box label="Details" rendered="#{demo.currentSolarObject != null}">
         <tx:in label="Name" value="#{demo.currentSolarObject.name}"/>
         <tc:out value="todo..."/>
-      </tc:box> 
+      </tc:box>
     </tc:panel>
 
   </tc:panel>