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

  • changing flow from render-action

    Hi,

    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">
    <render-actions>
    <bean-action bean="testAction" method="checkSomething"/>
    <transition on="error" to="action2" />

    </render-actions>
    <transition on="nextstate" to="action3" />
    </view-state>

    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.
Working...
X