Re: Feedback messages and setResponsePage

2007-11-16 Thread narup

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]



Re: Feedback messages and setResponsePage

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 11:36 AM, narup [EMAIL PROTECTED] wrote:

 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);

You should try userPage.info or getSession().info. As far as I am
concerned, it is very unfortunately that FeedbackMessages proper ever
got exposed.

Eelco

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



Feedback messages and setResponsePage

2007-10-05 Thread dkarnows

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]



Re: Feedback messages and setResponsePage

2007-10-05 Thread Igor Vaynberg
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]