Wicket ListMultipleChoice or DropDownChoice with code/decode

2012-05-02 Thread Brian Mulholland
For some reason I am finding that most Wicket examples have select box
examples that offer single dimension arrays.  But most lookup
selection use cases I've ever encountered use a short key or 'code'
that the user does not see, and then a longer descriptive 'decode' for
the user.  The classic being a state lookup using the postal code (MD,
NY, FL, etc) but showing the user a state name (Maryland, New York,
Florida respectively).  What is the usual way to do this?

Brian Mulholland
For every complex problem, there is an answer that is clear, simple and wrong.
--H.L. Mencken
Politics is the art of looking for trouble, finding it everywhere,
diagnosing it incorrectly, and applying the wrong remedies.
--Groucho Marx

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



Re: Wicket ListMultipleChoice or DropDownChoice with code/decode

2012-05-02 Thread Sven Meier

Hi,

take a look at FormInput.LocaleDropDownChoice or DropDownChoicePage in 
wicket-examples


Sven

On 05/02/2012 02:17 PM, Brian Mulholland wrote:

For some reason I am finding that most Wicket examples have select box
examples that offer single dimension arrays.  But most lookup
selection use cases I've ever encountered use a short key or 'code'
that the user does not see, and then a longer descriptive 'decode' for
the user.  The classic being a state lookup using the postal code (MD,
NY, FL, etc) but showing the user a state name (Maryland, New York,
Florida respectively).  What is the usual way to do this?

Brian Mulholland
For every complex problem, there is an answer that is clear, simple and wrong.
--H.L. Mencken
Politics is the art of looking for trouble, finding it everywhere,
diagnosing it incorrectly, and applying the wrong remedies.
--Groucho Marx

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




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