Does anybody have a good example of using the AutoCompleteField when a 
Converter is not available?

For example, I have a UserAccount object. I want to display "Joe Blow" with a 
photo on my auto suggest.
But the string "Joe Blow" isn't enough information for a converter to convert 
back to a UserAccount.

To work around this I overwrote getOnSelectJavascriptExpression and in that 
expression I call WicketAjaxGet()
Which points to behavior and passes the id of the UserAccount. In this behavior 
I can look up the UserAccount 
and wire it up.

Is there a better way to do this?

Douglas



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

Reply via email to