Michael Kurz created EXTCDI-300:
-----------------------------------
Summary: ViewParameterMode.INCLUDE incudes all request parameters
Key: EXTCDI-300
URL: https://issues.apache.org/jira/browse/EXTCDI-300
Project: MyFaces CODI
Issue Type: Bug
Components: JEE-JSF20-Module
Affects Versions: 1.0.5
Reporter: Michael Kurz
I have a view config with navigation set to REDIRECT and viewParams set to
INCLUDE like this:
@Page(navigation = Page.NavigationMode.REDIRECT,
viewParams = Page.ViewParameterMode.INCLUDE)
public class ShowProvider implements View {}
I use this view config as the result of an action method to navigate from an
edit page back to a details page with a redirect using the (single) view param
id for identifying the current item.
This works as expected, but additionally to the view param I get ALL request
parameters in the url. As this is a redirect from a POST that is quite a list
of parameters.
The parameters are added in
ViewConfigAwareNavigationHandler.convertEntryToOutcome() if
ViewParameterMode.INCLUDE is used on the view config - but I don't see why this
is done?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira