You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Session A Mwamufiya <sm...@andrew.cmu.edu> on 2007/07/18 16:14:11 UTC

tree view in struts

Hi All,

Has anyone come across an struts 2 example that uses a tree viewer to represent categories and questions, like what eclipse has for its online help webpage.  I'd like to copy a similar example for a project I'm working on.  Any help would be much appreciated.

Thanks,
Session


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: tree view in struts

Posted by Session A Mwamufiya <sm...@andrew.cmu.edu>.
Hi Laurie,

Thanks for the link.  I tried to follow the instructions there, but I can't get it to work:
- I created the same exact TreeModel class, and added the getters and setters
- I set up my action with a tree element, and I have a function that populates that element with data and some children nodes.
- I copied to my jsp the exact same code for the tree

My page remains blank when I run the code.  Would you know of any useful tutorials for this?  Just something really straight forward that doesn't hide all the stuff that you may need to know to get it to work.

Thanks,
Session


> Session A Mwamufiya wrote:
>> Hi All,
>> 
>> Has anyone come across an struts 2 example that uses a tree viewer to
>> represent categories and questions, like what eclipse has for its
>> online help webpage.  I'd like to copy a similar example for a project
>> I'm working on.  Any help would be much appreciated.
> 
> Is this what you're looking for? 
> http://struts.apache.org/2.x/docs/tree.html
> 
> 
> ObWhine: please don't post unrelated questions to an existing thread. Be 
> sure to start a new thread (with an appropriate subject) by sending a 
> fresh message to the list, rather than using Reply To.
> 
> L.
> 
> 
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional
> commands, e-mail: user-help@struts.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: tree view in struts

Posted by Laurie Harper <la...@holoweb.net>.
Session A Mwamufiya wrote:
> Hi All,
> 
> Has anyone come across an struts 2 example that uses a tree viewer to represent categories and questions, like what eclipse has for its online help webpage.  I'd like to copy a similar example for a project I'm working on.  Any help would be much appreciated.

Is this what you're looking for?
http://struts.apache.org/2.x/docs/tree.html


ObWhine: please don't post unrelated questions to an existing thread. Be 
sure to start a new thread (with an appropriate subject) by sending a 
fresh message to the list, rather than using Reply To.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org