Re: Perfomance of IDataProvider

2011-02-28 Thread Juansoft
First render thanks for your replies. @vov: If i use this: public IModelEntity model(Entity entity) { return new ModelEntity(entity); } In this case the memory footprint of the session grows because you return Model object that is not a transient object(or this is what I've read in

Re: Perfomance of IDataProvider

2011-03-01 Thread Juansoft
Thanks a lot for your replies, truly. With the ideas that all have contributed i write a LDM that store a object that is recovered in iterator and also a id for this object (to recover to the database after). I think this will be useful for people who start using Dataview,and are somewhat

RE: Perfomance of IDataProvider

2011-03-01 Thread Juansoft
Thank for the replies! MZemeck wrote: Here's a start, please anyone correct me if I've made any mistakes... public class ListLDM extends LoadableDetachableModelList { private String id; public ListLDM(List l, String id) { //constructor with primed

Re: Perfomance of IDataProvider

2011-03-02 Thread Juansoft
Thanks a lot for your replies, guys! If any time travels to http://www.flickr.com/photos/juan_an/4495018982/ Toledo (Spain) contact me for invite you a one http://www.flickr.com/photos/formalfallacy/2342052637/ Spanish Omelette ! - Another wicket newbie programmer

Stateless form throws Unexpected RuntimeException

2011-04-07 Thread Juansoft
Hello i am getting a strange problem when i use stateless form in a simple wicket stateless page. this is the HTML side: Test! Enter And this is the java side: public final class Test extends WebPage { public Test () {

Re: Stateless form throws Unexpected RuntimeException

2011-04-08 Thread Juansoft
Thanks for your replie Martin. Really if submitting the form the parameter constructor is called. I tried to delete this constructor (parameter) and the page actually only have one constructor (without parameter) and runs... I don't understand how page run without the parameter constructor in