Announcement Announcement Module
Collapse
No announcement yet.
Problem with Transition and Jsf Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Transition and Jsf

    Hello

    I have a problem when a transition executes an action which returns false...

    (edit: I am using Spring 2.5.6, Spring Webflow 2.0.8 and Richfaces 3.3.2 SR1)

    In principle the situation is the same as in the documentation (chapter 4.12)

    Code:
    <transition on="submit" to="bookingConfirmed">
        <evaluate expression="bookingAction.makeBooking(booking, messageContext)" />
    </transition>
    Now imagine that the makeBooking action returns false and that the action also changes something in the booking object...
    When the page with the form which was submitted gets rerendered the changes that makeBooking made to the object are not displayed..
    (Messages I add to the MessageContext in the action method are displayed...)

    After I hit F5 the changes are shown...
    It seems like the changes are always one step behind...


    Any ideas on what I might be doing wrong?

    thx
Working...
X