Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Wicket AbstractRequestCycleListener processing messages

$
0
0
Hi all,

I need to fetch info, warning, error messages from a page, messages are
generated in many different components (regular and ajax components). I need
to fetch this and update one component, let's say for example
MulitLineLabel, but I have a problem to do this.

I have overridden onRequestHandlerResolved and when handler type is
IPageRequestHandler there is no problem, but during second call of this
function handler type is BufferedResponseRequestHandler. When I click on
button which onlick function calls info("Test"); I process this but I cannot
update component or should I say I dont know how. I can update component
only during first call when handler is IPageRequestHandler but with second
it just won't work.

Can anybody help me do this?

Viewing all articles
Browse latest Browse all 5648

Trending Articles