You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by "Ate Douma (JIRA)" <br...@portals.apache.org> on 2005/10/07 13:47:52 UTC

[jira] Closed: (PB-1) Struts Bridge: problems with forward when input validation errors occur

     [ http://issues.apache.org/jira/browse/PB-1?page=all ]
     
Ate Douma closed PB-1:
----------------------


Thanks for testing.

> Struts Bridge: problems with forward when input validation errors occur
> -----------------------------------------------------------------------
>
>          Key: PB-1
>          URL: http://issues.apache.org/jira/browse/PB-1
>      Project: Portals Bridges
>         Type: Bug
>   Components: struts
>     Versions: 0.2, 0.3
>  Environment: Jetspeed-2 M4-Snapshot
>     Reporter: Thorsten Berger
>     Assignee: Ate Douma
>      Fix For: 0.4

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org