Thank for the replies!

 
MZemeck wrote:
> 
> Here's a start, please anyone correct me if I've made any mistakes...
> 
> public class ListLDM extends LoadableDetachableModel<List> {
>  
>         private String id;
>  
>         public ListLDM(List l, String id) {
>                 //constructor with primed model
>                 super(l);
>                 this.id = id;
>         }
>  
>         public ListLDM(String id) {
>                 //constructor with empty model
>                 this.id = id;
>         }
> 
>         @Override
>         protected List load() {
>                 return service.getList(id);
>         }
> 
> }
> 
> 
> 

In this example , the object that you're wrap in the inner model ("List l"
that you are send in super() constructor) is not used anywhere... ¿i'm
wrong? in this case , ¿why should be using this (in reference a List l in
constructor)?




-----
Another "wicket" newbie programmer
********************************
Wicket en Español - 

http://aprendiendowicket.wordpress.com 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Perfomance-of-IDataProvider-tp3325777p3330259.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to