Hi there,

On one of my application pages, there is a nice double-list box that has been doing its duty for the last several years.

At the customer's request, I am trying to implement it on another page in the same application.

Strangely, on this page, I keep getting this error when the form is submited.

When submited, the following function is eventually called:

function forms_createOptionTransfer(id, submitOnChange) in resources/forms-lib.js

This in turn calls:

   result.forms_onsubmit = function() {
       // Select all options in the "selected" list to that
       // its values are sent.
       selectAllOptions(this.right);
   }

And it pops out the error message: "this.right.options.length is null or not an object" and breaks out of the function.

Is this a real bug or am I using it wrong--I have looked at the implementation on the other page and it APPEARS pretty simple--just replace the "listbox" in the definition below which works nicely, with "double-listbox".

<fi:styling list-type="listbox" style="width:140px" listbox-size="3" name="other_assignees" ONBLUR="writeHidden();"/>

The page where it works, I notice that this function is also called, but with one difference, the right hand side list appears to have the focus momentarily on or after the call selectAllOptions(this.right) and that does not happen for the page where the double-listbox does not work.

Any pointers would be appreciated.

thx!
Paul




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to