incubator-adffaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piyush Hari" <piyush.h...@oracle.com>
Subject Re: Re: Re: Re: valueChangeListener of a selectBooleanCheckbox
Date Sat, 11 Nov 2006 00:26:46 GMT
When I remove the code that would submit the value each time it is checked 
(check1=t) from the Core.js  , the valueChangeListener gets called properly. 
But, this is obviously not the right thing to do since the user might need 
to submit a value.

-Piyush
----- Original Message ----- 
From: "Adam Winer" <awiner@gmail.com>
To: <adffaces-dev@incubator.apache.org>
Sent: Friday, November 10, 2006 4:15 PM
Subject: Re: Re: Re: Re: valueChangeListener of a selectBooleanCheckbox


> On 11/10/06, piyush hari <piyush.hari@gmail.com> wrote:
>> Upon checking a check Box, getSubmittedValue() does not get called. Upon
>> unchecking it does get called.
>
> That should be investigated.
>
>> HTTP request differs in t.o the attribute check1 (check1 being the
>> user-assigned ID of the checkBox). It does not get passed upon 
>> unchecking.
>> It gets passed with a value 't' upon checking.
>>
>> Upon checking:
>>
>> check1=t
>> &org.apache.myfaces.trinidad.faces.FORM=_id1
>> &org.apache.myfaces.trinidad.faces.STATE=%2138234b14
>> &source=check1
>> &event=check1
>> &partialTargets=
>> &partial=true
>>
>> Upon Unchecking:
>>
>> org.apache.myfaces.trinidad.faces.FORM=_id1
>> &org.apache.myfaces.trinidad.faces.STATE=%2138234b14
>> &source=check1
>> &event=check1
>> &partialTargets=
>> &partial=true
>
> Those look fine.
>
> -- Adam
> 


Mime
View raw message