You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2007/10/18 07:56:40 UTC

[Tapestry Wiki] Update of "Tapestry5HowtoSelectWithObjects" by DavorHrg

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.

The following page has been changed by DavorHrg:
http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects

------------------------------------------------------------------------------
   * name of the name property - if name is composed of few properties, add an transient property to your Object
   * !PropertyAccess - this is an Tapestry-ioc service that the selection model uses to access properties from the object and you must supply it. You can get inject it into your page easily 
   {{{
- @Inject PropertyAccess _access;
+ @Inject private PropertyAccess _access;
  }}}
  
  Another catch is that Value encoder needs the original list to recreate the object later after form is submitted.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org