Announcement Announcement Module
No announcement yet.
changing flow from render-action Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • changing flow from render-action


    If i get an exception in my render-action can i change the view being displayed.
    How can i achieve this?

    1> I can't do the following say (can i?)
    <view-state id="view2" view="view2">
    <bean-action bean="testAction" method="checkSomething"/>
    <transition on="error" to="action2" />

    <transition on="nextstate" to="action3" />

    2> Is there some way to setup a global transition for a user defined exception say InvalidApplicationException.
    Then i can throw that exception from the render-action?

    Newbie to springwebflow so i apologize if what i am trying to do is dumb.

    Thank you
    Last edited by rvs; Jun 26th, 2013, 12:19 PM.