Uploaded image for project: 'Portals Bridges (Retired)'
  1. Portals Bridges (Retired)
  2. PB-1

Struts Bridge: problems with forward when input validation errors occur

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2, 0.3
    • 1.0
    • struts
    • None
    • Jetspeed-2 M4-Snapshot

    Description

      I encountered the following problem with the Struts Bridge:

      My portlet defines a default view page with a form on it in the portlet.xml.
      If there are validation errors in the subsequent post, the Struts Bridge does not forward (back) to the initiating page, because the Struts Page URL is not set to the default page (it's null). This results in calling the action in all of the following render requests without any input (and displaying error messages).

      Only a page in front, that has a link to this form, will set the Struts Page URL correctly, so the error forward will be processed correctly.
      IMHO the Struts Page URL should already be set when the first (render) request occurs to the portlet.

      Attachments

        Activity

          People

            ate Ate Douma
            berger Thorsten Berger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: