Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Redirects and Spring Web Flow

  1. #11
    Join Date
    Aug 2004
    Location
    Roselle Park, NJ
    Posts
    167

    Default

    yep thanks...I've been using it since this morning...even asked a few questions already

  2. #12

    Default

    Quote Originally Posted by Keith Donald
    I've introduced a "ViewDescriptorCreator" strategy which gives you full control over the view name to be returned when a view state or end state is entered.

    Now we're going to add new support into the XML dtd for common descriptor creator strategies. Obviously, a static view name strategy already exists ("SimpleViewDescriptorCreator").

    So, something like:

    Code:
       <view-state id="myViewState" view="myStaticView"/>
       <view-state id="myViewState" view-creator="samples.MyViewDescriptorCreator"/>
       <view-state id="myViewState" redirect="myRedirectView?foo=${flowScope.foo}"/>
    The latter would need to be recognized as an expression to be resolved by the creator implementation.

    Keith, I am looking at the webflow xm DTD for PR5 and don't see view-creator or redirect attributes defined in the <view-state> xml node. Is it something that will only be available with RC1 or am I missing something?

Similar Threads

  1. Replies: 2
    Last Post: Sep 8th, 2005, 05:50 AM
  2. Replies: 8
    Last Post: Jul 28th, 2005, 10:42 AM
  3. Replies: 9
    Last Post: Mar 22nd, 2005, 06:06 AM
  4. Replies: 0
    Last Post: Jan 25th, 2005, 01:14 PM
  5. Spring Framework 1.1.2 Released
    By Colin Sampaleanu in forum Announcements
    Replies: 0
    Last Post: Nov 14th, 2004, 06:04 PM

Posting Permissions

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