Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

problem without Struts

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JForum's Controller layer really lacks a standard way to deal with page flows. I want to be able to continue the original flow after challenged the users with a login screen. It took me a while (lack of docs) to figure out that ConfigKeys.REQUEST_DUMP is used to reprocess the original form post, and "returnPath" is another way to do do it.

It is okay if you don't plan to move things around, but once you start doing that, you will run into problem/minor bugs here and there. Partly because the setTemplate(view) calls are scatter all over the place.

I know Struts is not perfect, but at least it is tested and very well documented. I hope one day JForum can adopt a standard controller framework so the learning curve for developers can be shorter.


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ConfigKeys.REQUEST_DUMP is a old hack and will be removed, much probably.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
reply
    Bookmark Topic Watch Topic
  • New Topic