Array of Beans used in an ActionForm

2003-04-02 Thread Clauss, Arne
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=;

AW: Array of Beans used in an ActionForm

2003-04-02 Thread Clauss, Arne
Hello Nico! Thanks for your help. I now have got indexed getter and setters. Showing the data in the JSP works fine, but getting the data back formn the JSP in the UpdateAction didn't work. Please notice: I dont't want to handle an array of Strings in the ActionForm, I would like to hadle an

AW: Array of Beans used in an ActionForm

2003-04-02 Thread Clauss, Arne
: Re: Array of Beans used in an ActionForm For your indexed properties, use arrayForm(x).name instead of arrayForm[x].name Try to use JSP tags instead of scriptlets, your JSP will be more readeable to other developers. Nico. - Original Message - From: Clauss, Arne

AW: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Clauss, Arne
Hello! Just try out this little Javascript Function: function submitAndUpdate (action) { document.forms.fromName.action=action; document.forms.fromName.submit(); } formName have to be the name of your form. Kind regards, Arne Clauß gedas

Documentation of the control flow of struts-projects

2002-07-19 Thread Clauss, Arne
Hello all! Does anybody know a tool for automatic generation of control flow diagramms using the struts-config.xml? How do you create the doc of the control flow for your projects? Kind regards, Arne -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

AW: Reusing forms and redirecting to specific actions

2002-07-18 Thread Clauss, Arne
Hello! I've been lurking a long while and I think I decided to take up the Struts thing entirely. I've got an application that will needs to use several forms which are pretty much related, or in other words they look quite the same. But the action attached to it is different. Can I