Re: What to add to pom.xml to use hibernate?

2012-01-21 Thread Josh Kamau
Hi Daniel; For personal projects (Where clients wont say what to use), i use Ebean orm (www.avaje.org) . Its simple. You annotate your domain objects with JPA annotations, then add ebean.properties file in your resources directory and thats all. The rest is calling Ebean.save(instance),

Re: What to add to pom.xml to use hibernate?

2012-01-21 Thread Per Newgro
Hmm. Firstly you ask the wrong list. Hibernate is off topic. At second - did you do a search? With maven hibernate i found this link quickly: http://stackoverflow.com/questions/3345816/hibernate-projects-and-building-with-maven See the answer with the green check at the side. I think that will

Re: How to get passed GAE restrictions in Wicket 1.5.3

2012-01-21 Thread Kayode Odeyemi
On Fri, Jan 20, 2012 at 1:33 PM, Martin Grigorov mgrigo...@apache.orgwrote: See http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine Thanks. gae-initializer fixed this for me. -- Odeyemi 'Kayode O. http://www.sinati.com. t:

Re: multiple forms on a panel, how to check for dirty?

2012-01-21 Thread rastogi_ritika
A form which has unsubmitted data. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/multiple-forms-on-a-panel-how-to-check-for-dirty-tp4312666p4315765.html Sent from the Users forum mailing list archive at Nabble.com.

Can't instantiate page using constructor

2012-01-21 Thread Daniel Watrous
When I build my wicket project I'm getting the following error Tests in error: homepageRendersSuccessfully(com.danielwatrous.movieratings.TestHomePage): Can't instantiate page using constructor 'public

Re: Can't instantiate page using constructor

2012-01-21 Thread Per Newgro
The stack trace is what? Am 21.01.2012 18:21, schrieb Daniel Watrous: When I build my wicket project I'm getting the following error Tests in error: homepageRendersSuccessfully(com.danielwatrous.movieratings.TestHomePage): Can't instantiate page using constructor 'public

Re: Can't instantiate page using constructor

2012-01-21 Thread Daniel Watrous
That was the only error produced when running build. However, I tried running the server (jetty:run) anyway and found it started and provided a stack trace when I loaded the homepage. That helped me to solve my problem. I had errors outside of wicket, related to hibernate. Thank you, Daniel On

Re: What to add to pom.xml to use hibernate?

2012-01-21 Thread Daniel Watrous
Thank you. That link helped be get this working. Daniel On Sat, Jan 21, 2012 at 1:32 AM, Per Newgro per.new...@gmx.ch wrote: Hmm. Firstly you ask the wrong list. Hibernate is off topic. At second - did you do a search? With maven hibernate i found this link quickly:

guestbook application with database update

2012-01-21 Thread Daniel Watrous
I'm creating a small app based on the guestbook: http://www.wicket-library.com/wicket-examples/guestbook/?1 In the guestbook app, the page view is updated every time a new comment is added. The variable commentList is initialized at the top like this private static final ListComment commentList

Re: guestbook application with database update

2012-01-21 Thread Sven Meier
Use a LoadableDetachableModel to load a fresh list of movies on each request. Sven On 01/21/2012 10:35 PM, Daniel Watrous wrote: I'm creating a small app based on the guestbook: http://www.wicket-library.com/wicket-examples/guestbook/?1 In the guestbook app, the page view is updated every

Re: guestbook application with database update

2012-01-21 Thread kamiseq
it really doesnt matter where you get your data - from ArrayList or db - wrap code to access db into some function that return List and use LoadableDetachableModel as sven advised pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: guestbook application with database update

2012-01-21 Thread Daniel Watrous
This worked GREAT! Thank you. On Sat, Jan 21, 2012 at 2:51 PM, Sven Meier s...@meiers.net wrote: Use a LoadableDetachableModel to load a fresh list of movies on each request. Sven On 01/21/2012 10:35 PM, Daniel Watrous wrote: I'm creating a small app based on the guestbook:

AJAX Rating extension, multiple on a page

2012-01-21 Thread Daniel Watrous
Hi, I've been working with the Rating extension found here: http://www.wicket-library.com/wicket-examples/ajax/ratings?0 I have a case where I need to render multiple on a page, and they render fine. Each rating panel that displays corresponds to a specific record in a database. I would like to

AJAX Error in parsing: XML Parsing Error: not well-formed @L

2012-01-21 Thread Alec Swan
Hello, I am using Wicket 1.4.17 and have a panel which implements IHeaderContributor as follows: public void renderHead(IHeaderResponse response) { response.renderString(scriptif (1 == 1 true) alert('Hello!')/script); } When the panel is updated as a part of AJAX request (by adding to ART)