Hello,

I wonder if someone could clarify when it is safe to use the index as
the value for IChoiceRenderer#getIdValue.  The documentation says that
you can use the index if the list is stable.  However I have a list
that is sorted differently depending on the current locale and the
user may change their locale at any time (the list is sorted in
onBeforeRender).  I tried using the index for getIdValue and it all
seemed to work fine.  If the user changed their locale the drop down
list would update correctly.  Is this safe to do?  I would prefer to
use the index if possible, since the real "primary key" would be quite
long and would increase the size of the post data significantly.

Cheers,
Ian.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to