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 2008/12/19 13:51:46 UTC

[Tapestry Wiki] Trivial Update of "Tapestry5AnotherSelectWithObjects" by MarceloLotif

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 MarceloLotif:
http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects

The comment on the change is:
Update to the latest version (5.0.18)

------------------------------------------------------------------------------
  	private List<Bank> _list = new ArrayList<Bank>();
  	
  	@Persist
- 	private Bank _item = null;
+ 	private Bank _item;
  
          public void onPrepare(){
- 	        List<Banco> l = new ArrayList<Banco>();
+ 	        List<Bank> l = new ArrayList<Bank>();
  		l.add(new Bank("Foo Bank 1", 1));
  		l.add(new Bank("Foo Bank 2", 2));
  		_list = l;

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