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 "Thorsten Berger (JIRA)" <br...@portals.apache.org> on 2005/09/19 20:50:28 UTC

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

    [ http://issues.apache.org/jira/browse/PB-1?page=comments#action_12329896 ] 

Thorsten Berger commented on PB-1:
----------------------------------

Hi Ate,

I'm back to my project and do now need the struts bridge in a productive environment.
Did you find some time to commit the fix? I tested the latest head and this issue still appears.

Thanks in advance, 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

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