Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

conditonal navigation onLoad  RSS feed

 
Mike Skit
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy,
I have a requirement that dictates the rendering different pages based on certain process result , but "ON LOAD", even before a user can click some button or link.

How can we handle this ? Any example code ?

Waiting in the bar with my pint of dark beer,
Thanks.
 
leo donahue
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement that dictates the rendering different pages based on certain process result , but "ON LOAD" even before a user can click some button or link.

You want to render a different page in the "on-load" of some page you have already requested?
I don't understand.
Why would you want to render a different page than the one that was requested?
 
Mike Skit
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apologies for the late response..
"ON LOAD" meaning, lets say, page 1 was supposed to be rendered in the happy path scenario (retrieving data from DB).. But before it could be completed successfully, there is a exception generated..
So In this kind of scenario, I would like to render a "system error" kind of "System Error page" ...

Please let me know.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!