• 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
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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]
 
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic