You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2006/12/18 13:47:41 UTC
svn commit: r488257 -
/myfaces/tobago/trunk/example/sandbox/src/main/webapp/tree.jsp
Author: lofwyr
Date: Mon Dec 18 04:47:41 2006
New Revision: 488257
URL: http://svn.apache.org/viewvc?view=rev&rev=488257
Log:
one node more
Modified:
myfaces/tobago/trunk/example/sandbox/src/main/webapp/tree.jsp
Modified: myfaces/tobago/trunk/example/sandbox/src/main/webapp/tree.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/sandbox/src/main/webapp/tree.jsp?view=diff&rev=488257&r1=488256&r2=488257
==============================================================================
--- myfaces/tobago/trunk/example/sandbox/src/main/webapp/tree.jsp (original)
+++ myfaces/tobago/trunk/example/sandbox/src/main/webapp/tree.jsp Mon Dec 18 04:47:41 2006
@@ -15,9 +15,9 @@
* limitations under the License.
--%>
-<%@ page import="javax.swing.tree.DefaultMutableTreeNode" %>
-<%@ page import="org.apache.myfaces.tobago.model.TreeState" %>
<%@ page import="org.apache.myfaces.tobago.example.sandbox.Node" %>
+<%@ page import="org.apache.myfaces.tobago.model.TreeState" %>
+<%@ page import="javax.swing.tree.DefaultMutableTreeNode" %>
<%
// tree
@@ -86,7 +86,9 @@
<tcs:treeNode label="Action 2" action="#{controller.action2}" id="action2"/>
<tcs:treeNode label="Action 3" action="#{controller.action3}" id="action3">
<tcs:treeNode label="On Click 1" onclick="alert('On Click 1');" id="click1"/>
- <tcs:treeNode label="On Click 2" onclick="alert('On Click 2');" id="click2"/>
+ <tcs:treeNode label="On Click 2" onclick="alert('On Click 2');" id="click2">
+ <tcs:treeNode label="On Click 3" onclick="alert('On Click 3');" id="click3"/>
+ </tcs:treeNode>
</tcs:treeNode>
<tcs:treeNode label="Link" link="http://myfaces.apache.org/tobago/" id="link"/>
</tcs:treeNode>