Something like how this code fragment works?
final Link removeLink = new Link("remove") {
public void onClick() {
// remove discount
}
};
removeLink.add(new SimpleAttributeModifier("onclick",
"if(!confirm('remove discount for " + discount.getCheese().getName()
+ " ?')) return false;"));
Eelco
On 4/21/06, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> You're talking about a Javascript confirm dialog?
>
>
> On 4/21/06, Millard, Stuart <[EMAIL PROTECTED] > wrote:
> >
> >
> >
> >
> > Hi,
> >
> >
> >
> > Does anyone know the best way to produce a popup box that will contain a
> Y/N option? I want the popup to be triggered programmatically from a
> condition within a Panel class and the result of the returned popup to be
> caught.
> >
> >
> >
> > Thanks in advance This email and any files transmitted with it are
> confidential, proprietary
> > and intended solely for the individual or entity to whom they are
> addressed.
> > If you have received this email in error please delete it immediately.
> >
> >
> >
> >
>
>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop