Re: [Question] Copying code from MyFaces

2006-11-10 Thread Martin Marinschek
Sure! we might do the same sometime ;) regards, Martin On 11/9/06, Scott O'Bryan [EMAIL PROTECTED] wrote: Yay.. Thanks Martin. Martin Marinschek wrote: There is nothing offending in copying any of the classes over from MyFaces-Impl to Trinidad! regards, Martin On 11/8/06, Scott

Re: Re: valueChangeListener of a selectBooleanCheckbox

2006-11-10 Thread piyush hari
Hi Adam, Please note that valueChangeListener is called when it is UNCHECKED and not called when it is CHECKED (reverse of what you wrote). This happens consistently provided my bean is in SESSION scope. -Piyush On 11/10/06, Adam Winer [EMAIL PROTECTED] wrote: Is it consistently that you

Re: Re: Re: valueChangeListener of a selectBooleanCheckbox

2006-11-10 Thread piyush hari
Upon checking a check Box, getSubmittedValue() does not get called. Upon unchecking it does get called. 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.

Re: Re: Re: Re: valueChangeListener of a selectBooleanCheckbox

2006-11-10 Thread Adam Winer
On 11/10/06, piyush hari [EMAIL PROTECTED] 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

Re: Re: Re: Re: valueChangeListener of a selectBooleanCheckbox

2006-11-10 Thread Piyush Hari
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:

Re: Re: Re: Re: valueChangeListener of a selectBooleanCheckbox

2006-11-10 Thread Piyush Hari
I dug up the mountain and found this mouse: There was a typo while building request string: do you see it ? else if (element.type == checkbox element.checked == true) datatosend += ( element.name + = + escape(element.value) + ); No...? Look at the space after '' and before the

Re: Re: Re: Re: valueChangeListener of a selectBooleanCheckbox

2006-11-10 Thread Piyush Hari
quote () not brackets is what I meant :) (again a typo) -Piyush - Original Message - From: Piyush Hari [EMAIL PROTECTED] To: adffaces-dev@incubator.apache.org Sent: Friday, November 10, 2006 5:40 PM Subject: Re: Re: Re: Re: valueChangeListener of a selectBooleanCheckbox I dug up the