Hi!

I tried to use the t:jsValueChangeListener to react, when a specific radio
button is selected or deselected, but got the following errors in the
Firefox 1.0 JavaScript console (but didn't also work in Internet Explorer
6):


uncaught exception: Error encountered : srcElem has no properties
undefinedSource-Element id: _id1:ergPubBeginnRadios
Source-element: null
Type of source-element: object


I used the following approach inside a selectOneRadio (with
id="ergPubBeginnRadios") just to test:

<t:jsValueChangeListener for="inputTextId"
        property="value"
                expressionValue="$srcElem[2].checked ? 'true' : 'false'" />


Does anybody know what's wrong?


Regards,
Matthias

Reply via email to