Deal of the Day

Home » Main » Manning Forums » 2005 » Struts Recipes

Thread: Example for treeview

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 7 - Pages: 1 - Last Post: Mar 4, 2010 4:49 AM by: pavan kumar reddy
oxyale

Posts: 2
Registered: 4/21/05
Example for treeview
Posted: Apr 21, 2005 10:23 PM
  Click to reply to this thread Reply

I have been struggling with the treeview navigation sample in the book. I get a servlet error: "menu repository not found". After parsing through the source, it's apparent that the pageContext attribute is not being found. I get this same error from any of the book's examples that cover treeview (customSkin, treeview navigation, etc). I was wondering if the authors would consider a sample for treeview, as they reference Constants that are not present, etc. I have the http://struts.application-servers.com example working but that is a lot to wade through, and it's already compiled code. Is there any chance the authors will supply a sample for this since I can't the book example to work.

danilo!


Posts: 18
From: Northridge, CA
Registered: 7/9/04
Re: Example for treeview
Posted: Apr 22, 2005 4:17 PM   in response to: oxyale in response to: oxyale
  Click to reply to this thread Reply

I've got it here somewhere. I know that it works because I generated my screenshots from them. We'll post a war this week!

Danilo

oxyale

Posts: 2
Registered: 4/21/05
Re: Example for treeview
Posted: Apr 28, 2005 2:51 PM   in response to: danilo! in response to: danilo!
  Click to reply to this thread Reply

Excellent! Will that be posted on the Manning/Struts Recipes/Source Code as something like "Treeview Navigation 4.7" or have you already posted it somewhere?

Thanks again.

atb-faltus

Posts: 1
Registered: 7/27/05
Re: Example for treeview
Posted: Jul 27, 2005 4:24 AM   in response to: oxyale in response to: oxyale
  Click to reply to this thread Reply

i've got the same problem with the treeview sample. is there any chance of getting a working piece of source code?

thanks in advance, stefan

danilo!


Posts: 18
From: Northridge, CA
Registered: 7/9/04
Re: Example for treeview
Posted: Jul 28, 2005 12:32 PM   in response to: atb-faltus in response to: atb-faltus
  Click to reply to this thread Reply

I'm sorry about not posting the code for this. No excuse that you guys need to hear about. Let me tackle this over the weekend!

sharath

Posts: 1
From: CA
Registered: 7/29/05
Re: Example for treeview
Posted: Jul 29, 2005 12:36 PM   in response to: danilo! in response to: danilo!
  Click to reply to this thread Reply

hi,
I downloaded the example stuff to create a treeview from http://struts.application-servers.com and when i try to run (/treeview.do , TreeviewAction.java ) the example , i hit with following exception...
"javax.servlet.ServletException: DispatchMapping[/treeview] does not define a handler property"

i do not understand cause of the problem , can any body clarify the above.

Thanks in advance.

danilo!


Posts: 18
From: Northridge, CA
Registered: 7/9/04
Re: Example for treeview
Posted: Aug 3, 2005 11:06 AM   in response to: sharath in response to: sharath
  Click to reply to this thread Reply
Attachment TreeApp.war (1.4 MB)

I'm posting an example of the Struts-Layout treeview as a war file now. THere are also a few other Struts-layout examples included:

Tree test
Skin test
Tab test
Pager test

Hope this helps.

pavan kumar reddy

Posts: 1
From: Hyderabad
Registered: 3/4/10
Re: Example for treeview
Posted: Mar 4, 2010 4:49 AM   in response to: oxyale in response to: oxyale
  Click to reply to this thread Reply

download complete working example for struts layout treeview example in the following url
http://softwares-list.blogspot.com/2010/02/struts-layout-tree-view-example.html

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor