You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Josh Kamau <jo...@gmail.com> on 2010/09/15 10:30:21 UTC
Wicket Visural Confirmers
I am trying to use Wicket Visural to Confirm delete but its not poping up
anything.
Here is my code:
private ConfirmerLink lnkDelete ;
.
.
.
lnkDelete = new ConfirmerLink("lnkDelete"){
private static final long serialVersionUID = 1L;
@Override
public void onClick() {
dao.delete(item);
setResponsePage(DeleteJobGradePage.class);
}
};
I have tried with ConfirmerAjaxLink and no confirmation dialog is poping
up,,
Where am i going wrong?
Josh
Re: Wicket Visural Confirmers
Posted by Richard Nichols <rn...@visural.com>.
Hi Josh,
The code you have looks right.
Have you added JQuery to your application's header as per
http://code.google.com/p/visural-wicket/wiki/BasicUsage
Also, are you using any other Javascript toolkits (e.g. Dojo, Mootolos etc.)
that might be conflicting with JQuery?
It sounds like a Javascript/client issue.
cheers,
Richard.
On Wed, Sep 15, 2010 at 6:30 PM, Josh Kamau <jo...@gmail.com> wrote:
> I am trying to use Wicket Visural to Confirm delete but its not poping up
> anything.
>
> Here is my code:
>
>
> private ConfirmerLink lnkDelete ;
> .
> .
> .
> lnkDelete = new ConfirmerLink("lnkDelete"){
>
> private static final long serialVersionUID = 1L;
>
> @Override
> public void onClick() {
> dao.delete(item);
> setResponsePage(DeleteJobGradePage.class);
> }
>
> };
>
> I have tried with ConfirmerAjaxLink and no confirmation dialog is poping
> up,,
>
> Where am i going wrong?
>
> Josh
>
--
Richard Nichols
http://www.richardnichols.net/ :: http://onmydoorstep.com.au/