It does provide id's, that's what IPropertySelectionModel.getValue(int
index) returns...To quote the javadocs:
/**
* Returns a String used to represent the option in the HTML (as the
value of an <option>
* or <input type=radio>. This value is not visible to the user,
and is often an index
* into an array.
*/
String getValue(int index);
On 6/11/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
Hi all
I am asking this out of curiosity: Why is the PropertySelection component
ready to receive only labels and not id's and labels? Most dropdown boxes
are used with data taken from a database. That data almost always has an
ID
and a value. Why can't we use the PropertySelection witht those two pieces
of data out of the box?
I am honestly curious as to wether there was a reason for to be the way it
is.
--
Cumprimentos,
Rui Pacheco
--
Jesse Kuhnert
Tacos/Tapestry, team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.