Results 1 to 3 of 3

Thread: Spring Webflow 2.0.2 End State's View Attribute is not working

  1. #1
    Join Date
    Apr 2005
    Posts
    112

    Default Spring Webflow 2.0.2 End State's View Attribute is not working

    I have specified the view name as userSuccess as given below as my end state view

    <end-state id="userConfirmed" view="userSuccess"/>

    userSuccess.xhtml is a facelet residing in the same folder as the flow xml. However, the view state is not rendered. It stays on the same page.

    Could anyone experience this issue? If so, how did you fix this. Is this an issue with SWF 2.0.? Please help.

  2. #2
    Join Date
    May 2005
    Location
    California, US
    Posts
    735

    Default

    I don't know if this will help but as a workaround you could have a "stub" view state that just transitions directly to the end state:

    Code:
        <view-state id="gizmo" view="gizmo.xhtml">
            <transition to="done" />
        </view-state>
        
        <end-state id="done" />

  3. #3
    Join Date
    May 2008
    Posts
    53

    Default

    There is a issue logged in JIRA about this. I think it is the same problem. Take a look at SWF-711 on jira.springframework.org.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •