Sorry the var name in the jsp is
        var myArray = new Array()



Aviskaos escribió:
Hi!
In my formbean i have this property:
    private String[] values;

    public String[] getValues() {
        return values;
    }

    public void setValues(String[] values) {
        this.values = values;
    }

Late, in my jsp, i have a global javascript var, an array:
    var myValues = new Array();

that i populate correctly, whit the same dimension, and then when i do the submit, i want to do this:
    document.myformbean.values = myArray

But that doesnt work. I try this so:
    document.myformbean.values.value = myArray
and lots of combinations, but nothing. I got a null pointer.

Is this possible ?
How could i do this correctly ?

Thank you very much !


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

Reply via email to