Re: feedback message without a form

2008-12-31 Thread Jeremy Thomerson
There are past examples you can find on this mailing list. Please look at them. Your problem is that you are redirecting to a new page right after you set your error. Instead, you'll need to set it on the session basically. On Tue, Dec 30, 2008 at 10:26 AM, miro miroconn...@yahoo.com wrote:

Re: feedback message without a form

2008-12-30 Thread miro
adding message is simple but how to display this message , who is rendering the added message ?, in my case I am adding the message to the page , getPage().info(This is a test message ) , now what in html i have to do to display this message ? James Carman-3 wrote: Component.info(String

Re: feedback message without a form

2008-12-30 Thread jWeekend
Did you add a FeedbackPanel to your page? Regards - Cemal http://www.jWeekend.co.uk jWeekend miro wrote: adding message is simple but how to display this message , who is rendering the added message ?, in my case I am adding the message to the page , getPage().info(This is a test

Re: feedback message without a form

2008-12-30 Thread miro
here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){ getPage().error(Please assing grants); return; }

Re: feedback message without a form

2008-12-30 Thread miro
i have the feedback panel and i am able to display form validations , but when I add info to the page nothing is shown by the feedback panel here the code for adding info to my page public void onClick(AjaxRequestTarget target) {

Re: feedback message without a form

2008-12-30 Thread Adriano dos Santos Fernandes
miro escreveu: here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){ getPage().error(Please assing grants); return;

Re: feedback message without a form

2008-12-30 Thread jWeekend
try getSession().info(you info message); OK? Regards - Cemal http://www.jWeekend.co.uk jWeekend miro wrote: here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){

Re: feedback message without a form

2008-12-30 Thread miro
i tried that but no messge is displayed the message is displayed when the url is http://localhost:8080/audit/app/ and my current url is http://localhost:8080/audit/app/?wicket:interface=:6 jWeekend wrote: try getSession().info(you info message); OK? Regards - Cemal

Re: feedback message without a form

2008-12-30 Thread Vance Fellers
Have you tried without redirecting to the response page? miro wrote: here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){ getPage().error(Please assing

RE: feedback message without a form

2008-12-30 Thread Heikki Uotinen
().error(Please assing grants); target.addComponent(feedback); return; } ... -Heikki -Original Message- From: Vance Fellers [mailto:nvfellers...@yahoo.com] Sent: 30. joulukuuta 2008 21:38 To: users@wicket.apache.org Subject: Re: feedback message

Re: feedback message without a form

2008-12-29 Thread James Carman
Component.info(String message)? On Mon, Dec 29, 2008 at 12:24 PM, miro miroconn...@yahoo.com wrote: How to add feed back messages to page with out a form , in my case when the link is clicked I call some external service and that might return me some message and I want to show this message