Issue Details (XML | Word | Printable)

Key: WW-1293
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: tm_jee
Reporter: marian
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Struts 2

Tree Tag dont have documentation and examples!

Created: 21/Apr/06 05:40 PM   Updated: 21/May/06 12:20 AM
Return to search
Component/s: Documentation, Example Applications
Affects Version/s: WW 2.2.2
Fix Version/s: 2.0.0

Flags: Important


 Description  « Hide
Jason Carreira promise "I put an example page in the tutorials and I'll write up some docs for it in the next few days. ". We are waiting, we need this!

[http://forums.opensymphony.com/thread.jspa?messageID=30591&#30591]


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Rainer Hermanns made changes - 26/Apr/06 10:44 PM
Field Original Value New Value
Fix Version/s 2.0 [ 21510 ]
tm_jee made changes - 28/Apr/06 10:44 PM
Assignee tm_jee [ tm_jee ]
Repository Revision Date User Message
Struts #408019 Sat May 20 16:14:37 UTC 2006 tmjee WW-1293
Files Changed
ADD /struts/action2/trunk/apps/showcase/src/main/java/org/apache/struts/action2/showcase/ShowDynamicTreeAction.java
MODIFY /struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-tags-ui.xml
ADD /struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/dynamicTreeSelect.jsp
ADD /struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleStatic.jsp
ADD /struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleDynamic.jsp
ADD /struts/action2/trunk/apps/showcase/src/main/java/org/apache/struts/action2/showcase/DynamicTreeSelectAction.java
ADD /struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/staticTreeSelect.jsp
MODIFY /struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators.xml
MODIFY /struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/index.jsp

tm_jee added a comment - 21/May/06 12:20 AM
Added example at SAF svn head.

changes are at :-

Added:
    struts/action2/trunk/apps/showcase/src/main/java/org/apache/struts/action2/showcase/DynamicTreeSelectAction.java (with props)
    struts/action2/trunk/apps/showcase/src/main/java/org/apache/struts/action2/showcase/ShowDynamicTreeAction.java (with props)
    struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/dynamicTreeSelect.jsp (with props)
    struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/staticTreeSelect.jsp (with props)
    struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleDynamic.jsp (with props)
    struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleStatic.jsp (with props)
Modified:
    struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/classes/xwork-tags-ui.xml
    struts/action2/trunk/apps/showcase/src/main/webapp/WEB-INF/decorators.xml
    struts/action2/trunk/apps/showcase/src/main/webapp/tags/ui/index.jsp

tm_jee made changes - 21/May/06 12:20 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Repository Revision Date User Message
Struts #414297 Wed Jun 14 15:38:38 UTC 2006 tmjee WW-1293
 - improved javadoc / snippet by having more description and more
   example (static tree and dynamic tree)
 - corrected some mistake in javadoc
 - altered tree.ftl to avoid the possibility of id attribute to be printed twice
Files Changed
MODIFY /struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/TreeNode.java
MODIFY /struts/action2/trunk/core/src/main/resources/template/ajax/tree.ftl
MODIFY /struts/action2/trunk/core/src/main/java/org/apache/struts/action2/views/jsp/ui/TreeNodeTag.java
MODIFY /struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/Tree.java

Repository Revision Date User Message
Struts #414299 Wed Jun 14 15:43:39 UTC 2006 tmjee WW-1293
 - while altering tree.ftl to avoid possiblity of id attribute being
   printed twice, some test case failed.
 - just a minor reordering, tilte attribute comes first then id instead
   of previously where id comes first followed by title attribute
Files Changed
MODIFY /struts/action2/trunk/core/src/test/resources/org/apache/struts/action2/views/jsp/ui/tree-1.txt

Don Brown made changes - 08/Jan/07 06:21 PM
Workflow jira [ 35276 ] Struts [ 40357 ]
Jeff Turner made changes - 09/Aug/07 07:21 AM
Workflow Struts [ 40357 ] Struts - editable closed status [ 43861 ]
Antonio Petrelli made changes - 08/Jan/09 08:58 AM
Workflow Struts - editable closed status [ 43861 ] Struts - editable closed status (temporary) [ 48264 ]
Antonio Petrelli made changes - 08/Jan/09 09:05 AM
Workflow Struts - editable closed status (temporary) [ 48264 ] Struts - editable closed status [ 51480 ]