Hello!

Is is possible to deal with an Array of Beans in an AtionForm?

It should look like this:

public class TestForm extends ActionForm {
        private DataBean[] dataBeans = DataBean[size_of_array];

        getter and setter methods
}

public class DataBean {
        private String name="";
        private int id = 0;

        getter and setter methods
}

Searching the list I have found the following important facts:

- It is important to have an default construktor in the ActionForm, which
creates an instance of the Array.

Have somebody some code example to help me?

Kind regards,

Arne

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

Reply via email to