Hi, i posted a feature request on struts-dev on friday, which i'd like to bring to this forum for dicsussion. Although this has already been discussed in some threads, a satifactory conclusion has not been reached (at least in my opinion). So here it goes:
A) Use Cases: 1) Develop a generic RDMBS Browser using Struts. 2) Develop a WebInterface for arbitrary XML editing. B) Problems in Struts 1.0 and 1.1: For each property A the corresonding setA / getA methods are invoked upon read/write. There's nothing wrong with that. However i must deploy form fields that are unknown to me at compile-time. Thus i cannot write a Bean with the appropriate methods. C) Request for extending org.apache.struts.action.ActionForm: A simple solution would be to introduce methods with the following signature: public void setProperty(String propertyName, Object propertyValue) public Object getProperty(String propertyName) D) Workaround: None known to me. There's a class called DynaActionForm which allows you to add a dynamic number of fields *in the struts-config.xml file*. This is not feasible since the properties are unknown at Servlet Initialization time. I'm quite new to Struts so please forgive me if i missed something blatantly obvious. Regards, Daniel Hinz -- Daniel Hinz Software Engineer [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>