You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Samuel Rochas <sa...@andinasoft.com> on 2004/06/03 17:24:56 UTC
property name repetition in one form
Hello,
I am using a form displaying properties from a bean. One property of
this bean is named aProperty.
The bean as another property which is a list of other beans (call it
items), which one of the item has the property named aProperty too.
In my form, I want to know which user is shown, so I use the property
aProperty of my bean. And I want to know which item of the items list is
selected, with the help of the property aProperty of each item.
So in the form, I have the repetition of the property name aProperty.
How can I deal with that? Is there a way to handle that, for example
giving a different name to the form controls than the property name they
are representing?
Thanx in advance
Samuel
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org