myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Aranda <brunoara...@gmail.com>
Subject Re: ajax error in SelectOneMenu on change event
Date Mon, 12 Jul 2010 12:02:28 GMT
Uhm, just opened a new thread about the same bug. It is an
uninitialized variable in the _AjaxUtils class.

Cheers,

Bruno

On 12 July 2010 12:57, Werner Punz <werner.punz@gmail.com> wrote:
> Hi Markus this looks like a new bug to me, which I introduced with some
> performance patches I did last week, can you file a bugrepot on this one, I
> will fix it today. It is vital to get this out before the 2.0.1 release.
>
>
> Werner
>
>
> Am 12.07.10 11:48, schrieb Marcus B├╝ttner:
>>
>> Hi,
>>
>> a small example:
>>
>> <h:form id="myForm">
>> <h:selectOneMenu id="selectMenu" value="#{myBean.menuValue}"
>> valueChangeListener="#{myBean.menuValueChangedListener}">
>> <f:selectItem itemValue="true" itemLabel="Yes"/>
>> <f:selectItem itemValue="false" itemLabel="No"/>
>> <f:ajax event="change" render="output"/>
>> </h:selectOneMenu>
>> <h:outputText id="output" value="#{myBean.menuValue}"/>
>> <h:commandButton action="action"/>
>> </h:form>
>>
>> Switching from no to yes works, but switching from yes to no causes the
>> following error messages in browser (firefox) and no request is send to
>> server:
>>
>> clientError-TypeError-MyFaces ERROR:Affected Class:
>> myfaces._impl.xhrCore._AjaxUtils
>> Affected Method: encodeSubmittableFields
>> Error name: TypeError
>> Error message: subBuf is undefined
>> Error description: undefined
>> Error number: undefined
>> Error line number: 3380
>> - Note, this message is only sent, because project stage is development
>> and no other error listeners are registered.
>>
>> The message in IE8:
>>
>> lientError-TypeError-MyFaces ERROR:Affected Class:
>> myfaces._impl.xhrCore._AjaxUtils
>> Affected Method: encodeSubmittableFields
>> Error name: TypeError
>> Error message: 'undefined' ist Null oder kein Object
>> Error description: 'undefined' ist Null oder kein Object
>> Error number: -2146823281
>> Error line number: undefined
>> - Note, this message is only sent, because project stage is development
>> and no other error listeners are registered.
>>
>> I tried to use boolean, String an enum Types for Value. But always the
>> same error.
>>
>> Any ideas?
>>
>> Thx,
>> regards Marcus
>>
>
>
>

Mime
View raw message