Results 1 to 5 of 5

Thread: Overriding default names of parameters

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

    Default Overriding default names of parameters

    Is there a way to override the names of parameters in the FlowExecutionManager (i.e. FLOW_EXECUTION_ID_PARAMETER). I don't see any setters.

    The original design of our controller (before moving to webflow) called for a parameter "lt" which must exist and prevented resubmitting a form. This feature is technically obsolete with the move to Spring webflow but I am obligated to support the parameter. It would be nice if I could just set the FLOW_EXECUTE_ID_PAREMETER to "lt" and not have to worry :-) Is this possible?

    Thanks
    -Scott

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    Yes this should probably be configurable.
    Keith Donald
    Core Spring Development Team

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

    Default

    should I JIRA this?

  4. #4
    Join Date
    Aug 2004
    Location
    Warsaw, Poland
    Posts
    33

    Default

    Quote Originally Posted by Scott Battaglia
    should I JIRA this?
    If I understand correctly it is currently scheduled:

    http://opensource.atlassian.com/proj...9?page=history

    Artur

  5. #5
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    I'm not sure it is ever going to be configurable since it ends up being a bit of a pain in general. I suggest you just subclass the ServletFlowExecutionManager and override the prepareViewDescriptor() method to do what you want to do.

    Erwin

Similar Threads

  1. Replies: 1
    Last Post: May 7th, 2006, 12:05 PM
  2. Odd behaviour when injecting TransactionTemplate
    By damon311 in forum Container
    Replies: 3
    Last Post: Jul 23rd, 2005, 11:21 AM
  3. Replies: 1
    Last Post: Jul 1st, 2005, 02:48 AM
  4. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM
  5. Default values
    By Edward Kenworthy in forum Data
    Replies: 5
    Last Post: Sep 17th, 2004, 03:17 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
  •