Announcement Announcement Module
Collapse
No announcement yet.
Has "_flowExecutionKey" been completely replaced by "execution"? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Has "_flowExecutionKey" been completely replaced by "execution"?

    Has the "_flowExecutionKey" request parameter been completely replaced by "execution"?

  • #2
    Yes...

    Looking in the source code, it looks like "_flowExecutionKey" is a webflow 1.x attribute. Take a look at the following source files:

    org.springframework.webflow.context.servlet.WebFlo w1FlowUrlHandler (old)

    org.springframework.webflow.context.portlet.Defaul tFlowUrlHandler (new portlet)
    org.springframework.webflow.context.servlet.Defaul tFlowUrlHandler (new servlet)

    The name of and the comments in the WebFlow1FlowUrlHandler file indicate that it is provided for backwards compatibility with WebFlow 1.x. In this file, you will see a reference to a method called "getFlowExecutionKey" which gets an request attribute named "_flowExecutionKey". This request attribute is also used in the "createFlowExecutionUrl" method. These are the only two references to this variable in the 2.x code base.

    In the two "new" files, you will see that "_flowExecutionKey" has been replace with "execution". So yes, the "_flowExecutionKey" request parameter been completely replaced by "execution"

    Regards,

    Joshua

    Comment

    Working...
    X