hi guys..it's been so long i didn't work using tapestry 5
but i have difficulty to update my application using new tapestry 5.0.16
when i used the old tapestry version (i forgot the version) it supported
something like this :
*.tml*
<table t:type="grid" rowsPerPage="20" pagerPosition="top"
source="playerList" row="player" model="playerModel" remove="idPlayer"/>
*.java
[EMAIL PROTECTED]
private BeanModel playerModel;
@Inject
private BeanModelSource beanModelSource;
@Inject
private ComponentResources resources;*
*
......
void pageLoaded(){
playerModel = beanModelSource.create(Player.class, false,
resources);
}
.....
but when i checked...the latest version of tapestry which is tapestry 5.0.16
the method .create() for BeanModelSource is now deprecated.
does anybody know how how to fix it and how can i implement it the same way
in tapestry 5.0.16
thnx u very much
--
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"