You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ws...@apache.org on 2006/09/22 03:28:47 UTC

svn commit: r448761 [2/4] - in /myfaces/tomahawk/trunk: examples/simple/src/main/webapp/ examples/simple/src/main/webapp/inc/ sandbox/examples/src/main/webapp/ sandbox/examples/src/main/webapp/dojo/ sandbox/examples/src/main/webapp/inc/ sandbox/example...

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/simpleGroupBy.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/simpleGroupBy.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/simpleGroupBy.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/simpleGroupBy.jsp Thu Sep 21 18:28:44 2006
@@ -1,69 +1,69 @@
-<%@ page session="false" contentType="text/html;charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-<html>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
-        <t:dataTable id="data"
-                style="border-collapse:collapse;"
-                styleClass="standardTable"
-                headerClass="standardTable_Header"
-                footerClass="standardTable_Header"
-                rowClasses="standardTable_Row1,standardTable_Row2"
-                var="demo"
-                value="#{simpleGroupBy.demoList}"
-                preserveDataModel="true"
-                rowGroupStyle="border-bottom:blue;border-bottom-style:solid;border-bottom-width:2px;vertical-align:top"
-                rowGroupStyleClass="testclass">
-           <t:column groupBy="true">
-               <f:facet name="header">
-                  <h:outputText value="Groups" />
-               </f:facet>
-                    <h:outputText value="#{demo.value1}" />
-           </t:column>
-
-           <t:column>
-               <f:facet name="header">
-                  <h:outputText value="Items" />
-               </f:facet>
-               <h:outputText value="#{demo.value2}" />
-           </t:column>
-
-
-        </t:dataTable>
-
-        <jsp:include page="inc/mbean_source.jsp"/>
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+        <t:dataTable id="data"
+                style="border-collapse:collapse;"
+                styleClass="standardTable"
+                headerClass="standardTable_Header"
+                footerClass="standardTable_Header"
+                rowClasses="standardTable_Row1,standardTable_Row2"
+                var="demo"
+                value="#{simpleGroupBy.demoList}"
+                preserveDataModel="true"
+                rowGroupStyle="border-bottom:blue;border-bottom-style:solid;border-bottom-width:2px;vertical-align:top"
+                rowGroupStyleClass="testclass">
+           <t:column groupBy="true">
+               <f:facet name="header">
+                  <h:outputText value="Groups" />
+               </f:facet>
+                    <h:outputText value="#{demo.value1}" />
+           </t:column>
+
+           <t:column>
+               <f:facet name="header">
+                  <h:outputText value="Items" />
+               </f:facet>
+               <h:outputText value="#{demo.value2}" />
+           </t:column>
+
+
+        </t:dataTable>
+
+        <jsp:include page="inc/mbean_source.jsp"/>
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/simpleGroupBy.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/sortAutoTable.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/sortAutoTable.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/sortAutoTable.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/sortAutoTable.jsp Thu Sep 21 18:28:44 2006
@@ -1,80 +1,80 @@
-
-<%@ page session="false" contentType="text/html;charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-<html>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
-    <h:form>    
-        <t:dataTable id="data"
-                styleClass="standardTable"            
-                headerClass="standardTable_SortHeader"
-                footerClass="standardTable_Footer"
-                rowClasses="standardTable_Row1,standardTable_Row2"
-                var="car"                      
-                sortable="true"                       
-                value="#{autosortlist.cars}"                 
-                sortColumn="#{autosortlist.sortColumn}" 
-                sortAscending="#{autosortlist.sortAscending}"
-                preserveDataModel="true"
-                preserveSort="true">
-
-            <t:column defaultSorted="true">
-                <f:facet name="header">  
-                    <h:outputText value="ID" />                
-                </f:facet>
-                <h:outputText value="#{car.id}" />            
-            </t:column>
-
-            <t:column>
-                <f:facet name="header">  
-                    <h:outputText value="#{example_messages['sort_cartype']}" />                
-                </f:facet>
-                <h:outputText value="#{car.type}" />            
-            </t:column>
-
-            <t:column>
-                <f:facet name="header">
-                    <h:outputText value="#{example_messages['sort_carcolor']}" />                
-                </f:facet>
-                <h:outputText value="#{car.color}" />            
-            </t:column>
-
-        </t:dataTable>           
-    </h:form>     
-
-    <jsp:include page="inc/mbean_source.jsp"/>
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+    <h:form>    
+        <t:dataTable id="data"
+                styleClass="standardTable"            
+                headerClass="standardTable_SortHeader"
+                footerClass="standardTable_Footer"
+                rowClasses="standardTable_Row1,standardTable_Row2"
+                var="car"                      
+                sortable="true"                       
+                value="#{autosortlist.cars}"                 
+                sortColumn="#{autosortlist.sortColumn}" 
+                sortAscending="#{autosortlist.sortAscending}"
+                preserveDataModel="true"
+                preserveSort="true">
+
+            <t:column defaultSorted="true">
+                <f:facet name="header">  
+                    <h:outputText value="ID" />                
+                </f:facet>
+                <h:outputText value="#{car.id}" />            
+            </t:column>
+
+            <t:column>
+                <f:facet name="header">  
+                    <h:outputText value="#{example_messages['sort_cartype']}" />                
+                </f:facet>
+                <h:outputText value="#{car.type}" />            
+            </t:column>
+
+            <t:column>
+                <f:facet name="header">
+                    <h:outputText value="#{example_messages['sort_carcolor']}" />                
+                </f:facet>
+                <h:outputText value="#{car.color}" />            
+            </t:column>
+
+        </t:dataTable>           
+    </h:form>     
+
+    <jsp:include page="inc/mbean_source.jsp"/>
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/sortAutoTable.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/sortAutoTable2.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/swapimage.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tab2.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tab2.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tab2.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tab2.jsp Thu Sep 21 18:28:44 2006
@@ -1,6 +1,6 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-<t:panelTab label="#{example_messages['tabbed_tab2']}" rendered="#{tabbedPaneBean.tab2Visible}">
-    <h:inputTextarea ></h:inputTextarea>
-</t:panelTab>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<t:panelTab label="#{example_messages['tabbed_tab2']}" rendered="#{tabbedPaneBean.tab2Visible}">
+    <h:inputTextarea ></h:inputTextarea>
+</t:panelTab>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tab2.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tabbedPane.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tabbedPane.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tabbedPane.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tabbedPane.jsp Thu Sep 21 18:28:44 2006
@@ -1,190 +1,190 @@
-<%@ page import="java.math.BigDecimal,
-                 java.util.Date"%>
-<%@ page session="false" contentType="text/html;charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-<html>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-<h:form>
-
-    <t:saveState id="ss1" value="#{tabbedPaneBean}" />
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
-    <t:messages id="messageList" showSummary="true" showDetail="true" summaryFormat="{0}:" />
-
-	<f:subview id="panelTabbedPane1">
-	    <h:outputText value="client-side tab switching"/>
-	    
-	    <t:panelTabbedPane bgcolor="#FFFFCC" serverSideTabSwitch="false">
-	
-	        <f:verbatim><p></f:verbatim>
-	            <h:outputText value="#{example_messages['tabbed_common']}"/>
-	        <f:verbatim></p></f:verbatim>
-	
-	
-	        <t:panelTab id="tab1" label="#{example_messages['tabbed_tab1']}" rendered="#{tabbedPaneBean.tab1Visible}">
-	                <h:selectBooleanCheckbox id="testCheckBox" value="#{testCheckBox.checked}"/><h:outputLabel for="testCheckBox" value="A checkbox"/>
-	                <f:verbatim><br/><br/></f:verbatim>
-	            <h:inputText id="inp1"/><f:verbatim><br></f:verbatim>
-	            <h:inputText id="inp2" required="true" /><h:message for="inp2" showSummary="false" showDetail="true" />
-	        </t:panelTab>
-	
-	        <f:subview id="tab2" >
-	            <jsp:include page="tab2.jsp"/>
-	        </f:subview>
-	
-	        <t:panelTab id="tab3" label="#{example_messages['tabbed_tab3']}" rendered="#{tabbedPaneBean.tab3Visible}">
-	
-	            <t:selectOneRadio value="#{testRadioButton.choice}">
-	                    <f:selectItem itemValue="0" itemLabel="First Choice" />
-	                    <f:selectItem itemValue="1" itemLabel="Second Choice" />
-	            </t:selectOneRadio>
-	
-	            <f:verbatim><br/><br/></f:verbatim>
-	
-	            <t:dataTable id="xxx" value="#{testCheckList.testCheckBoxes}"
-	                        var="checkBox"
-	                        preserveDataModel="true"
-	                        rowIndexVar="rowNumber">
-	                <h:column>
-	                    <f:facet name="header">
-	                        <h:outputText value="Check boxes list" />
-	                    </f:facet>
-	                    <h:selectBooleanCheckbox value="#{checkBox.checked}"/>
-	                    <h:outputText value="Check box #{rowNumber}"/>
-	                </h:column>
-	                <h:column>
-	                    <f:facet name="header">
-	                        <h:outputText value="Text" />
-	                    </f:facet>
-	                    <h:inputText value="#{checkBox.text}"/>
-	                </h:column>
-	            </t:dataTable>
-	
-	                                    <f:verbatim><br/><br/></f:verbatim>
-	
-	            <h:inputText id="inp3"/><f:verbatim><br/></f:verbatim>
-	        </t:panelTab>
-	
-	        <f:verbatim><br/><hr/><br/></f:verbatim>
-	
-	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab1Visible}"/>
-	        <h:outputText value="#{example_messages['tabbed_visible1']}"/>
-	        <f:verbatim><br></f:verbatim>
-	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab2Visible}"/>
-	        <h:outputText value="#{example_messages['tabbed_visible2']}" />
-	        <f:verbatim><br></f:verbatim>
-	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab3Visible}"/>
-	        <h:outputText value="#{example_messages['tabbed_visible3']}" />
-	        <f:verbatim><br></f:verbatim>
-	
-	        <h:commandButton value="#{example_messages['tabbed_submit']}" />
-	
-	    </t:panelTabbedPane>
-	</f:subview>
-	<f:subview id="panelTabbedPane2">
-	    <h:outputText value="server-side tab switching"/>
-	    
-	    <t:panelTabbedPane bgcolor="#CCFFFF" serverSideTabSwitch="true">
-	
-	        <f:verbatim><p></f:verbatim>
-	            <h:outputText value="#{example_messages['tabbed_common']}"/>
-	        <f:verbatim></p></f:verbatim>
-	
-	
-	        <t:panelTab id="tab1" label="#{example_messages['tabbed_tab1']}" rendered="#{tabbedPaneBean.tab1Visible}">
-	                <h:selectBooleanCheckbox id="testCheckBox" value="#{testCheckBox.checked}"/><h:outputLabel for="testCheckBox" value="A checkbox"/>
-	                <f:verbatim><br/><br/></f:verbatim>
-	            <h:inputText id="inp1"/><f:verbatim><br></f:verbatim>
-	            <h:inputText id="inp2" required="true" /><h:message for="inp2" showSummary="false" showDetail="true" />
-	        </t:panelTab>
-	
-	        <f:subview id="tab2" >
-	            <jsp:include page="tab2.jsp"/>
-	        </f:subview>
-	
-	        <t:panelTab id="tab3" label="#{example_messages['tabbed_tab3']}" rendered="#{tabbedPaneBean.tab3Visible}">
-	
-	            <t:selectOneRadio value="#{testRadioButton.choice}">
-	                    <f:selectItem itemValue="0" itemLabel="First Choice" />
-	                    <f:selectItem itemValue="1" itemLabel="Second Choice" />
-	            </t:selectOneRadio>
-	
-	            <f:verbatim><br/><br/></f:verbatim>
-	
-	            <t:dataTable id="xxx" value="#{testCheckList.testCheckBoxes}"
-	                        var="checkBox"
-	                        preserveDataModel="true"
-	                        rowIndexVar="rowNumber">
-	                <h:column>
-	                    <f:facet name="header">
-	                        <h:outputText value="Check boxes list" />
-	                    </f:facet>
-	                    <h:selectBooleanCheckbox value="#{checkBox.checked}"/>
-	                    <h:outputText value="Check box #{rowNumber}"/>
-	                </h:column>
-	                <h:column>
-	                    <f:facet name="header">
-	                        <h:outputText value="Text" />
-	                    </f:facet>
-	                    <h:inputText value="#{checkBox.text}"/>
-	                </h:column>
-	            </t:dataTable>
-	
-	                                    <f:verbatim><br/><br/></f:verbatim>
-	
-	            <h:inputText id="inp3"/><f:verbatim><br/></f:verbatim>
-	        </t:panelTab>
-	
-	        <f:verbatim><br/><hr/><br/></f:verbatim>
-	
-	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab1Visible}"/>
-	        <h:outputText value="#{example_messages['tabbed_visible1']}"/>
-	        <f:verbatim><br></f:verbatim>
-	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab2Visible}"/>
-	        <h:outputText value="#{example_messages['tabbed_visible2']}" />
-	        <f:verbatim><br></f:verbatim>
-	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab3Visible}"/>
-	        <h:outputText value="#{example_messages['tabbed_visible3']}" />
-	        <f:verbatim><br></f:verbatim>
-	
-	        <h:commandButton value="#{example_messages['tabbed_submit']}" />
-	
-	    </t:panelTabbedPane>
-	</f:subview>
-
-</h:form>
-
-<jsp:include page="inc/mbean_source.jsp"/>
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page import="java.math.BigDecimal,
+                 java.util.Date"%>
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+<h:form>
+
+    <t:saveState id="ss1" value="#{tabbedPaneBean}" />
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+    <t:messages id="messageList" showSummary="true" showDetail="true" summaryFormat="{0}:" />
+
+	<f:subview id="panelTabbedPane1">
+	    <h:outputText value="client-side tab switching"/>
+	    
+	    <t:panelTabbedPane bgcolor="#FFFFCC" serverSideTabSwitch="false">
+	
+	        <f:verbatim><p></f:verbatim>
+	            <h:outputText value="#{example_messages['tabbed_common']}"/>
+	        <f:verbatim></p></f:verbatim>
+	
+	
+	        <t:panelTab id="tab1" label="#{example_messages['tabbed_tab1']}" rendered="#{tabbedPaneBean.tab1Visible}">
+	                <h:selectBooleanCheckbox id="testCheckBox" value="#{testCheckBox.checked}"/><h:outputLabel for="testCheckBox" value="A checkbox"/>
+	                <f:verbatim><br/><br/></f:verbatim>
+	            <h:inputText id="inp1"/><f:verbatim><br></f:verbatim>
+	            <h:inputText id="inp2" required="true" /><h:message for="inp2" showSummary="false" showDetail="true" />
+	        </t:panelTab>
+	
+	        <f:subview id="tab2" >
+	            <jsp:include page="tab2.jsp"/>
+	        </f:subview>
+	
+	        <t:panelTab id="tab3" label="#{example_messages['tabbed_tab3']}" rendered="#{tabbedPaneBean.tab3Visible}">
+	
+	            <t:selectOneRadio value="#{testRadioButton.choice}">
+	                    <f:selectItem itemValue="0" itemLabel="First Choice" />
+	                    <f:selectItem itemValue="1" itemLabel="Second Choice" />
+	            </t:selectOneRadio>
+	
+	            <f:verbatim><br/><br/></f:verbatim>
+	
+	            <t:dataTable id="xxx" value="#{testCheckList.testCheckBoxes}"
+	                        var="checkBox"
+	                        preserveDataModel="true"
+	                        rowIndexVar="rowNumber">
+	                <h:column>
+	                    <f:facet name="header">
+	                        <h:outputText value="Check boxes list" />
+	                    </f:facet>
+	                    <h:selectBooleanCheckbox value="#{checkBox.checked}"/>
+	                    <h:outputText value="Check box #{rowNumber}"/>
+	                </h:column>
+	                <h:column>
+	                    <f:facet name="header">
+	                        <h:outputText value="Text" />
+	                    </f:facet>
+	                    <h:inputText value="#{checkBox.text}"/>
+	                </h:column>
+	            </t:dataTable>
+	
+	                                    <f:verbatim><br/><br/></f:verbatim>
+	
+	            <h:inputText id="inp3"/><f:verbatim><br/></f:verbatim>
+	        </t:panelTab>
+	
+	        <f:verbatim><br/><hr/><br/></f:verbatim>
+	
+	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab1Visible}"/>
+	        <h:outputText value="#{example_messages['tabbed_visible1']}"/>
+	        <f:verbatim><br></f:verbatim>
+	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab2Visible}"/>
+	        <h:outputText value="#{example_messages['tabbed_visible2']}" />
+	        <f:verbatim><br></f:verbatim>
+	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab3Visible}"/>
+	        <h:outputText value="#{example_messages['tabbed_visible3']}" />
+	        <f:verbatim><br></f:verbatim>
+	
+	        <h:commandButton value="#{example_messages['tabbed_submit']}" />
+	
+	    </t:panelTabbedPane>
+	</f:subview>
+	<f:subview id="panelTabbedPane2">
+	    <h:outputText value="server-side tab switching"/>
+	    
+	    <t:panelTabbedPane bgcolor="#CCFFFF" serverSideTabSwitch="true">
+	
+	        <f:verbatim><p></f:verbatim>
+	            <h:outputText value="#{example_messages['tabbed_common']}"/>
+	        <f:verbatim></p></f:verbatim>
+	
+	
+	        <t:panelTab id="tab1" label="#{example_messages['tabbed_tab1']}" rendered="#{tabbedPaneBean.tab1Visible}">
+	                <h:selectBooleanCheckbox id="testCheckBox" value="#{testCheckBox.checked}"/><h:outputLabel for="testCheckBox" value="A checkbox"/>
+	                <f:verbatim><br/><br/></f:verbatim>
+	            <h:inputText id="inp1"/><f:verbatim><br></f:verbatim>
+	            <h:inputText id="inp2" required="true" /><h:message for="inp2" showSummary="false" showDetail="true" />
+	        </t:panelTab>
+	
+	        <f:subview id="tab2" >
+	            <jsp:include page="tab2.jsp"/>
+	        </f:subview>
+	
+	        <t:panelTab id="tab3" label="#{example_messages['tabbed_tab3']}" rendered="#{tabbedPaneBean.tab3Visible}">
+	
+	            <t:selectOneRadio value="#{testRadioButton.choice}">
+	                    <f:selectItem itemValue="0" itemLabel="First Choice" />
+	                    <f:selectItem itemValue="1" itemLabel="Second Choice" />
+	            </t:selectOneRadio>
+	
+	            <f:verbatim><br/><br/></f:verbatim>
+	
+	            <t:dataTable id="xxx" value="#{testCheckList.testCheckBoxes}"
+	                        var="checkBox"
+	                        preserveDataModel="true"
+	                        rowIndexVar="rowNumber">
+	                <h:column>
+	                    <f:facet name="header">
+	                        <h:outputText value="Check boxes list" />
+	                    </f:facet>
+	                    <h:selectBooleanCheckbox value="#{checkBox.checked}"/>
+	                    <h:outputText value="Check box #{rowNumber}"/>
+	                </h:column>
+	                <h:column>
+	                    <f:facet name="header">
+	                        <h:outputText value="Text" />
+	                    </f:facet>
+	                    <h:inputText value="#{checkBox.text}"/>
+	                </h:column>
+	            </t:dataTable>
+	
+	                                    <f:verbatim><br/><br/></f:verbatim>
+	
+	            <h:inputText id="inp3"/><f:verbatim><br/></f:verbatim>
+	        </t:panelTab>
+	
+	        <f:verbatim><br/><hr/><br/></f:verbatim>
+	
+	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab1Visible}"/>
+	        <h:outputText value="#{example_messages['tabbed_visible1']}"/>
+	        <f:verbatim><br></f:verbatim>
+	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab2Visible}"/>
+	        <h:outputText value="#{example_messages['tabbed_visible2']}" />
+	        <f:verbatim><br></f:verbatim>
+	        <h:selectBooleanCheckbox value="#{tabbedPaneBean.tab3Visible}"/>
+	        <h:outputText value="#{example_messages['tabbed_visible3']}" />
+	        <f:verbatim><br></f:verbatim>
+	
+	        <h:commandButton value="#{example_messages['tabbed_submit']}" />
+	
+	    </t:panelTabbedPane>
+	</f:subview>
+
+</h:form>
+
+<jsp:include page="inc/mbean_source.jsp"/>
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tabbedPane.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testlist.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testlist.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testlist.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testlist.jsp Thu Sep 21 18:28:44 2006
@@ -1,61 +1,61 @@
-<%@ page session="false" contentType="text/html;charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-<html>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<STYLE TYPE="text/css">
-  .test { color: red }
-</STYLE>
-
-<!--
-managed beans used:
-    countryList
--->
-
-<f:view>
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
-    <t:dataList id="data2"
-        styleClass="standardList"
-        itemStyleClass="test"
-        var="country"
-        value="#{countryList.countries}"
-        layout="unorderedList" forceId="true">
-           <h:outputText value="#{country.name}" />
-    </t:dataList>
-
-    <jsp:include page="inc/mbean_source.jsp"/>
-    
-
-</f:view>
-
-</body>
-
-</html>
-
-
-
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<STYLE TYPE="text/css">
+  .test { color: red }
+</STYLE>
+
+<!--
+managed beans used:
+    countryList
+-->
+
+<f:view>
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+    <t:dataList id="data2"
+        styleClass="standardList"
+        itemStyleClass="test"
+        var="country"
+        value="#{countryList.countries}"
+        layout="unorderedList" forceId="true">
+           <h:outputText value="#{country.name}" />
+    </t:dataList>
+
+    <jsp:include page="inc/mbean_source.jsp"/>
+    
+
+</f:view>
+
+</body>
+
+</html>
+
+
+

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/testlist.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree.jsp Thu Sep 21 18:28:44 2006
@@ -1,77 +1,77 @@
-<%@ page import="org.apache.myfaces.custom.tree.DefaultMutableTreeNode,
-                 org.apache.myfaces.custom.tree.model.DefaultTreeModel"%>
-<%@ page session="true" contentType="text/html;charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-<html>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<%
-   if (pageContext.getAttribute("treeModel", PageContext.SESSION_SCOPE) == null) {
-      DefaultMutableTreeNode root = new DefaultMutableTreeNode("XY");
-      DefaultMutableTreeNode a = new DefaultMutableTreeNode("A");
-      root.insert(a);
-      DefaultMutableTreeNode b = new DefaultMutableTreeNode("B");
-      root.insert(b);
-      DefaultMutableTreeNode c = new DefaultMutableTreeNode("C");
-      root.insert(c);
-
-      DefaultMutableTreeNode node = new DefaultMutableTreeNode("a1");
-      a.insert(node);
-      node = new DefaultMutableTreeNode("a2 ");
-      a.insert(node);
-      node = new DefaultMutableTreeNode("b ");
-      b.insert(node);
-
-      a = node;
-      node = new DefaultMutableTreeNode("x1");
-      a.insert(node);
-      node = new DefaultMutableTreeNode("x2");
-      a.insert(node);
-
-      pageContext.setAttribute("treeModel", new DefaultTreeModel(root), PageContext.SESSION_SCOPE);
-   }
-%>
-
-<f:view>
-
-    <h:form>
-        <t:tree id="tree" value="#{treeModel}"
-            styleClass="tree"
-            nodeClass="treenode"
-            selectedNodeClass="treenodeSelected"
-            expandRoot="true">
-        </t:tree>
-    </h:form>
-
-    <jsp:include page="inc/mbean_source.jsp"/>        
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page import="org.apache.myfaces.custom.tree.DefaultMutableTreeNode,
+                 org.apache.myfaces.custom.tree.model.DefaultTreeModel"%>
+<%@ page session="true" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<%
+   if (pageContext.getAttribute("treeModel", PageContext.SESSION_SCOPE) == null) {
+      DefaultMutableTreeNode root = new DefaultMutableTreeNode("XY");
+      DefaultMutableTreeNode a = new DefaultMutableTreeNode("A");
+      root.insert(a);
+      DefaultMutableTreeNode b = new DefaultMutableTreeNode("B");
+      root.insert(b);
+      DefaultMutableTreeNode c = new DefaultMutableTreeNode("C");
+      root.insert(c);
+
+      DefaultMutableTreeNode node = new DefaultMutableTreeNode("a1");
+      a.insert(node);
+      node = new DefaultMutableTreeNode("a2 ");
+      a.insert(node);
+      node = new DefaultMutableTreeNode("b ");
+      b.insert(node);
+
+      a = node;
+      node = new DefaultMutableTreeNode("x1");
+      a.insert(node);
+      node = new DefaultMutableTreeNode("x2");
+      a.insert(node);
+
+      pageContext.setAttribute("treeModel", new DefaultTreeModel(root), PageContext.SESSION_SCOPE);
+   }
+%>
+
+<f:view>
+
+    <h:form>
+        <t:tree id="tree" value="#{treeModel}"
+            styleClass="tree"
+            nodeClass="treenode"
+            selectedNodeClass="treenodeSelected"
+            expandRoot="true">
+        </t:tree>
+    </h:form>
+
+    <jsp:include page="inc/mbean_source.jsp"/>        
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2.jsp Thu Sep 21 18:28:44 2006
@@ -1,145 +1,145 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-
-<!--
-/*
- * Copyright 2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-<html>
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-
-    <!-- Expand/Collapse Handled By Client -->
-
-    <%--
-    NOTE: There is no commandLink for the folders because the toggling of expand/collapse is handled on the client
-    via javascript.  We have a command link for document but that is really application specific.  In a real application
-    you would likely specify an action method/listener and do something interesting with the node identifier that is
-    submitted.
-
-    First child in the expand/collapse facet should be image (if any)
-    --%>
-    <span style="font-family:verdana">
-        <b>Tree2 w/client-side (default) toggle</b><br/>
-    </span>
-    <br/>
-<h:form id="foo">
-
-    <t:tree2 id="clientTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t">
-        <f:facet name="person">
-            <h:panelGroup>
-                <f:facet name="expand">
-                    <t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                </f:facet>
-                <f:facet name="collapse">
-                    <t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                </f:facet>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="foo-folder">
-            <h:panelGroup>
-                <f:facet name="expand">
-                    <t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                </f:facet>
-                <f:facet name="collapse">
-                    <t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                </f:facet>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="bar-folder">
-            <h:panelGroup>
-                <f:facet name="expand">
-                    <t:graphicImage value="images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
-                </f:facet>
-                <f:facet name="collapse">
-                    <t:graphicImage value="images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                </f:facet>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="document">
-            <h:panelGroup>
-                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
-                    <t:graphicImage value="images/document.png" border="0"/>
-                    <h:outputText value="#{node.description}"/>
-                    <f:param name="docNum" value="#{node.identifier}"/>
-                </h:commandLink>
-            </h:panelGroup>
-        </f:facet>
-    </t:tree2>
-
-    <br/>
-    <span style="font-family:verdana">
-        <b>Tree2 w/server-side toggle</b><br/>
-    </span>
-    <br/>
-    
-    <!-- Expand/Collapse Handled By Server -->
-    <t:tree2 id="serverTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" clientSideToggle="false">
-        <f:facet name="person">
-            <h:panelGroup>
-                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="foo-folder">
-            <h:panelGroup>
-                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="bar-folder">
-            <h:panelGroup>
-                <t:graphicImage value="/images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
-                <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="document">
-            <h:panelGroup>
-                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
-                    <t:graphicImage value="/images/document.png" border="0"/>
-                    <h:outputText value="#{node.description}"/>
-                    <f:param name="docNum" value="#{node.identifier}"/>
-                </h:commandLink>
-            </h:panelGroup>
-        </f:facet>
-    </t:tree2>
-</h:form>
-
-<jsp:include page="inc/mbean_source.jsp"/>    
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
-
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+
+<!--
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+<html>
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+    <!-- Expand/Collapse Handled By Client -->
+
+    <%--
+    NOTE: There is no commandLink for the folders because the toggling of expand/collapse is handled on the client
+    via javascript.  We have a command link for document but that is really application specific.  In a real application
+    you would likely specify an action method/listener and do something interesting with the node identifier that is
+    submitted.
+
+    First child in the expand/collapse facet should be image (if any)
+    --%>
+    <span style="font-family:verdana">
+        <b>Tree2 w/client-side (default) toggle</b><br/>
+    </span>
+    <br/>
+<h:form id="foo">
+
+    <t:tree2 id="clientTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t">
+        <f:facet name="person">
+            <h:panelGroup>
+                <f:facet name="expand">
+                    <t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                </f:facet>
+                <f:facet name="collapse">
+                    <t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                </f:facet>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="foo-folder">
+            <h:panelGroup>
+                <f:facet name="expand">
+                    <t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                </f:facet>
+                <f:facet name="collapse">
+                    <t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                </f:facet>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="bar-folder">
+            <h:panelGroup>
+                <f:facet name="expand">
+                    <t:graphicImage value="images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
+                </f:facet>
+                <f:facet name="collapse">
+                    <t:graphicImage value="images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                </f:facet>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="document">
+            <h:panelGroup>
+                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
+                    <t:graphicImage value="images/document.png" border="0"/>
+                    <h:outputText value="#{node.description}"/>
+                    <f:param name="docNum" value="#{node.identifier}"/>
+                </h:commandLink>
+            </h:panelGroup>
+        </f:facet>
+    </t:tree2>
+
+    <br/>
+    <span style="font-family:verdana">
+        <b>Tree2 w/server-side toggle</b><br/>
+    </span>
+    <br/>
+    
+    <!-- Expand/Collapse Handled By Server -->
+    <t:tree2 id="serverTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" clientSideToggle="false">
+        <f:facet name="person">
+            <h:panelGroup>
+                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="foo-folder">
+            <h:panelGroup>
+                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="bar-folder">
+            <h:panelGroup>
+                <t:graphicImage value="/images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
+                <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="document">
+            <h:panelGroup>
+                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
+                    <t:graphicImage value="/images/document.png" border="0"/>
+                    <h:outputText value="#{node.description}"/>
+                    <f:param name="docNum" value="#{node.identifier}"/>
+                </h:commandLink>
+            </h:panelGroup>
+        </f:facet>
+    </t:tree2>
+</h:form>
+
+<jsp:include page="inc/mbean_source.jsp"/>    
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>
+

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2ExpandAll.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2ExpandAll.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2ExpandAll.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2ExpandAll.jsp Thu Sep 21 18:28:44 2006
@@ -1,100 +1,100 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-
-<!--
-/*
- * Copyright 2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-<html>
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-
-	<h:form>
-    <span style="font-family:verdana">
-        <b>Tree2 w/expand all</b><br/>
-    </span>
-    <br/>
-
-    <h:commandLink value="Expand All" action="#{treeBacker.expandAll}"/>
-    <br/><br/>
-
-    <t:tree2 id="serverTree" value="#{treeBacker.expandedTreeData}" var="node" varNodeToggler="t" clientSideToggle="false" binding="#{treeBacker.tree}">
-        <f:facet name="person">
-            <h:panelGroup>
-                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="foo-folder">
-            <h:panelGroup>
-                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="bar-folder">
-            <h:panelGroup>
-                <t:graphicImage value="/images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
-                <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="document">
-            <h:panelGroup>
-                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
-                    <t:graphicImage value="/images/document.png" border="0"/>
-                    <h:outputText value="#{node.description}"/>
-                    <f:param name="docNum" value="#{node.identifier}"/>
-                </h:commandLink>
-            </h:panelGroup>
-        </f:facet>
-    </t:tree2>
-    </h:form>
-
-    <br/>
-
-    <h:form>
-
-        <h:panelGrid columns="1">
-            <h:message for=":serverTree" showSummary="false" styleClass="error"/>
-            <h:message for="nodePath" styleClass="error"/>
-            <h:panelGroup>
-                <h:outputText value="Enter Node Path To Expand (ex. 0:0:1) "/>
-                <h:inputText id="nodePath" value="#{treeBacker.nodePath}" validator="#{treeBacker.checkPath}"/>
-                <h:commandButton value="Expand" actionListener="#{treeBacker.expandPath}"/>
-            </h:panelGroup>
-        </h:panelGrid>
-
-    </h:form>
-
-    <jsp:include page="inc/mbean_source.jsp"/>        
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
-
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+
+<!--
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+<html>
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+	<h:form>
+    <span style="font-family:verdana">
+        <b>Tree2 w/expand all</b><br/>
+    </span>
+    <br/>
+
+    <h:commandLink value="Expand All" action="#{treeBacker.expandAll}"/>
+    <br/><br/>
+
+    <t:tree2 id="serverTree" value="#{treeBacker.expandedTreeData}" var="node" varNodeToggler="t" clientSideToggle="false" binding="#{treeBacker.tree}">
+        <f:facet name="person">
+            <h:panelGroup>
+                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="foo-folder">
+            <h:panelGroup>
+                <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="bar-folder">
+            <h:panelGroup>
+                <t:graphicImage value="/images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
+                <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="document">
+            <h:panelGroup>
+                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
+                    <t:graphicImage value="/images/document.png" border="0"/>
+                    <h:outputText value="#{node.description}"/>
+                    <f:param name="docNum" value="#{node.identifier}"/>
+                </h:commandLink>
+            </h:panelGroup>
+        </f:facet>
+    </t:tree2>
+    </h:form>
+
+    <br/>
+
+    <h:form>
+
+        <h:panelGrid columns="1">
+            <h:message for=":serverTree" showSummary="false" styleClass="error"/>
+            <h:message for="nodePath" styleClass="error"/>
+            <h:panelGroup>
+                <h:outputText value="Enter Node Path To Expand (ex. 0:0:1) "/>
+                <h:inputText id="nodePath" value="#{treeBacker.nodePath}" validator="#{treeBacker.checkPath}"/>
+                <h:commandButton value="Expand" actionListener="#{treeBacker.expandPath}"/>
+            </h:panelGroup>
+        </h:panelGrid>
+
+    </h:form>
+
+    <jsp:include page="inc/mbean_source.jsp"/>        
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>
+

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2ExpandAll.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2NoNav.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2NoNav.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2NoNav.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2NoNav.jsp Thu Sep 21 18:28:44 2006
@@ -1,86 +1,86 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-
-<!--
-/*
- * Copyright 2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-<html>
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-<h:form>
-
-    <t:tree2 id="serverTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" clientSideToggle="false" showNav="false">
-        <f:facet name="person">
-            <h:panelGroup>
-                <h:commandLink immediate="true" action="#{t.toggleExpanded}" rendered="#{!node.leaf}">
-                    <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                    <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                </h:commandLink>
-                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded && node.leaf}" border="0"/>                
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="foo-folder">
-            <h:panelGroup>
-                <h:commandLink immediate="true" action="#{t.toggleExpanded}" rendered="#{!node.leaf}">
-                    <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
-                    <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                </h:commandLink>
-                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded && node.leaf}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="bar-folder">
-            <h:panelGroup>
-                <h:commandLink immediate="true" action="#{t.toggleExpanded}" rendered="#{!node.leaf}">                
-                    <t:graphicImage value="/images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
-                    <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
-                </h:commandLink>                    
-                <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded && node.leaf}" border="0"/>
-                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
-                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
-            </h:panelGroup>
-        </f:facet>
-        <f:facet name="document">
-            <h:panelGroup>
-                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
-                    <t:graphicImage value="/images/document.png" border="0"/>
-                    <h:outputText value="#{node.description}"/>
-                    <f:param name="docNum" value="#{node.identifier}"/>
-                </h:commandLink>
-            </h:panelGroup>
-        </f:facet>
-    </t:tree2>
-
-</h:form>
-
-<jsp:include page="inc/mbean_source.jsp"/>
-    
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
-
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+
+<!--
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+<html>
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+<h:form>
+
+    <t:tree2 id="serverTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" clientSideToggle="false" showNav="false">
+        <f:facet name="person">
+            <h:panelGroup>
+                <h:commandLink immediate="true" action="#{t.toggleExpanded}" rendered="#{!node.leaf}">
+                    <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                    <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                </h:commandLink>
+                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded && node.leaf}" border="0"/>                
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="foo-folder">
+            <h:panelGroup>
+                <h:commandLink immediate="true" action="#{t.toggleExpanded}" rendered="#{!node.leaf}">
+                    <t:graphicImage value="/images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
+                    <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                </h:commandLink>
+                <t:graphicImage value="/images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded && node.leaf}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="bar-folder">
+            <h:panelGroup>
+                <h:commandLink immediate="true" action="#{t.toggleExpanded}" rendered="#{!node.leaf}">                
+                    <t:graphicImage value="/images/blue-folder-open.gif" rendered="#{t.nodeExpanded}" border="0"/>
+                    <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
+                </h:commandLink>                    
+                <t:graphicImage value="/images/blue-folder-closed.png" rendered="#{!t.nodeExpanded && node.leaf}" border="0"/>
+                <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+            </h:panelGroup>
+        </f:facet>
+        <f:facet name="document">
+            <h:panelGroup>
+                <h:commandLink immediate="true" styleClass="#{t.nodeSelected ? 'documentSelected':'document'}" actionListener="#{t.setNodeSelected}">
+                    <t:graphicImage value="/images/document.png" border="0"/>
+                    <h:outputText value="#{node.description}"/>
+                    <f:param name="docNum" value="#{node.identifier}"/>
+                </h:commandLink>
+            </h:panelGroup>
+        </f:facet>
+    </t:tree2>
+
+</h:form>
+
+<jsp:include page="inc/mbean_source.jsp"/>
+    
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>
+

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/tree2NoNav.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/treeTable.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/treeTable.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/treeTable.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/treeTable.jsp Thu Sep 21 18:28:44 2006
@@ -1,74 +1,74 @@
-<%@ page session="true" contentType="text/html;charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
-<html>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-
-<h:form>
-        <t:tree id="tree" value="#{treeTable.treeModel}"
-                    var="treeItem"
-                    styleClass="tree"
-                nodeClass="treenode"
-                headerClass="treeHeader"
-                footerClass="treeFooter"
-            rowClasses="a, b"
-            columnClasses="col1, col2"
-                selectedNodeClass="treenodeSelected"
-                expandRoot="true">
-            <h:column>
-                    <f:facet name="header">
-                    <h:outputText value="Header 1" />
-            </f:facet>
-            <h:outputText value="#{treeItem.isoCode}" />
-        </h:column>
-            <t:treeColumn>
-                    <f:facet name="header">
-                    <h:outputText value="Header 2" />
-            </f:facet>
-                    <h:outputText value="#{treeItem.name}" />
-            </t:treeColumn>
-            <h:column>
-                    <f:facet name="header">
-                    <h:outputText value="Header 3" />
-            </f:facet>
-                    <h:outputText value="#{treeItem.description}" />
-        </h:column>
-        <f:facet name="footer">
-            <h:outputText value="Footer" />
-        </f:facet>
-    </t:tree>
-</h:form>
-
-<jsp:include page="inc/mbean_source.jsp"/>    
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page session="true" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+<h:form>
+        <t:tree id="tree" value="#{treeTable.treeModel}"
+                    var="treeItem"
+                    styleClass="tree"
+                nodeClass="treenode"
+                headerClass="treeHeader"
+                footerClass="treeFooter"
+            rowClasses="a, b"
+            columnClasses="col1, col2"
+                selectedNodeClass="treenodeSelected"
+                expandRoot="true">
+            <h:column>
+                    <f:facet name="header">
+                    <h:outputText value="Header 1" />
+            </f:facet>
+            <h:outputText value="#{treeItem.isoCode}" />
+        </h:column>
+            <t:treeColumn>
+                    <f:facet name="header">
+                    <h:outputText value="Header 2" />
+            </f:facet>
+                    <h:outputText value="#{treeItem.name}" />
+            </t:treeColumn>
+            <h:column>
+                    <f:facet name="header">
+                    <h:outputText value="Header 3" />
+            </f:facet>
+                    <h:outputText value="#{treeItem.description}" />
+        </h:column>
+        <f:facet name="footer">
+            <h:outputText value="Footer" />
+        </f:facet>
+    </t:tree>
+</h:form>
+
+<jsp:include page="inc/mbean_source.jsp"/>    
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/treeTable.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/validate.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/validate.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/validate.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/validate.jsp Thu Sep 21 18:28:44 2006
@@ -1,101 +1,101 @@
-<%@ page import="java.math.BigDecimal,
-                 java.util.Date" %>
-<%@ page session="false" contentType="text/html;charset=utf-8" %>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
-<html>
-
-<%@ include file="inc/head.inc" %>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-//-->
-
-<body>
-
-<!--
-managed beans used:
-    validateForm
--->
-
-<f:view>
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
-    <h:panelGroup id="body">
-
-        <t:messages showDetail="true" showSummary="false"/>
-
-        <h:form id="form1">
-            <h:panelGrid columns="3">
-
-                <h:outputLabel for="email" value="#{example_messages['validate_email']}"/>
-                <h:inputText id="email" value="#{validateForm.email}" required="true">
-                    <f:validator validatorId="org.apache.myfaces.validator.Email"/>
-                </h:inputText>
-                <t:message id="emailError" for="email" styleClass="error"/>
-
-                <h:outputLabel for="email2" value="#{example_messages['validate_email']}2"/>
-                <h:inputText id="email2" value="#{validateForm.email2}" required="true">
-                    <t:validateEmail detailMessage="Not a valid email address."/>
-                </h:inputText>
-                <t:message id="emailError2" for="email2" styleClass="error"/>
-
-                <h:outputLabel for="creditCardNumber" value="#{example_messages['validate_credit']}"/>
-                <h:inputText id="creditCardNumber" value="#{validateForm.creditCardNumber}" required="true">
-                    <t:validateCreditCard detailMessage='#{"{0} is not a valid credit card number."}'/>
-                </h:inputText>
-                <t:message id="creditCardNumberError" for="creditCardNumber" styleClass="error"/>
-
-                <h:outputLabel for="regExprValue" value="#{example_messages['validate_regexp']}"/>
-                <h:inputText id="regExprValue" value="#{validateForm.regExpr}" required="true">
-                    <t:validateRegExpr pattern='\d{5}' detailMessage='#{"{0} is not valid in this field." }'/>
-                </h:inputText>
-                <t:message id="regExprValueError" for="regExprValue" styleClass="error"/>
-
-                <h:outputLabel for="equal" value="#{example_messages['validate_equal']}"/>
-                <h:inputText id="equal" value="#{validateForm.equal}" required="true"/>
-                <t:message id="equalError" for="equal" styleClass="error"/>
-
-                <h:outputLabel for="equal2" value="#{example_messages['validate_equal']}2"/>
-                <h:inputText id="equal2" value="#{validateForm.equal2}" required="true">
-                    <t:validateEqual for="equal"
-                                     summaryMessage='#{"Value {0} should equal {1}"}'
-                                     detailMessage='#{"The value of this field, {0}, should equal the value of that other field, {1}"}'/>
-                </h:inputText>
-                <t:message id="equal2Error" for="equal2" styleClass="error"/>
-
-                <h:panelGroup/>
-                <h:commandButton id="validateButton" value="#{example_messages['button_submit']}"
-                                 action="#{validateForm.submit}"/>
-                <h:panelGroup/>
-
-            </h:panelGrid>
-        </h:form>
-
-    </h:panelGroup>
-
-    <jsp:include page="inc/mbean_source.jsp"/>        
-
-</f:view>
-
-<%@ include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page import="java.math.BigDecimal,
+                 java.util.Date" %>
+<%@ page session="false" contentType="text/html;charset=utf-8" %>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
+<html>
+
+<%@ include file="inc/head.inc" %>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<body>
+
+<!--
+managed beans used:
+    validateForm
+-->
+
+<f:view>
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+    <h:panelGroup id="body">
+
+        <t:messages showDetail="true" showSummary="false"/>
+
+        <h:form id="form1">
+            <h:panelGrid columns="3">
+
+                <h:outputLabel for="email" value="#{example_messages['validate_email']}"/>
+                <h:inputText id="email" value="#{validateForm.email}" required="true">
+                    <f:validator validatorId="org.apache.myfaces.validator.Email"/>
+                </h:inputText>
+                <t:message id="emailError" for="email" styleClass="error"/>
+
+                <h:outputLabel for="email2" value="#{example_messages['validate_email']}2"/>
+                <h:inputText id="email2" value="#{validateForm.email2}" required="true">
+                    <t:validateEmail detailMessage="Not a valid email address."/>
+                </h:inputText>
+                <t:message id="emailError2" for="email2" styleClass="error"/>
+
+                <h:outputLabel for="creditCardNumber" value="#{example_messages['validate_credit']}"/>
+                <h:inputText id="creditCardNumber" value="#{validateForm.creditCardNumber}" required="true">
+                    <t:validateCreditCard detailMessage='#{"{0} is not a valid credit card number."}'/>
+                </h:inputText>
+                <t:message id="creditCardNumberError" for="creditCardNumber" styleClass="error"/>
+
+                <h:outputLabel for="regExprValue" value="#{example_messages['validate_regexp']}"/>
+                <h:inputText id="regExprValue" value="#{validateForm.regExpr}" required="true">
+                    <t:validateRegExpr pattern='\d{5}' detailMessage='#{"{0} is not valid in this field." }'/>
+                </h:inputText>
+                <t:message id="regExprValueError" for="regExprValue" styleClass="error"/>
+
+                <h:outputLabel for="equal" value="#{example_messages['validate_equal']}"/>
+                <h:inputText id="equal" value="#{validateForm.equal}" required="true"/>
+                <t:message id="equalError" for="equal" styleClass="error"/>
+
+                <h:outputLabel for="equal2" value="#{example_messages['validate_equal']}2"/>
+                <h:inputText id="equal2" value="#{validateForm.equal2}" required="true">
+                    <t:validateEqual for="equal"
+                                     summaryMessage='#{"Value {0} should equal {1}"}'
+                                     detailMessage='#{"The value of this field, {0}, should equal the value of that other field, {1}"}'/>
+                </h:inputText>
+                <t:message id="equal2Error" for="equal2" styleClass="error"/>
+
+                <h:panelGroup/>
+                <h:commandButton id="validateButton" value="#{example_messages['button_submit']}"
+                                 action="#{validateForm.submit}"/>
+                <h:panelGroup/>
+
+            </h:panelGrid>
+        </h:form>
+
+    </h:panelGroup>
+
+    <jsp:include page="inc/mbean_source.jsp"/>        
+
+</f:view>
+
+<%@ include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/validate.jsp
------------------------------------------------------------------------------
    svn:eol-style = native