You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/01/28 23:52:00 UTC

svn commit: r904288 [12/13] - in /myfaces/tomahawk/trunk/examples/simple20: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/myfaces/ src/main/java/org/apache/myfaces/examples/ src/main/java/org/apa...

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/testlist.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/testlist.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/testlist.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/testlist.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,64 @@
+<%@ 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>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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>
+
+
+

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/toggleLink.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/toggleLink.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/toggleLink.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/toggleLink.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,80 @@
+<%@ 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"%>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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>
+			<h:outputText value="Allows toggling between View/Edit modes. Click on the link to enter a value. An entry less than 5 characters triggers validation error. When the page is re-displayed after a validation error, the component 'remembers' that it is in Edit mode. "/>
+
+			<f:verbatim> <br/><br/> </f:verbatim>
+
+			<t:togglePanel>
+				<t:toggleLink for="code">
+					<h:outputText value="#{toggleBean.testValue}"/>
+				</t:toggleLink>
+
+				<t:inputText
+					id="code"
+					value="#{toggleBean.testValue}"
+					required="true"
+					style="font-color:red"
+					size="6">
+		        	<f:validateLength minimum="5"/>
+				</t:inputText>
+			</t:togglePanel>
+			<t:messages showDetail="true"/>
+			<h:commandButton value="Update"/>
+			
+			<f:verbatim> <br/><hr/><br/> </f:verbatim>
+
+			<t:togglePanel>
+				<t:toggleGroup>
+					<h:outputLabel for="fullName" value="Full Name (click to edit) "/>
+					<t:toggleLink for="editNames" onclick="return confirm('do you really want to edit this stuff?')">
+						<h:outputText id="fullName" value="#{toggleBean.firstName} #{toggleBean.lastName}"/>
+					</t:toggleLink>
+				</t:toggleGroup>
+
+				<t:div id="editNames">
+					<h:outputLabel for="firstName" value="First Name"/>
+					<t:inputText id="firstName"	value="#{toggleBean.firstName}"/>
+
+					<h:outputLabel for="lastName" value="Last Name"/>
+					<t:inputText id="lastName"	value="#{toggleBean.lastName}"/>
+
+					<h:commandButton value="Update"/>	
+				</t:div>
+			</t:togglePanel>
+
+		</h:form>
+	</f:view>
+</body>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</html>
\ No newline at end of file

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,52 @@
+<%@ 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>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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="#{tree1Backer.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>

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,148 @@
+<%@ 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"%>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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>
+

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2ExpandAll.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2ExpandAll.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2ExpandAll.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2ExpandAll.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,103 @@
+<%@ 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"%>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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>
+

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2HideRoot.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2HideRoot.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2HideRoot.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2HideRoot.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,97 @@
+<%@ 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"%>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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/showRootNode=false</b><br/>
+    </span>
+    <br/>
+
+    <t:tree2 id="clientTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" showRootNode="false">
+        <f:facet name="person">
+            <h:panelGroup>
+                <f:facet name="expand">
+                    <t:graphicImage value="images/person.png" rendered="#{t.nodeExpanded}" border="0"/>
+                </f:facet>
+                <f:facet name="collapse">
+                    <t:graphicImage value="images/person.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>
+
+</h:form>
+
+<jsp:include page="inc/mbean_source.jsp"/>    
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>
+

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NiceWrap.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NiceWrap.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NiceWrap.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NiceWrap.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,91 @@
+<%@ 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"%>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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/nice wrap</b><br/>
+    </span>
+    <br/>
+
+    <h:panelGrid width="200">
+        <t:tree2 id="wrapTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" clientSideToggle="false">
+            <f:facet name="person">
+                <h:panelGrid id="a" columns="2" cellpadding="0" cellspacing="0">
+                    <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:panelGrid>
+            </f:facet>
+            <f:facet name="foo-folder">
+                <h:panelGrid id="b" columns="2" cellpadding="2" cellspacing="0">
+                    <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:panelGroup>
+                        <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                        <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+                    </h:panelGroup>
+                </h:panelGrid>
+            </f:facet>
+            <f:facet name="bar-folder">
+                <h:panelGrid id="c" columns="2" cellpadding="2" cellspacing="0">
+                    <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:panelGroup>
+                        <h:outputText value="#{node.description}" styleClass="nodeFolder"/>
+                        <h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
+                    </h:panelGroup>
+                </h:panelGrid>
+            </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:panelGrid>
+    
+</h:form>
+
+<jsp:include page="inc/mbean_source.jsp"/>    
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>
+

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NoNav.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NoNav.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NoNav.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/tree2NoNav.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,89 @@
+<%@ 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"%>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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>
+

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/treeTable.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/treeTable.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/treeTable.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/treeTable.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,77 @@
+<%@ 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>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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>

