aspose file tools*
The moose likes Struts and the fly likes Best Framework for Tabbed Dialogs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Best Framework for Tabbed Dialogs" Watch "Best Framework for Tabbed Dialogs" New topic
Author

Best Framework for Tabbed Dialogs

Dennis John
Greenhorn

Joined: Jan 30, 2004
Posts: 10
I would like to write an web application which simulates tabbed dialogs. Meaning the user can enter properties in one of say 4 different pages and the changes are saved but not processed till the OK or Apply buttons are pressed. However, I do not want a wizard like struts uses with the page variable. User should be able to jump from page to page in any order.
Also, the variables on the forms are completely dynamic and database driven, in struts terminology a map-based ActionForm.
I am familiar with struts but not the other frameworks. Which framework best lends itself to this architecture.
thanks,
Dennis
Neal Ford
Author
Ranch Hand

Joined: Oct 23, 2003
Posts: 82
Which framework best lends itself to this architecture.

Tapestry has an amazingly robust tabbed dialog component. While not automatically supporting your design, it would be easy to get it to handle it. Tapestry hides much of the request/response nature of the web from the developer, making it more like writing a desktop application. One of the samples that ships with Tapesty (and referred to in my book) uses a complex tabbed dialog-style interface.


Neal Ford<br />Author, <i>Art of Java Web Development: Struts, Tapestry, Commons, Velocity, JUnit, Axis, Cocoon, InternetBeans, WebWork</i><br /><a href="http://www.nealford.com" target="_blank" rel="nofollow">www.nealford.com</a>
David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
Are there any on-line demo sites that use Tapestry that you could reference? How does this product differentiate itself from Struts? I've been to the site, but it sounds very similiar...
David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
The product I use for tabbed interfaces is at:
Struts Menu
Neal Ford
Author
Ranch Hand

Joined: Oct 23, 2003
Posts: 82
Originally posted by David Yutzy:
Are there any on-line demo sites that use Tapestry that you could reference? How does this product differentiate itself from Struts? I've been to the site, but it sounds very similiar...

They are not at all similar. Besides the basic premise of Model 2, they are vastly different. Tapestry encapsulates the entire web request/response cycle into the framework. Writing Tapestry applications is more like writing traditional desktop applications. There is no request, response, session, etc. that you are accustomed to in web development. Instead, there are components, event handlers, etc. Tapestry also doesn't use JSP, but instead uses template-based component substitution. For example, building a table in Tapestry has you build a Table Model, similar to Swing.
If you want to get a good idea of what Tapestry is about, you can read the Tapestry chapter in my book! Or, you can look at the tutorial at the tapestry web site
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Originally posted by David Yutzy:
Are there any on-line demo sites that use Tapestry that you could reference? How does this product differentiate itself from Struts? I've been to the site, but it sounds very similiar...

I have a demo up for the Tapestry example app:
http://demo.raibledesigns.com/workbench
And my impressions of Tapestry at first glance:
http://raibledesigns.com/page/rd?anchor=tapestry_looks_very_nice


Matt<br /> <br />Author: <a href="http://springlive.com" target="_blank" rel="nofollow">Spring Live</a> and <a href="http://www.apress.com/book/bookDisplay.html?bID=256" target="_blank" rel="nofollow">Pro JSP</a><br />Weblogs: <a href="http://raibledesigns.com" target="_blank" rel="nofollow">Raible Designs</a> <a href="http://jroller.com/page/raible" target="_blank" rel="nofollow">Spring Live Blog</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best Framework for Tabbed Dialogs