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 "Ronald Holshausen (JIRA)" <br...@portals.apache.org> on 2005/11/16 20:16:29 UTC

[jira] Commented: (PB-7) Messages are not displayed, validation errors are ignored

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

Ronald Holshausen commented on PB-7:
------------------------------------

The reason for this behaviour is that the FacesPortlet receives two different responses, and ActionReponse and then a RenderResponse.  During the handling of the ActionResponse, validation occurs and the validation messages are added to the FacesContext. However, the context is released after handling the ActionResponse, causing the messages to be discarded, and as the view is only rendered during the handling of the RenderResponse, there are no messages to display.

A fix for this would be to save the messages from the context during the handling of the ActionResponse, and then restore them to the context when handling the RenderResonse.



> Messages are not displayed, validation errors are ignored
> ---------------------------------------------------------
>
>          Key: PB-7
>          URL: http://issues.apache.org/jira/browse/PB-7
>      Project: Portals Bridges
>         Type: Bug
>   Components: jsf
>     Versions: 0.4
>  Environment: Jetspeed2
>     Reporter: Michael Lipp
>     Priority: Blocker

>
> If the JSF page produces messages (explicitly or implicitly due to validation errors) these messages are not displayed.
> Also (and probably related) validation errors are ignored, i.e. the model is changed despite the error.

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