[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: property name mismatch / trouble
From: Samuel Rochas <samuel.rochas () andinasoft ! com>
Date: 2004-05-31 17:31:42
Message-ID: 40BB6BFE.1020106 () andinasoft ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic