Hi,

i've a feature request for org.apache.struts.action.ActionForm for a little
bit more dynamic dispatch of properties. The current state is that 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. A simple solution would be to introduce methods with
the following signature:

public void setProperty(String propertyName, Object propertyValue)
public Object getProperty(String propertyName)

which is of course not terribly type safe but would solve my problem.

And forgive me if this has already been discussed (i couldn't find anything
in the Archives).

Regards,

Daniel Hinz

--
Daniel Hinz
Software Engineer
[EMAIL PROTECTED]
www.coremedia.com


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

Reply via email to