[JAVASERVERFACES_SPEC_PUBLIC-1403] Using f:viewAction to navigate into a flow via redirect misses required query parameters Created: 26/Aug/15  Updated: 26/Aug/15

Status: In Progress
Project: javaserverfaces-spec-public
Component/s: Flow
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Ed Burns Assignee: Ed Burns
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File changebundle.txt    

 Description   

UIViewAction says:

Spec> If a navigation case is matched that causes the new viewId to be
Spec> different from the current viewId, the runtime must force a
Spec> redirect to that matched navigation case with different viewId,
Spec> regardless of whether or not the matched navigation case with
Spec> different viewId called for a redirect.

When using <f:viewAction> to enter a flow, this is functionally
equivalent to using GET based navigation to enter the flow, however,
this code path misses out on attaching the necessary parameters required
by FlowHandler.clientWindowTransition() to successfully enter the flow
in the GET based navigation case. Specifically, the
FlowHandler.TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME and the
FlowHandler.FLOW_ID_REQUEST_PARAM_NAME must be added to the query string
when entering the flow in this way.

The trick here will be to find the right place to specify that these
must be tacked on.



 Comments   
Comment by Ed Burns [ 26/Aug/15 ]

In progress.





Generated at Mon Aug 31 06:01:54 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.