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:
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
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
here is my code
public void onClick(AjaxRequestTarget target) {
if(assignProgramsDTO.getGrantsAssigned().size()==0){
getPage().error(Please assing grants);
return;
}
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) {
miro escreveu:
here is my code
public void onClick(AjaxRequestTarget target) {
if(assignProgramsDTO.getGrantsAssigned().size()==0){
getPage().error(Please assing grants);
return;
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){
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
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
().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
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
11 matches
Mail list logo