I have a requirement that when user click a checkbox, should warn the user
with the consequence.  The user needs to click OK/Cancel in the box to
continue.

Here are the checkbox codes.

final CheckBox confRequired = new CheckBox("confRequired", new
AbstractCheckBoxModel()
{
   private static final long serialVersionUID = 1L;

   @Override
   public boolean isSelected()
   {
      ...
   }

   @Override
   public void select()
   {
        ...
   }

   @Override
   public void unselect()
   {
      ...
   }
});


Thanks!
rtow
-- 
View this message in context: 
http://www.nabble.com/How-to-pop-a-warning-dialog-box-when-clicking-a-checkbox-tp16058046p16058046.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to