hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is
not showing up with setResponse page.

i am doing
Page userPage = getUserPage();
//1.2.6 version code which was fine
// userPage.getFeedbackMessage().info(userPage, getUser().getDescription() +
" Saved");
//now i changed above line to this
 getSession().getFeedbackMessages().info(EditUserPage.this,
getUser().getDescription() + " Saved");
                setResponsePage(userPage);

but this doesn't work!! not sure what's wrong .
thanks



igor.vaynberg wrote:
> 
> getsession().info/error/warn will work across pages
> 
> -igor
> 
> 
> On 10/5/07, dkarnows <[EMAIL PROTECTED]> wrote:
>>
>> Greetings,
>>
>> I've noticed when I do:
>>   info("blah blah blah");
>>   setResponsePage(...);
>> that whether or not the feedback displays seems to be dependent on which
>> version of "setResponsePage()" I call. If I call this version:
>>   setResponsePage(Page page)      (e.g. setResponsePage(new FooPage());)
>> I see the feedback, but if I call this version:
>>   setResponsePage(java.lang.Class cls)   (e.g.
>> setResponsePage(FooPage.class);)
>> I don't see the feedback.
>>
>> I'm new to Wicket (using 1.3 beta) so grateful for any help. Is this
>> expected?
>>
>> thanks,
>> David
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Feedback-messages-and-setResponsePage-tf4576987.html#a13065185
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Feedback-messages-and-setResponsePage-tf4576987.html#a13800146
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to