You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Jan Sorensen <ja...@aragost.com> on 2001/08/16 17:19:23 UTC

ActionForms With Dynamic Properties

Hello list, Craig

I have more or less implemented ActionForms With Dynamic Properties as
mentioned in the ToDo list. I would be happy to contribute the code to
Struts.

A quick description of what I have done: A dynamic action form implements a
method to return a PropertyDescriptor for each dynamic property. I have
changed the methods PropertyUtils.getProperty() and
PropertyUtils.setProperty() to work with dynamic properties. Now when a form
is submitted the dynamic properties of the action form will be populated
through the setProperty() method. The dynamic property values will also be
displayed in the JSP assuming the tags uses PropertyUtils.getProperty()
method to obtain the property value.

Please let me know if you are interested in the code, and how to proceed
from here.

Regards,
Jan Sorensen
aragost



Re: ActionForms With Dynamic Properties

Posted by Oleg V Alexeev <oa...@apache.org>.
Hello Jan,

I am interesting in it. Please, post it directly to list or place it
somewhere in public domain and post here URL to it.

Thursday, August 16, 2001, 7:19:23 PM, you wrote:

JS> Hello list, Craig

JS> I have more or less implemented ActionForms With Dynamic Properties as
JS> mentioned in the ToDo list. I would be happy to contribute the code to
JS> Struts.

JS> A quick description of what I have done: A dynamic action form implements a
JS> method to return a PropertyDescriptor for each dynamic property. I have
JS> changed the methods PropertyUtils.getProperty() and
JS> PropertyUtils.setProperty() to work with dynamic properties. Now when a form
JS> is submitted the dynamic properties of the action form will be populated
JS> through the setProperty() method. The dynamic property values will also be
JS> displayed in the JSP assuming the tags uses PropertyUtils.getProperty()
JS> method to obtain the property value.

JS> Please let me know if you are interested in the code, and how to proceed
JS> from here.

JS> Regards,
JS> Jan Sorensen
JS> aragost




-- 
Best regards,
 Oleg                            mailto:oalexeev@apache.org