[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
checkbox problem
- Subject: checkbox problem
- From: pavicich at mac.com (Christopher Pavicich)
- Date: Thu Jul 17 09:28:02 2003
Hi Steven:
Are the checkboxes in a list?
Instead of returning null, you probably want to return context().page()
Is your component correctly synchronizing its bindings and variables...
--CMP
On Thursday, July 17, 2003, at 11:58AM, Steven Pannell <steven.pannell@xxxxxxxxxxx> wrote:
>Hi,
>
>I have a slight problem with the checkbox.
>
>I have created my own checkbox class and have the methods like:
>
>public boolean isChecked() {
> ....
>}
>
>public void setIsChecked(boolean checked) {
> .....
>}
>
>The problem is that the setIsChecked method is only called once for the page
>once it is submitted.
>
>I want to reload the same page (I return null) without rebuilding it and be
>able to toggle with the checkboxes.
>
>This does not seem to work as once I have checked the checkbox and performed
>a submit if I then try to uncheck the checkbox and perform the submit then
>the setIsChecked method is never called and the selection is never set to
>null.
>
>Anyone have an idea what is going on??
>
>Thanks,
>Steve.
>
>
>------------------------------------------------------------------------
>Steven Pannell
>Technical Project Manager
>
>zooplus.com AG
>Eichenweg 4 Rg.
>85774 Unterföhring
>Tel: +49 (89) 95006-163
>Fax: +49 (89) 95006-500
> mailto:steven.pannell@xxxxxxxxxxx
> http://www.zooplus.com - Mehr für mein Tier im Web
>
>_______________________________________________
>WebObjects-dev mailing list
>WebObjects-dev@xxxxxxxxxxxxx
>http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
>
--cmp
pavicich@xxxxxxx