Each FeedbackPanel rendered in a response includes all messages generated
during that request. The messages are then cleared from the session and
won't be included in subsequent responses. Are you closing the modal in a
way that immediately generates a second request?

Dan

On Fri, Sep 30, 2011 at 9:02 AM, heapifyman <heapify...@gmail.com> wrote:

> Hello,
>
> I have a page that contains a list of entries and a modal window opened
> from
> that page. The modal window contains a form to add new entries to the list
> on the parent page.
> Submitting the form in the modal window adds the new entry, closes the
> modal
> window and updates the list of entries in the parent page.
> This works fine.
> However, I would like to show a "success" message on the parent page after
> I
> submit the form in the modal window and close it.
> This does not seem to work because I have another FeedbackPanel in the
> modal
> window for showing error messages when required fields are not filled.
> This FeedbackPanel in the modal window seems to receive the success message
> instead of the FeedbackPanel on the parent page.
>
> I tried google and I also tried using an IFeedbackMessageFilter on the
> modal
> window's FeedbackPanel, but to no avail.
> Any hints would be appreciated. Thanks
>

Reply via email to