Thanks both of you, I already tried both of it, my problem was in fact that first option had null reporter and the second one had reporter of page. And as you may guess I was using componentfilter for this form. I will make a workaround for now. Is there any possibility of changing the reporter to the form where this code is or should I dereferrence it down like this:

MyPage page = new MyPage();
page.getPanel().getForm().info()
setResponsePage(page);

Marek

Martijn Dashorst wrote:
or:

MyPage page = new MyPage();
page.info(...);
setResponsePage(page);

Martijn

On Fri, Jan 1, 2010 at 6:43 AM, Martin Makundi
<[email protected]> wrote:
if you do getSession().info()

2010/1/1 Marek Šabo <[email protected]>:
Hi,

I would like to ask how can I achieve propagation of a feedback message to a
page that is set in setResponsePage().
Consider this:

try {
...
info();
setResponsePage();
} catch (e) {
error(e);
}

Of course the error is propagated, is it possible or can you suggest a
workaround to achieve propagation of feedback message into response?

Thanks, regards

--
Marek Šabo
Chief Server Manager
Club SU CVUT Buben
Bubenečská Kolej
Terronská 28, Prague 16000
XMPP: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to