Re: Use of AbstractReadOnlyModel

2011-04-15 Thread Jeremy Thomerson
On Fri, Apr 15, 2011 at 8:43 PM, Marek Šabo wrote: > Hi all, > > I would like to ask for some examples where use of AROM comes in handy. We > had a sort of dispute in one project whether it is better to provide "static > text, no i18n" labels with Model.of(Object o) or > >final Object o; >

Re: test pages with selenuim

2011-04-15 Thread YK
Do you know that wicket provides a page tester ? If not take a look at http://wicket.apache.org/apidocs/1.4/org/apache/wicket/util/tester/WicketTester.html WicketTester -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3452716.html

Re: Wicket Sessions, serialization and Cayenne

2011-04-15 Thread YK
Christian, I think what you have suggested already exists in the Cayenne documentation (the link I already posted in my last answer). One more thing is that this filter must be inserted BEFORE the wicket one. By the way, did you see my comment on your website about the use of cayenne and wicket

Use of AbstractReadOnlyModel

2011-04-15 Thread Marek Šabo
Hi all, I would like to ask for some examples where use of AROM comes in handy. We had a sort of dispute in one project whether it is better to provide "static text, no i18n" labels with Model.of(Object o) or final Object o; new AbstractReadOnlyModel(){ getObject() { retu

Re: test pages with selenuim

2011-04-15 Thread William Sargent
On Apr 15, 2011, at 11:04 AM, fachhoch wrote: > I am trying to test my wicket application using selenuim , I had no > success , did anybody try ? > Yeah. I use Selenium with a ruby solution, just because that's how I was introduced to it. http://tersesystems.com/2010/10/05/simplest-poss

Usage of ObjectSizeOfAgent

2011-04-15 Thread Jochen Mader
I am trying to get the ObjectSizeOfAgent to run in Tomcat. So far I had no look as it has quite a lot external dependencies. has anybody got this to run or got some pointers what to do? What I did so far: added the javaagent to the commandline and it gets loaded. I had to put all libs required by

Re: Wicket Sessions, serialization and Cayenne

2011-04-15 Thread James Carman
Use a dto if you're that worried about it On Apr 15, 2011 2:55 PM, "david ruescas" wrote: > YK and Chris > > Thanks for your replies. I already have the cayenne filter installed, and > the datacontext is accessible via > > BaseContext.getThreadObjectContext(); > > but this is not the problem. The

Re: Wicket Sessions, serialization and Cayenne

2011-04-15 Thread david ruescas
YK and Chris Thanks for your replies. I already have the cayenne filter installed, and the datacontext is accessible via BaseContext.getThreadObjectContext(); but this is not the problem. The problem is that cayenne objects referenced from models sometimes (eg when browsing to versioned pages) e

Re: Wicket Sessions, serialization and Cayenne

2011-04-15 Thread Christian Grobmeier
Hi, i have solved it like this: http://www.grobmeier.de/using-apache-cayenne-with-apache-wicket-05022011.html Cheers Christian On Fri, Apr 15, 2011 at 8:20 PM, YK wrote: >>the datacontext was lost > > I think this is the root cause of your problems. > > A cayenne dataContext is generally created

Re: Wicket Sessions, serialization and Cayenne

2011-04-15 Thread YK
>the datacontext was lost I think this is the root cause of your problems. A cayenne dataContext is generally created once for all for each web session where it is stored. You should have a http://cayenne.apache.org/doc30/tutorial-webapp.html web filter that stores this dataContext in the Threa

test pages with selenuim

2011-04-15 Thread fachhoch
I am trying to test my wicket application using selenuim , I had no success , did anybody try ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3452652.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: eclipse,jetty,wicket

2011-04-15 Thread fachhoch
resolved it I was running in deployment mode once I changed to development mode it works. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/eclipse-jetty-wicket-tp3452526p3452635.html Sent from the Users forum mailing list archive at Nabble.com. -

eclipse,jetty,wicket

2011-04-15 Thread fachhoch
I am running my wicket app with jetty-maven-plugin from eclipse , when run in debug mode any change to .java file the changes are reflected in the app but if I change html the changes are not reflected, eclipse does not even say hot code replace failed , please help me. -- View this mess

Wicket Sessions, serialization and Cayenne

2011-04-15 Thread david ruescas
Hello I am using Wicket with Cayenne ORM and have some doubts regarding serialization of cayenne objects in the Session. I am not sure this list is appropriate as my question is not only about Wicket but about Wicket and Cayenne. Please let me know if my question does not belong here. In the past

Re: Choose One problem with DropDownChoice

2011-04-15 Thread Mike Mander
Am 15.04.2011 15:55, schrieb tech7: Any suggestion? - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Choose-One-problem-with-DropDownChoice-tp3451837p3452096.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Choose One problem with DropDownChoice

2011-04-15 Thread tech7
Any suggestion? - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Choose-One-problem-with-DropDownChoice-tp3451837p3452096.html Sent from the Users forum mailing list archive at Nabble.com. --