Announcement Announcement Module
Collapse
No announcement yet.
Request parameters in portlet environment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Request parameters in portlet environment

    Hi,

    What I would like to do is to pass a parameter to a flow when doing a flow redirection. It works fine when I test it in a servlet environment. Here is the code of my flow A (A-flow):
    Code:
    <flow start-state="state1.view">
        ...
        <end-state id="end" view="flowRedirect:B-flow?_startState=state2.view"/>
    </flow>
    And here is the code of my flow B (B-flow):
    Code:
    <flow start-state="route.decision">
        <input-mapper>
            <mapping source="_startState" target="flowScope.startState"/>
        </input-mapper>
        ...
    </flow>
    The problem is when I want to use it in a portlet (I have tested it in Liferay Portal). It seems the attribute _startState is not passed in the request.

    Where does this come from? Is there a better way to do the same thing?

    Xand

  • #2
    Maybe the problem is in the PortletFlowController class?
    I am currently evaluating Spring Webflow for my company, and this is a feature we absolutely need...

    Comment


    • #3
      Indeed, flow input parameters are not exposed on flow redirect in a portlet environment.

      Can you open a JIRA? Thanks.

      Keith

      Comment


      • #4
        Done.
        http://opensource.atlassian.com/proj...browse/SWF-153

        Comment

        Working...
        X