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/05/31 19:31:42 UTC
property name mismatch / trouble
Hello,
I am using a form displaying properties from a bean. One property of
this bean is the unique id from db: id.
The bean as a property which is a list of other beans (call it items),
which ones has the property of the unique id from db too: id.
In my form, I want to know which user is shown, so I use the property id
of my bean. And I want to know which item of the items list is selected,
with the help of the id property of each item.
To avoid the mismath between the two id properties, I would like to tell
the tags (html:hidden, html:text, etc) to use a different name for the
field in the request, than the object property.
How can I do that?
Thanx in advance
Samuel
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org