Urgent help with treeview

2007-07-30 Thread Session A Mwamufiya
Hi All,

I'm sorry to keep harassing everyone with my need for a treeview tutorial.  I 
have a module I would like to deliver in 2 days in which I need to make use of 
a tree viewer to represent data.  I have received links from others to demo 
pages of treeviews (thank you for that), but none of them can walk me through 
the process of setting up a tree view that is not static and that would make a 
call to a function to retrieve elements in a database.

Please, please, please, if you have worked with tree views before, please get 
in touch with me and show me how they are implemented in a step by step manner.

I imagine that it shouldn't be too long; I would think that it would have 
something along the lines of:
- jsp code to display the tree
- a struts 2 action to populate the tree from a database and handle 
interactions with the tree
- configuration of struts.xml

but I just don't know where to start.

If I was allowed only one post on this site, then this would be the most 
important one.

Many thanks, and sorry to have filled your email boxes today,
Session


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent help with treeview

2007-07-30 Thread Musachy Barroso
Have you looked at the examples in showcase? There is a tree there
that is populated on an action, all you would have to do is load the
data from your database, instead of returning static data as in the
example.

//I haven't seen any step by step tutorial on how to use the tree

musachy

On 7/30/07, Session A Mwamufiya [EMAIL PROTECTED] wrote:
 Hi All,

 I'm sorry to keep harassing everyone with my need for a treeview tutorial.  I 
 have a module I would like to deliver in 2 days in which I need to make use 
 of a tree viewer to represent data.  I have received links from others to 
 demo pages of treeviews (thank you for that), but none of them can walk me 
 through the process of setting up a tree view that is not static and that 
 would make a call to a function to retrieve elements in a database.

 Please, please, please, if you have worked with tree views before, please get 
 in touch with me and show me how they are implemented in a step by step 
 manner.

 I imagine that it shouldn't be too long; I would think that it would have 
 something along the lines of:
 - jsp code to display the tree
 - a struts 2 action to populate the tree from a database and handle 
 interactions with the tree
 - configuration of struts.xml

 but I just don't know where to start.

 If I was allowed only one post on this site, then this would be the most 
 important one.

 Many thanks, and sorry to have filled your email boxes today,
 Session


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Hey you! Would you help me to carry the stone? Pink Floyd

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent help with treeview

2007-07-30 Thread Session A Mwamufiya
I'm really losing my mind over this treeview.  I've tried every example online, 
but none of them give any walkthrough that can be followed to reproduce the 
feature; there are always a number of unusable elements that require other 
snippets of code that are not made available.

I checked out the dynamic tree view example in showcase, but there are 
humongous gaps between what is displayed in the source and what would be needed 
to make it work (only one out of the 4 or 5 actions is given, and we don't 
anything about the Category object).  I need something I can use.

There must be someone from apache on this forum; someone who wrote this 
showcase example maybe?  It's hard to believe that nobody has ever used a 
treeview.

Please help,
Session


 Have you looked at the examples in showcase? There is a tree there that is
 populated on an action, all you would have to do is load the data from
 your database, instead of returning static data as in the example.
 
 //I haven't seen any step by step tutorial on how to use the tree
 
 musachy
 
 On 7/30/07, Session A Mwamufiya [EMAIL PROTECTED] wrote:
 Hi All,
 
 I'm sorry to keep harassing everyone with my need for a treeview
 tutorial.  I have a module I would like to deliver in 2 days in which I
 need to make use of a tree viewer to represent data.  I have received
 links from others to demo pages of treeviews (thank you for that), but
 none of them can walk me through the process of setting up a tree view
 that is not static and that would make a call to a function to retrieve
 elements in a database.
 
 Please, please, please, if you have worked with tree views before,
 please get in touch with me and show me how they are implemented in a
 step by step manner.
 
 I imagine that it shouldn't be too long; I would think that it would
 have something along the lines of: - jsp code to display the tree - a
 struts 2 action to populate the tree from a database and handle
 interactions with the tree - configuration of struts.xml
 
 but I just don't know where to start.
 
 If I was allowed only one post on this site, then this would be the
 most important one.
 
 Many thanks, and sorry to have filled your email boxes today, Session
 
 
 - To
 unsubscribe, e-mail: [EMAIL PROTECTED] For additional
 commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -- Hey you! Would you help me to carry the stone? Pink Floyd
 
 - To
 unsubscribe, e-mail: [EMAIL PROTECTED] For additional
 commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent help with treeview

2007-07-30 Thread Aram Mkhitaryan
Have  you configured the s2 for the static content,
you should consider that ajax theme's js/css/img files should be loaded
properly.

Have you  looked at the generated sources or just the page is displayed  as
blank?

Best,
Aram

Aram Mkhitaryan

52, 25 Lvovyan, Yerevan 375000, Armenia

Mobile: +374 91 518456
E-mail: [EMAIL PROTECTED]