Author: atsebro
Date: 2009-03-27 10:24:28 -0400 (Fri, 27 Mar 2009)
New Revision: 13257
Added:
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/Hujations.java
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/hujations.xml
Log:
RF-5768: Real World Demo Application Tutorial Update for 3.3.1 release
Added:
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/Hujations.java
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/Hujations.java
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/Hujations.java 2009-03-27
14:24:28 UTC (rev 13257)
@@ -0,0 +1,24 @@
+package org.docs.tree;
+
+import org.richfaces.model.TreeNode;
+import org.richfaces.component.xml.XmlTreeDataBuilder;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import java.io.IOException;
+
+public class Hujations {
+
+ private TreeNode data;
+
+ public Hujations() throws SAXException, IOException {
+ data = XmlTreeDataBuilder.build(new
InputSource(getClass().getResourceAsStream("hujations.xml")));
+ }
+
+ public void setData(TreeNode data) {
+ this.data = data;
+ }
+
+ public TreeNode getData() {
+ return data;
+ }
+ }
Added:
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/hujations.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/hujations.xml
(rev 0)
+++
trunk/test-applications/richfaces-docs/web/src/main/java/org/docs/tree/hujations.xml 2009-03-27
14:24:28 UTC (rev 13257)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<hujations>
+ <song>List</song>
+ <song>Dance</song>
+ <song>It</song>
+ <song>Eyes</song>
+ <song>Up</song>
+</hujations>
\ No newline at end of file
Show replies by date