Added: myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/validate.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/validate.jsp?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/validate.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/main/webapp/validate.jsp Thu Jan 28 22:51:42 2010
@@ -0,0 +1,104 @@
+<%@ 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" %>
+
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/FormAddNumbersTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/FormAddNumbersTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/FormAddNumbersTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/FormAddNumbersTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,64 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>FormAddNumbersTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">FormAddNumbersTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Sample 1</td>
+	<td></td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>form1:number1</td>
+	<td>3</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>form1:number2</td>
+	<td>21</td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>form1:addButton</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//span[@id="form1:result"]</td>
+	<td>24</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>form1:number1</td>
+	<td>10</td>
+</tr>
+<tr>
+	<td>type</td>
+	<td>form1:number2</td>
+	<td>50</td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Add them by clicking this link</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//span[@id="form1:result"]</td>
+	<td>60</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/PopupTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/PopupTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/PopupTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/PopupTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,91 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>PopupTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">PopupTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Popup</td>
+	<td></td>
+</tr>
+<!--Mouse over the first line-->
+<tr>
+	<td>mouseOver</td>
+	<td>id=ox</td>
+	<td></td>
+</tr>
+<!--Assert that only the popup with id 'x' is visible-->
+<tr>
+	<td>assertVisible</td>
+	<td>id=x</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertNotVisible</td>
+	<td>id=y</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertNotVisible</td>
+	<td>id=z</td>
+	<td></td>
+</tr>
+<!--Mouse over the second line-->
+<tr>
+	<td>mouseOver</td>
+	<td>id=oy</td>
+	<td></td>
+</tr>
+<!--Assert that only the popup with id 'y' is visible-->
+<tr>
+	<td>assertNotVisible</td>
+	<td>id=x</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertVisible</td>
+	<td>id=y</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertNotVisible</td>
+	<td>id=z</td>
+	<td></td>
+</tr>
+<!--Mouse over the third line-->
+<tr>
+	<td>mouseOver</td>
+	<td>id=oz</td>
+	<td></td>
+</tr>
+<!--Assert that only the popup with id 'z' is visible-->
+<tr>
+	<td>assertNotVisible</td>
+	<td>id=x</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertNotVisible</td>
+	<td>id=y</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertVisible</td>
+	<td>id=z</td>
+	<td></td>
+</tr>
+<!-- TODO: Mouse over the text with no id-->
+<!-- TODO: Assert that the 'no id popup text' is visible -->
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite-FireFox.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite-FireFox.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite-FireFox.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite-FireFox.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,15 @@
+
+<html>
+   <body>
+      <table>
+         <tr>
+            <td>Test that should pass in FireFox, but fail in an other browser</td>
+         </tr>
+         <tr>
+            <td>
+               <a href="hFormTest-FireFox.html">hForm</a>
+           </td>
+         </tr>
+      </table>
+   </body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/TestSuite.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,80 @@
+
+<html>
+   <body>
+      <table>
+         <tr>
+            <td>Tomahawk Simple Example Tests</td>
+         </tr>
+         <tr>
+            <td>
+               <a href="FormAddNumbersTest.html">Form Add Numbers Test</a>
+            </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="Tree2NoNavTest.html">Tree2 (no nav icons) Test</a>
+            </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="PopupTest.html">Popup Test</a>
+            </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="hGraphicImageTest.html">hGraphicImage</a>
+           </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="hOutputTextTest.html">hOutputText</a>
+           </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="hOutputLabelTest.html">hOutputLabel</a>
+           </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="hOutputLinkTest.html">hOutputLink</a>
+           </td>
+         </tr>
+         <tr>
+           <td>
+               <a href="hFormTest.html">hForm</a>
+           </td>
+         </tr>
+         <tr>
+           <td>
+               <a href="hCommandButtonTest.html">hCommandButton</a>
+           </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="hPanelGridTest.html">hpanelGrid</a>
+           </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="tOutputTextTest.html">tOutputText</a>
+           </td>
+         </tr>
+         <tr>
+           <td>
+               <a href="hFormWithInputsTest.html">hForm with Inputs</a>
+           </td>
+         </tr>
+         <tr>
+           <td>
+               <a href="hFormWithSelectsTest.html">hForm with Selects</a>
+           </td>
+         </tr>
+         <tr>
+            <td>
+               <a href="tPanelNavigation2Test.html">tPanelNavigation2</a>
+            </td>
+         </tr>
+     </table>
+   </body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/Tree2NoNavTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/Tree2NoNavTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/Tree2NoNavTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/Tree2NoNavTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,83 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Tree2NoNavTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Tree2NoNavTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>clickAndWait</td>
+	<td>link=Tree2 (no nav icons)</td>
+	<td></td>
+</tr>
+<!--Click the 'Inbox' icon-->
+<tr>
+	<td>clickAndWait</td>
+	<td>//a[@id='_idJsp0:serverTree:0:_idJsp8']</td>
+	<td></td>
+</tr>
+<!--Verify that two nodes appear-->
+<tr>
+	<td>assertTextPresent</td>
+	<td>Frank Foo</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertTextPresent</td>
+	<td>Betty Bar</td>
+	<td></td>
+</tr>
+<!--Click the 'Frank Foo' folder icon.-->
+<tr>
+	<td>clickAndWait</td>
+	<td>//a[@id='_idJsp0:serverTree:0:0:_idJsp2']</td>
+	<td></td>
+</tr>
+<!--Use xpath to verify the text on the first node.-->
+<tr>
+	<td>assertText</td>
+	<td>//form/span/table[3]/tbody/tr/td[3]/span</td>
+	<td>Requires Foo</td>
+</tr>
+<!--Verify the folder icon for 'Requires Foo Reviewer'-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//a[@id='_idJsp0:serverTree:0:0:1:_idJsp8']</td>
+	<td></td>
+</tr>
+<!--No id for the folder icon or the span with text-->
+<tr>
+	<td>assertTextPresent</td>
+	<td>Requires Foo Recommendation</td>
+	<td></td>
+</tr>
+<!--Verify the folder icon for 'Requires Foo Approval'-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//a[@id='_idJsp0:serverTree:0:0:3:_idJsp8']</td>
+	<td></td>
+</tr>
+<!--Verify the folder icon for 'Requires Bar Processing'-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//a[@id='_idJsp0:serverTree:0:0:4:_idJsp15']</td>
+	<td></td>
+</tr>
+<!--Verify the folder icon for 'Requires Bar Approval'-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//a[@id='_idJsp0:serverTree:0:0:5:_idJsp15']</td>
+	<td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hCommandButtonTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hCommandButtonTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hCommandButtonTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hCommandButtonTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,64 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hCommandButton</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hCommandButton</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hCommandButton.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButton']@value</td>
+	<td>Default</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButtonImage']@type</td>
+	<td>image</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButtonImage']@src</td>
+	<td>regexp:(http:\/\/*|)\/images\/logo.jpg</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButtonImage']@alt</td>
+	<td>Alt</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButtonTitle']@title</td>
+	<td>Popup Title</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButtonReset']@type</td>
+	<td>reset</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButtonSubmit']@type</td>
+	<td>submit</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id='commandButtonForm:commandButtonTabIndex']@tabindex</td>
+	<td>4</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest-FireFox.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest-FireFox.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest-FireFox.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest-FireFox.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,36 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hFormText</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hFormText</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hForm.jsf</td>
+	<td></td>
+</tr>
+<!--Test basicForm-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//form[@id='basicForm']</td>
+	<td></td>
+</tr>
+
+<!--Test formWithAttributes-->
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@accept-charset</td>
+	<td>charSet</td>
+</tr>
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,84 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hFormText</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hFormText</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hForm.jsf</td>
+	<td></td>
+</tr>
+<!--Test basicForm-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//form[@id='basicForm']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementPresent</td>
+	<td>//span[@id='basicForm:hOutputText']</td>
+	<td></td>
+</tr>
+<!--Test nonRenderedForm-->
+<tr>
+	<td>assertElementNotPresent</td>
+	<td>//form[@id='nonRenderedForm']</td>
+	<td></td>
+</tr>
+<!--Test formWithAttributes-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//form[@id='formWithAttributes']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementPresent</td>
+	<td>//span[@id='formWithAttributes:hOutputText']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@target</td>
+	<td>formFrame</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@accept</td>
+	<td>contentType</td>
+</tr>
+<!-- IE - it appears the attribute 'accept-charset' is not available
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@accept-charset</td>
+	<td>charSet</td>
+</tr>
+-->
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@enctype</td>
+	<td>encodeType</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@onreset</td>
+	<td>glob:*Alert('onReset');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//form[@id='formWithAttributes']@onsubmit</td>
+	<td>glob:*Alert('onSubmit');*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithInputsTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithInputsTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithInputsTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithInputsTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,232 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hFormWithInputsTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hFormWithInputsTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hFormWithInputs.jsf</td>
+	<td></td>
+</tr>
+<!-- Testing h:OutputLabel and h:InputText -->
+<tr>
+	<td>verifyElementPresent</td>
+	<td>textInputForm:hOutputText</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//label[@id="textInputForm:hOutputLabel"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//label[@id="textInputForm:hOutputLabel"]</td>
+	<td>Label</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//label[@id="textInputForm:hOutputLabel"]@for</td>
+	<td>textInputForm:hInputText</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputText"]@name</td>
+	<td>textInputForm:hInputText</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputText"]@type</td>
+	<td>text</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputText"]@value</td>
+	<td>text value</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>textInputForm:hInputText</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@type</td>
+	<td>text</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@value</td>
+	<td>text value</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@accesskey</td>
+	<td>K</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@alt</td>
+	<td>altText</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@dir</td>
+	<td>ltr</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@lang</td>
+	<td>en</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@maxlength</td>
+	<td>100</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onblur</td>
+	<td>onBlur</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onchange</td>
+	<td>onChange</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onfocus</td>
+	<td>onFocus</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onkeyup</td>
+	<td>onKeyUp</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onkeydown</td>
+	<td>onKeyDown</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmousedown</td>
+	<td>onMouseDown</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmouseup</td>
+	<td>onMouseUp</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmouseover</td>
+	<td>onMouseOver</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onmouseout</td>
+	<td>onMouseOut</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@onselect</td>
+	<td>onSelect</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@size</td>
+	<td>10</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@style</td>
+	<td>regexp:(\[object\]|font-weight: bold;)</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@class</td>
+	<td>Class</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@tabindex</td>
+	<td>7</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hInputTextWithAttributes"]@title</td>
+	<td>thisTitle</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//input[@id="textInputForm:hReadOnlyInputText"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hReadOnlyInputText"]@readonly</td>
+	<td>readonly</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//input[@id="textInputForm:hDisabledInputText"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="textInputForm:hDisabledInputText"]@disabled</td>
+	<td>disabled</td>
+</tr>
+<!-- Testing h:inputTextArea -->
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextarea"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextarea"]</td>
+	<td>Text Area</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]</td>
+	<td>Text Area with attributes</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]@cols</td>
+	<td>5</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//textarea[@id="textAreaInputForm:hInputTextareaWithAttributes"]@rows</td>
+	<td>10</td>
+</tr>
+
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithSelectsTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithSelectsTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithSelectsTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hFormWithSelectsTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,168 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hFormWithSelectsTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hFormWithSelectsTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hFormWithSelects.jsf</td>
+	<td></td>
+</tr>
+<!-- Testing h:selectBooleanCheckbox -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxFalse"]@type</td>
+	<td>checkbox</td>
+</tr>
+<tr>
+	<td>verifyValue</td>
+	<td>//input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxFalse"]</td>
+	<td>off</td>
+</tr>
+<tr>
+	<td>verifyValue</td>
+	<td>//input[@id="selectBooleanCheckboxForm:hSelectBooleanCheckboxTrue"]</td>
+	<td>on</td>
+</tr>
+<!-- Testing h:selectManyCheckbox -->
+<tr>
+	<td>verifyElementPresent</td>
+	<td>document.forms[1].elements['selectManyCheckboxForm:hSelectManyCheckbox'][0]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyTable</td>
+	<td>selectManyCheckboxForm:hSelectManyCheckbox.0.0</td>
+	<td>Check Box 1</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@name="selectManyCheckboxForm:hSelectManyCheckbox" and @value="CB2"]@disabled</td>
+	<td>glob:*</td>
+</tr>
+<!-- Testing h:selectManyCheckbox  Page Direction -->
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//table[@id="selectManyCheckboxPageDirectionForm:hSelectManyCheckbox"]//tr[5]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementNotPresent</td>
+	<td>//table[@id="selectManyCheckboxPageDirectionForm:hSelectManyCheckbox"]//tr[6]</td>
+	<td></td>
+</tr>
+<!-- Testing h:selectManyCheckbox  Line Direction -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]@border</td>
+	<td>3</td>
+</tr>
+<tr>
+	<td>verifyElementPresent</td>
+	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr/td[5]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementNotPresent</td>
+	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr/td[6]</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyElementNotPresent</td>
+	<td>//table[@id="selectManyCheckboxLineDirectionForm:hSelectManyCheckbox"]//tr[2]</td>
+	<td></td>
+</tr>
+<!-- Testing h:selectManyListBoxForm" -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]@size</td>
+	<td>2</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]@accesskey</td>
+	<td>A</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]@onselect</td>
+	<td>onSelect</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]/option[1]@value</td>
+	<td>LB1</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyListBoxForm:hSelectManyListbox"]//option[@value="LB2"]@disabled</td>
+	<td>glob:*</td>
+</tr>
+<!-- Testing h:selectManyMenuForm" -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyMenuForm:hSelectManyMenu"]@size</td>
+	<td>1</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyMenuForm:hSelectManyMenu"]@accesskey</td>
+	<td>A</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectManyMenuForm:hSelectManyMenu"]@onselect</td>
+	<td>onSelect</td>
+</tr>
+<!-- Testing h:selectOneListboxForm" -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectOneListBoxForm:hSelectOneListbox"]@size</td>
+	<td>10</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectOneListBoxForm:hSelectOneListbox"]@accesskey</td>
+	<td>A</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectOneListBoxForm:hSelectOneListbox"]@onselect</td>
+	<td>onSelect</td>
+</tr>
+<!-- Testing h:selectOneMenuForm" -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectOneMenuForm:hSelectOneMenu"]@size</td>
+	<td>1</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectOneMenuForm:hSelectOneMenu"]@accesskey</td>
+	<td>A</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//select[@name="selectOneMenuForm:hSelectOneMenu"]@onselect</td>
+	<td>onSelect</td>
+</tr>
+<!-- Testing h:selectOneRadioForm" -->
+<tr>
+	<td>verifyAttribute</td>
+	<td>//input[@name="selectOneRadioForm:hSelectOneRadio" and @value="RB1"]@type</td>
+	<td>radio</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hGraphicImageTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hGraphicImageTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hGraphicImageTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hGraphicImageTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,70 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hGraphicImage</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hGraphicImage</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hGraphicImage.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementPresent</td>
+	<td>//img[@id='graphicImageId']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@alt</td>
+	<td>alt text</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@class</td>
+	<td>imageClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@height</td>
+	<td>100</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@lang</td>
+	<td>en</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@longdesc</td>
+	<td>/testSuite/</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@src</td>
+	<td>regexp:(http:\/\/*|)\/myfaces-example-simple\/images\/logo.jpg</td>
+</tr>
+<!--Note: IE 6 and 7 returns the style attribute as [object] -->
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@style</td>
+	<td>regexp:(\[object\]|background-color: gray;)</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//img[@id='graphicImageId']@title</td>
+	<td>title text</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLabelTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLabelTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLabelTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLabelTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,39 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hOutputLabelTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hOutputLabelTest</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hOutputLabel.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//label[@for='outputLabelForm:inputText']</td>
+	<td>Label A</td>
+</tr>
+<tr>
+	<td>verifyText</td>
+	<td>//label[@for='outputLabelWithAttributesForm:inputTextB']</td>
+	<td>Label B</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//label[@for='outputLabelWithAttributesForm:inputTextB']@title</td>
+	<td>Title</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLinkTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLinkTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLinkTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputLinkTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,91 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hOutputLink</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hOutputLink</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hOutputLink.jsf</td>
+	<td></td>
+</tr>
+<!--Test basicForm-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//a[@id='hOutputLink']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementPresent</td>
+	<td>//span[@id='hOutputText']</td>
+	<td></td>
+</tr>
+<!--Test attributes-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//span[@id='hOutputText']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@target</td>
+	<td>targetWindow</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@type</td>
+	<td>contentType</td>
+</tr>
+<!-- Using glob: and ? instead or &amp; for second parameter due to IE -->
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@href</td>
+	<td>glob:http://myfaces.apache.org/index.html?param1=value1?param2=value2</td>
+</tr>
+<!-- Does not work with IE
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@onblur</td>
+	<td>glob:*Alert('onBlur');*</td>
+</tr>
+-->
+<!-- Does not work with IE
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@onfocus</td>
+	<td>glob:*Alert('onFocust');*</td>
+</tr>
+-->
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@coords</td>
+	<td>1,2</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@hreflang</td>
+	<td>en</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@rev</td>
+	<td>http://foo.bar.com</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//a[@id='hOutputLink']@shape</td>
+	<td>square</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputTextTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputTextTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputTextTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hOutputTextTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,69 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hOutputText</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hOutputText</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hOutputText.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementPresent</td>
+	<td>//span[@id='outputText']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//span[@id='outputText']</td>
+	<td>text</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='outputText']@class</td>
+	<td>class</td>
+</tr>
+<tr>
+	<td>verifyAttribute</td>
+	<td>//span[@id='outputText']@style</td>
+	<td>regexp:(\[object\]|background-color: gray;)</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='outputText']@title</td>
+	<td>title</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//span[@id='renderedTrue']</td>
+	<td>You should see this</td>
+</tr>
+<tr>
+	<td>assertElementNotPresent</td>
+	<td>//span[@id='renderedFalse']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//span[@id='escape']</td>
+	<td>10 &amp;gt; 5</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//span[@id='notEscape']</td>
+	<td>10 > 5</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hPanelGridTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hPanelGridTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hPanelGridTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/hPanelGridTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,190 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hPanelGridTest</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hPanelGridTest</td></tr>
+</thead><tbody>
+<!--
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+//-->
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<!-- Load page to be tested-->
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/hPanelGrid.jsf</td>
+	<td></td>
+</tr>
+<!-- Test hPanelGrid -->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//table[@id='hPanelGrid']</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']@class</td>
+	<td>tableClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']@lang</td>
+	<td>en</td>
+</tr>
+<!--Note: IE 6 and 7 returns the style attribute as [object] -->
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']@style</td>
+	<td>regexp:(\[object\]|background-color: silver;)</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']@summary</td>
+	<td>exact:h:panelGrid Summary</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']@title</td>
+	<td>exact:h:panelGrid Title</td>
+</tr>
+<!-- Test hPanelGrid Header -->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//table[@id='hPanelGrid']/thead</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementPresent</td>
+	<td>//table[@id='hPanelGrid']/thead/tr/th</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/thead/tr/th@class</td>
+	<td>tableHeaderClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/thead/tr/th@colspan</td>
+	<td>4</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/thead/tr/th@scope</td>
+	<td>colgroup</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//table[@id='hPanelGrid']/thead/tr/th</td>
+	<td>exact:Header for h:panelGrid</td>
+</tr>
+<!-- Test hPanelGrid Footer -->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//table[@id='hPanelGrid']/tfoot</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementPresent</td>
+	<td>//table[@id='hPanelGrid']/tfoot/tr/td</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tfoot/tr/td@class</td>
+	<td>tableFooterClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tfoot/tr/td@colspan</td>
+	<td>4</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//table[@id='hPanelGrid']/tfoot/tr/td</td>
+	<td>exact:Footer for h:panelGrid</td>
+</tr>
+<!-- Test hPanelGrid Body-->
+<tr>
+	<td>assertElementPresent</td>
+	<td>//table[@id='hPanelGrid']/tbody</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[1]@class</td>
+	<td>oddRowClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[2]@class</td>
+	<td>evenRowClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[3]@class</td>
+	<td>oddRowClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[4]@class</td>
+	<td>evenRowClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[1]/td[1]@class</td>
+	<td>oddColumnClass</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[1]/td[2]@class</td>
+	<td>evenColumnClass</td>
+</tr>
+<tr>
+	<td>assertElementNotPresent</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[1]/td[3]@class</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertElementNotPresent</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[1]/td[4]@class</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[1]/td[4]</td>
+	<td>exact:1.4</td>
+</tr>
+<tr>
+	<td>assertText</td>
+	<td>//table[@id='hPanelGrid']/tbody/tr[4]/td[1]</td>
+	<td>exact:4.1</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>

Added: myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/tOutputTextTest.html
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/tOutputTextTest.html?rev=904288&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/tOutputTextTest.html (added)
+++ myfaces/tomahawk/trunk/examples/simple20/src/test/selenium/tOutputTextTest.html Thu Jan 28 22:51:42 2010
@@ -0,0 +1,89 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>hOutputText</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">hOutputText</td></tr>
+</thead><tbody>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/home.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>open</td>
+	<td>/myfaces-example-simple/testSuite/tOutputText.jsf</td>
+	<td></td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='lang']@lang</td>
+	<td>en</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='dirLtr']@dir</td>
+	<td>ltr</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='dirRtl']@dir</td>
+	<td>rtl</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='click']@onclick</td>
+	<td>glob:*alert('You Clicked');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='dblclick']@ondblclick</td>
+	<td>glob:*alert('You Double Clicked');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='mouseDown']@onmousedown</td>
+	<td>glob:*alert('You Mouse Downed');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='mouseUp']@onmouseup</td>
+	<td>glob:*alert('You Mouse Uped');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='mouseOver']@onmouseover</td>
+	<td>glob:*alert('Your Mouse Overed');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='mouseMove']@onmousemove</td>
+	<td>glob:*alert('Your Mouse Moved');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='mouseOut']@onmouseout</td>
+	<td>glob:*alert('Your Mouse Moved Out');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='keyPress']@onkeypress</td>
+	<td>glob:*alert('You Key Pressed');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='keyDown']@onkeydown</td>
+	<td>glob:*alert('You Key Downed');*</td>
+</tr>
+<tr>
+	<td>assertAttribute</td>
+	<td>//span[@id='keyUp']@onkeyup</td>
+	<td>glob:*alert('You Key Uped');*</td>
+</tr>
+
+</tbody></table>
+</body>
+</html>