Re: RV: Array of a java bean and Dynamic Form Beans

2006-01-18 Thread Rick Reumann
Néstor Boscán wrote the following on 1/18/2006 10:48 AM: set ("variables", new VariableTo [count]); } } Now the first time I call the JSP it works fine. I have a refresh button that refreshes the page. The reset method is called with no problems and then I get the exception java.lan

RE: RV: Array of a java bean and Dynamic Form Beans

2006-01-18 Thread Néstor Boscán
ED] Enviado el: Wednesday, January 18, 2006 11:21 AM Para: Struts Users Mailing List Asunto: Re: RV: Array of a java bean and Dynamic Form Beans Néstor Boscán wrote the following on 1/18/2006 10:05 AM: > Hi Rick > > If I comment the reset method I get: > > java.lang.ArrayIndexOutOfBou

Re: RV: Array of a java bean and Dynamic Form Beans

2006-01-18 Thread Rick Reumann
Néstor Boscán wrote the following on 1/18/2006 10:05 AM: Hi Rick If I comment the reset method I get: java.lang.ArrayIndexOutOfBoundsException: 0 at I'm assuming you get that when you submit your form? Some of these things have to be broken down into baby stteps since sometimes the error

RE: RV: Array of a java bean and Dynamic Form Beans

2006-01-18 Thread Néstor Boscán
ara: Struts Users Mailing List Asunto: Re: RV: Array of a java bean and Dynamic Form Beans Néstor Boscán wrote the following on 1/18/2006 8:06 AM: > Hi Rick > > I created a class that extends DynaActionForm and checked the > parameters to determine the size of the array. After I determi

Re: RV: Array of a java bean and Dynamic Form Beans

2006-01-18 Thread Rick Reumann
nuary 17, 2006 11:07 PM Para: Struts Users Mailing List Asunto: Re: Array of a java bean and Dynamic Form Beans Néstor Boscán wrote: The problem is that I have to minimize the use of object in session scope to minimize session replication. Is there any way to do this in request scope? Right.. a

RV: Array of a java bean and Dynamic Form Beans

2006-01-18 Thread Néstor Boscán
n afectar al mensaje original, con motivo de su envío por correo electrónico. “ -Mensaje original- De: Rick Reumann [mailto:[EMAIL PROTECTED] Enviado el: Tuesday, January 17, 2006 11:07 PM Para: Struts Users Mailing List Asunto: Re: Array of a java bean and Dynamic Form Beans Néstor

Re: Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Rick Reumann
Néstor Boscán wrote: The problem is that I have to minimize the use of object in session scope to minimize session replication. Is there any way to do this in request scope? Right.. as I said you can use Request scope just fine. You just have to make sure in the reset method to either use a L

RE: Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Néstor Boscán
el: Tuesday, January 17, 2006 10:16 PM Para: Struts Users Mailing List Asunto: Re: Array of a java bean and Dynamic Form Beans Néstor Boscán wrote: > In the projects I'm working on we use a lot of Dynamic Form Beans with > Arrays of Java Beans. I read that the only way to make this

Re: Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Rick Reumann
Néstor Boscán wrote: In the projects I'm working on we use a lot of Dynamic Form Beans with Arrays of Java Beans. I read that the only way to make this work is to declare the form bean with session scope. You can get this to work without using Session scope. You just need to use your reset m

Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Néstor Boscán
Hi In the projects I'm working on we use a lot of Dynamic Form Beans with Arrays of Java Beans. I read that the only way to make this work is to declare the form bean with session scope. The problem is that I need all form beans to have their scope set to request to minimize session propagation b