I'm using cocoon 2.1.9 on jetty, debian linux etch, jdk 1.5.
I have a form with a field (type string) with a selection list. The list
fills correctly and html source contains correct values.
The field contains an <fd:on-value-changed> written in javascript.
I need the value of the field and i tried with the following statements:
value = this.value;
or
value = event.source.value;
or
value = widget.lookupWidget("../fieldid").value;
The first time the form is shown, on-value-changed is called but the
value is always the string "098000" whatever is the value of the field.
The value should be a 4 character sequence (numbers and letters).
The following times (after an on-value-changed on another field, for
example) the value is correctly retrieved.
Any suggest?
Alberto Brosich
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]