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 2009/10/20 10:17:48 UTC
svn commit: r826991 - in
/myfaces/tobago/branches/tobago-1.0.x/example/test/src/main/webapp/tc/tabGroup:
./ simple.xhtml
Author: lofwyr
Date: Tue Oct 20 08:17:47 2009
New Revision: 826991
URL: http://svn.apache.org/viewvc?rev=826991&view=rev
Log:
simple tab sample
Added:
myfaces/tobago/branches/tobago-1.0.x/example/test/src/main/webapp/tc/tabGroup/
myfaces/tobago/branches/tobago-1.0.x/example/test/src/main/webapp/tc/tabGroup/simple.xhtml
Added: myfaces/tobago/branches/tobago-1.0.x/example/test/src/main/webapp/tc/tabGroup/simple.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/example/test/src/main/webapp/tc/tabGroup/simple.xhtml?rev=826991&view=auto
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/example/test/src/main/webapp/tc/tabGroup/simple.xhtml (added)
+++ myfaces/tobago/branches/tobago-1.0.x/example/test/src/main/webapp/tc/tabGroup/simple.xhtml Tue Oct 20 08:17:47 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<f:view
+ xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:tc="http://myfaces.apache.org/tobago/component"
+ xmlns:tx="http://myfaces.apache.org/tobago/extension"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+ <tc:page width="600px" height="300px">
+ <f:facet name="layout">
+ <tc:gridLayout/>
+ </f:facet>
+
+ <tc:tabGroup>
+ <tc:tab label="Tab 0">
+ <tc:textarea />
+ </tc:tab>
+ <tc:tab label="Tab 1">
+ <tc:textarea />
+ </tc:tab>
+ </tc:tabGroup>
+ </tc:page>
+</f:view>