Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: SVN trunk
    • Fix Version/s: SVN trunk
    • Component/s: framework
    • Labels:
      None

      Description

      I have created another response attribute "view-last-noparam" that has functionality of view-last but without last parameters like "request-redirect-noparam".
      Could it be useful?

        Activity

        Hide
        Jacques Le Roux added a comment -

        No longer a concern if status-code 303 is used

        Show
        Jacques Le Roux added a comment - No longer a concern if status-code 303 is used
        Hide
        Jacques Le Roux added a comment -

        I believe this will be fixed when we will use status-code. Indeed the 303 code redirect with a GET so the POST method will be dropped. So the solution (to be confirmed when OFBIZ-5109 will becommitted) here is to set a status-code="303"

        Show
        Jacques Le Roux added a comment - I believe this will be fixed when we will use status-code. Indeed the 303 code redirect with a GET so the POST method will be dropped. So the solution (to be confirmed when OFBIZ-5109 will becommitted) here is to set a status-code="303"
        Hide
        Jacques Le Roux added a comment -

        This is interesting in the context of OFBIZ-5109. I will get back to this later...

        Show
        Jacques Le Roux added a comment - This is interesting in the context of OFBIZ-5109 . I will get back to this later...
        Hide
        Bruno Busco added a comment -

        Hi,
        it seems that the view-last-noparam just works (resets the parameters) if it is used with a request that has the parameters in the URL.

        Since we have now moved to form submitted parameters I found that the view-last-noparam is not able to remove the parameters from the context.
        Does anyone have any idea of how to fix this?

        Show
        Bruno Busco added a comment - Hi, it seems that the view-last-noparam just works (resets the parameters) if it is used with a request that has the parameters in the URL. Since we have now moved to form submitted parameters I found that the view-last-noparam is not able to remove the parameters from the context. Does anyone have any idea of how to fix this?
        Hide
        Matarazzo Angelo added a comment -

        Thank you Jacques.
        It's true.

        Show
        Matarazzo Angelo added a comment - Thank you Jacques. It's true.
        Hide
        Jacques Le Roux added a comment -

        Hi Angelo,

        Something we both missed when you created and I commited your patch: the site-conf.xsd update. It's done in revision 883914.

        Show
        Jacques Le Roux added a comment - Hi Angelo, Something we both missed when you created and I commited your patch: the site-conf.xsd update. It's done in revision 883914.
        Hide
        Jacques Le Roux added a comment -

        Thanks Angelo,

        Your patch is in trunk at r829727

        Show
        Jacques Le Roux added a comment - Thanks Angelo, Your patch is in trunk at r829727
        Hide
        Matarazzo Angelo added a comment -

        I' m using this attribute because in my application all the screens are linked to a field in the context. that I call "commonValue"
        I have a link in the common header that change the value of this field but when I click this link the screen must not change but the field of current screen must cleaned.
        By this attribute the view is set at " last-view" but the last parameters are cleaned.
        I think this is same approach of "request-redirect-noparam". Perhaps it won' t often be used but could be useful.
        Or not?

        Show
        Matarazzo Angelo added a comment - I' m using this attribute because in my application all the screens are linked to a field in the context. that I call "commonValue" I have a link in the common header that change the value of this field but when I click this link the screen must not change but the field of current screen must cleaned. By this attribute the view is set at " last-view" but the last parameters are cleaned. I think this is same approach of "request-redirect-noparam". Perhaps it won' t often be used but could be useful. Or not?
        Hide
        Jacques Le Roux added a comment -

        Hi Angelo,

        Why did you created it, how and when are you using it ?

        Thanks

        Show
        Jacques Le Roux added a comment - Hi Angelo, Why did you created it, how and when are you using it ? Thanks

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Matarazzo Angelo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development