[ 
https://issues.apache.org/jira/browse/WICKET-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eelco Hillenius resolved WICKET-442.
------------------------------------

    Resolution: Fixed

Implemented session based approach with aggressive cleanup, but with the option 
for people to override.

> adding (and querying) feedback messages at construction time fails.
> -------------------------------------------------------------------
>
>                 Key: WICKET-442
>                 URL: https://issues.apache.org/jira/browse/WICKET-442
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.5, 1.3
>            Reporter: Eelco Hillenius
>         Assigned To: Eelco Hillenius
>             Fix For: 1.3
>
>         Attachments: WICKET-442-2.patch, WICKET-442-3.patch, WICKET-442.patch
>
>
> See 
> http://www.nabble.com/error%28...%29-No-page-found-for-component-tf3497125.html
> Currently, adding (and querying) feedback messages fails whenever it is done 
> on components that are not yet added to a page (or were removed from them due 
> to component replacement).
> There are two ways to fix this. The first fix is attached as a patch, and 
> basically uses a thread local to temporarily store the messages and 
> distribute them to the relevant page instances just in time or when rendering 
> starts. The advantage of this method is that it is completely back wards 
> compatible.
> The other way to fix this is to store all messages, whether component 
> specific or not, in the session, and pull them from there. We need to be 
> careful about how/ when to clean these error messages up though. We can use 
> this issue to think about it a little bit more.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to