[ http://issues.apache.org/jira/browse/PB-1?page=comments#action_12331581 ]
Thorsten Berger commented on PB-1: ---------------------------------- Ate, this now works as expected. Thanks, Thorsten > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
