Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-19 Thread Andy Pahne
Ulrich Stärk schrieb: ... Are you sure that those properties really are set to false upon form submission and that it's not your business logic behaving strangely? Try to add some debug output to your formSubmit method to make sure. You are right. I stripped down the page and template until

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Ulrich Stärk
Andy Pahne schrieb: Ulrich Stärk schrieb: it might be the right time now to post your complete page class and page template before we start doing wild guesses... Here you are: Unless you are calling setSearchForHotels() or setSearchForHolidayHomes() in your parent class your code should wo

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
Ulrich Stärk schrieb: it might be the right time now to post your complete page class and page template before we start doing wild guesses... Here you are: Search2.java: --- public abstract class Search2 extends BaseBoo

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Ulrich Stärk
it might be the right time now to post your complete page class and page template before we start doing wild guesses... Uli Am Mo, 18.02.2008, 15:34, schrieb Andy Pahne: > > Nope > > > > Andreas Andreou schrieb: >> That's weird... >> I have so many checkboxes working here... >> >> Perhaps you're

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
Nope Andreas Andreou schrieb: That's weird... I have so many checkboxes working here... Perhaps you're binding the same object somewhere else? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andreas Andreou
That's weird... I have so many checkboxes working here... Perhaps you're binding the same object somewhere else? On 2/18/08, Andy Pahne <[EMAIL PROTECTED]> wrote: > > > I tried that, but the page property is updated to false, regardless of > the checkbox selection. > > Andy > > > > > Ulrich Stärk

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
I tried that, but the page property is updated to false, regardless of the checkbox selection. Andy Ulrich Stärk schrieb: Bind the value property of your checkbox to a page property. E.g. in your page class: public abstract boolean isChecked(); public abstract void setChecked(boolean c

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
But iit does not work with 4.1.5, either. Andy Pahne schrieb: Also, which 4.1 version is this with? It's 4.1.3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andy Pahne
Also, which 4.1 version is this with? It's 4.1.3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Ulrich Stärk
Bind the value property of your checkbox to a page property. E.g. in your page class: public abstract boolean isChecked(); public abstract void setChecked(boolean checked); and in your template: Hotels Uli Am Mo, 18.02.2008, 13:03, schrieb Andy Pahne: > > Hello, > > I have a problem with wha

Re: [4.1] Checkbox component updates value to false regardless of selection

2008-02-18 Thread Andreas Andreou
no - i dont see any problems... What happens if you update a simple property on your page? i.e. Also, which 4.1 version is this with? On 2/18/08, Andy Pahne <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a problem with what I would consider a very basic use case: > > There's a component: > >