Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-300

ViewParameterMode.INCLUDE incudes all request parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.5
    • None
    • JEE-JSF20-Module
    • None

    Description

      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?

      Attachments

        1. EXTCDI-300.zip
          30 kB
          Michael Kurz

        Activity

          People

            Unassigned Unassigned
            dr.gonzo Michael Kurz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: