Wicket spring security sample app

2012-01-14 Thread Brian Lavender
Does someone have a sample of the current spring security with Wicket auth-roles? One that I can do the following. mvn jetty:run and see it run? brian -- Brian Lavender http://www.brie.com/brian/ There are two ways of constructing a software design. One way is to make it so simple that

wicket-spring version

2011-09-27 Thread boy_oh_boy
of wicket-spring-annot do I use? In the maven repo, the latest version is 1.3.7. So, do I need to use 1.3.7 version of wicket-spring jar too? When I use 1.3.7 for both wicket-spring and wicket-spring-annot, I get this error when I start up jetty server: :2432011-09-27 11:12:58.635::WARN: failed

Re: wicket-spring version

2011-09-27 Thread Pointbreak
Don't use wicket-spring-annot, just wicket-spring. On Tuesday, September 27, 2011 3:15 AM, boy_oh_boy muralih...@gmail.com wrote: Hello, Very new to Wicket. Trying to integrate an existing Spring application with the latest Wicket release. Versions: Wicket - 1.5.0 SpringFramework

Re: wicket-spring version

2011-09-27 Thread Martin Grigorov
See wicket-examples-1.5.0.war. It comes with the full Wicket distro and contains a demo of a Spring application. Or you can download it from Maven too. On Tue, Sep 27, 2011 at 12:39 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: Don't use wicket-spring-annot, just wicket-spring

Re: wicket-spring version

2011-09-27 Thread boy_oh_boy
be the problem? Thanks. On Tue, Sep 27, 2011 at 11:40 AM, pointbreak+wicketstuff [via Apache Wicket] ml-node+s1842946n3846753...@n4.nabble.com wrote: Don't use wicket-spring-annot, just wicket-spring. On Tuesday, September 27, 2011 3:15 AM, boy_oh_boy [hidden email] http://user/SendEmail.jtp?type

Re: wicket-spring version

2011-09-27 Thread Martin Grigorov
Wicket] ml-node+s1842946n3846753...@n4.nabble.com wrote: Don't use wicket-spring-annot, just wicket-spring. On Tuesday, September 27, 2011 3:15 AM, boy_oh_boy [hidden email] http://user/SendEmail.jtp?type=nodenode=3846753i=0 wrote: Hello, Very new to Wicket. Trying to integrate

Re: wicket-spring version

2011-09-27 Thread boy_oh_boy
? Thanks. On Tue, Sep 27, 2011 at 11:40 AM, pointbreak+wicketstuff [via Apache Wicket] [hidden email] http://user/SendEmail.jtp?type=nodenode=3846797i=1 wrote: Don't use wicket-spring-annot, just wicket-spring. On Tuesday, September 27, 2011 3:15 AM, boy_oh_boy [hidden email] http

Re: Wicket Spring and JSR 330

2011-09-21 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-4064 On Wed, Sep 21, 2011 at 4:49 AM, Fabio Cechinel Veronez fabio.vero...@gmail.com wrote: Is there some issue we could follow? On Tue, Sep 20, 2011 at 10:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: currently it is not, but we are

Wicket Spring and JSR 330

2011-09-20 Thread Fabio Cechinel Veronez
Hello all, Up until now I have been using SpringBean annotation to inject spring beans at my page instance. By I would like to know if it possible to use JSR 330 annotations like Inject and Qualifier to indicate to Spring what bean should be injected. Thanks in advance. -- Fabio Cechinel

Re: Wicket Spring and JSR 330

2011-09-20 Thread Igor Vaynberg
currently it is not, but we are looking into it... -igor On Tue, Sep 20, 2011 at 5:08 PM, Fabio Cechinel Veronez fabio.vero...@gmail.com wrote: Hello all, Up until now I have been using SpringBean annotation to inject spring beans at my page instance. By I would like to know if it possible

Re: Wicket Spring and JSR 330

2011-09-20 Thread Fabio Cechinel Veronez
Is there some issue we could follow? On Tue, Sep 20, 2011 at 10:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: currently it is not, but we are looking into it... -igor On Tue, Sep 20, 2011 at 5:08 PM, Fabio Cechinel Veronez fabio.vero...@gmail.com wrote: Hello all, Up until now I

Re: How to use the LoadableDetachableModel in a Wicket, Spring, Hibernate based web application correctly?

2011-08-12 Thread jcgarciam
? -- If you reply to this email, your message will be added to the discussion below: http://apache-wicket.1842946.n4.nabble.com/How-to-use-the-LoadableDetachableModel-in-a-Wicket-Spring-Hibernate-based-web-application-correctly-tp3738252p3738252.html To start a new topic under Apache

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-05 Thread Niranjan Rao
Hi folks, As everyone mentioned earlier this is/was not wicket problem. Problem is still not solved, but after lot of println statements, I have concluded that there is something wrong in my spring setup or the way maven/surefire sets up the classpath. The required files do exists at given

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-04 Thread Bruno Borges
I'm working on this right now and I found this problem: java.lang.IllegalStateException: the application key does not seem to be set properly or this method is called before WicketServlet is set, which leads to the wrong behavior at

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-04 Thread Niranjan Rao
Unfortunately, can not help you much here. I followed the exact steps in the tutorial and never got this error. Regards, - Niranjan On Mon, 2011-07-04 at 13:51 -0300, Bruno Borges wrote: I'm working on this right now and I found this problem: java.lang.IllegalStateException: the application

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Loc Nguyen
of this list.Actually this is my first post to this mailing list. I am trying to make Wicket/Spring/Junit/Maven combo work. To make life more interesting, I have multi module project and one module (WebApp) depends upon DAL module. I followed the tutorial at http

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Harald Wellmann
Without a stacktrace or more details about your setup, I can only guess... Most likely it's not a Wicket problem. I'd say your applicationContext.xml is in the wrong place where Maven can't see it, and Eclipse just happens to see it because m2eclipse cannot map Maven classpaths 1:1 to

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Igor Vaynberg
yep. thats probably the cause. to elaborate a little more: eclipse does not separate between a test class path and normal class path, while maven does. -igor On Sun, Jul 3, 2011 at 3:01 AM, Harald Wellmann harald.wellm...@gmx.de wrote: Without a stacktrace or more details about your setup, I

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-03 Thread Niranjan Rao
Sorry for the delay in the response folks and thanks for the help. My gut feeling is also same - differences of classpaths. That's why I actually added println statements in the code to see what classpath code is seeing. I am working on isolated test case that I can send to this DL. Should be

Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-02 Thread Niranjan Rao
Hi, I am a new user of wicket and new member of this list.Actually this is my first post to this mailing list. I am trying to make Wicket/Spring/Junit/Maven combo work. To make life more interesting, I have multi module project and one module (WebApp) depends upon DAL module. I followed

Re: Wicket-Spring Hibernate dao

2011-03-02 Thread ookpalm
Thanks everyone. I will go for using the new operator for my domain object since there is no simple way to inject and it is not really nescessary to inject bean to object in this case. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao

Re: Wicket-Spring Hibernate dao

2011-03-02 Thread James Carman
for using the new operator for my domain object since there is no simple way to inject and it is not really nescessary to inject bean to object in this case. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao-tp3320134p3332713.html Sent

Wicket-Spring Hibernate dao

2011-02-22 Thread ookpalm
Hi I have a question about wicket spring. My project is setup with Wicket-Spring plus using Hibernate annotation. I created a Dao object says CatDao and created a entity for relational mapping with hibernate says Cat. Both are created by using Spring applicationContext file. On my page says

Re: Wicket-Spring Hibernate dao

2011-02-22 Thread Igor Vaynberg
you should be doing cat=new cat() anyways. i assume the default cat is a singleton in your application context, in which case you do not want it to be persisted anyways. -igor On Tue, Feb 22, 2011 at 1:59 PM, ookpalm ookp...@gmail.com wrote: Hi I have a question about wicket spring. My

Re: Wicket-Spring Hibernate dao

2011-02-22 Thread Dan Griffin
them. you should be doing cat=new cat() anyways. i assume the default cat is a singleton in your application context, in which case you do not want it to be persisted anyways. -igor On Tue, Feb 22, 2011 at 1:59 PM, ookpalmookp...@gmail.com wrote: Hi I have a question about wicket spring. My

Re: Wicket-Spring Hibernate dao

2011-02-22 Thread Nivedan Nadaraj
, ookpalmookp...@gmail.com wrote: Hi I have a question about wicket spring. My project is setup with Wicket-Spring plus using Hibernate annotation. I created a Dao object says CatDao and created a entity for relational mapping with hibernate says Cat. Both are created by using Spring

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-16 Thread adam.gibbons
-- prop key=hibernate.jdbc.use_streams_for_binarytrue/prop prop key=hibernate.j -- View message @ http://apache-wicket.1842946.n4.nabble.com/help-me-please-Wicket-Spring-Hibernate-configuration-woes-tp3088768p3089324

help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread Adam Gibbons
Hi there, For some time now I have been trying to put together a simple project to get me off the ground with a Wicket/Spring/Hibernate setup. I've had lots of ups and downs, and found this guide really useful: http://wicketinaction.com/2009/06/wicketspringhibernate-configuration/ However, I

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
project to get me off the ground with a Wicket/Spring/Hibernate setup. I've had lots of ups and downs, and found this guide really useful: http://wicketinaction.com/2009/06/wicketspringhibernate-configuration/ However, I still seem to be having some problems and I've no idea where to look now

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
://user/SendEmail.jtp?type=nodenode=3088802i=0 wrote: Hi there, For some time now I have been trying to put together a simple project to get me off the ground with a Wicket/Spring/Hibernate setup. I've had lots of ups and downs, and found this guide really useful: http

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
=3088802i=0 wrote: Hi there, For some time now I have been trying to put together a simple project to get me off the ground with a Wicket/Spring/Hibernate setup. I've had lots of ups and downs, and found this guide really useful: http://wicketinaction.com/2009/06/wicketspringhibernate

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
I thought that was the whole point of the Wicket-Spring project... That tutorial looked like it worked as recently as a year ago. I find it hard to believe that it's no longer possible or harder to integrate Wicket and Spring than it was a year ago. On researching that error, all I find

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread Matthias Gasser
of the Wicket-Spring project... That tutorial looked like it worked as recently as a year ago. I find it hard to believe that it's no longer possible or harder to integrate Wicket and Spring than it was a year ago. On researching that error, all I find are comments about deleting the session

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
What's the code for UserServiceImpl? On Wed, Dec 15, 2010 at 9:02 AM, adam.gibbons adam.s.gibb...@gmail.com wrote: New log: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl' defined in file

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
) problem. cheers, Matthias Am 15.12.2010 um 15:06 schrieb adam.gibbons: I thought that was the whole point of the Wicket-Spring project... That tutorial looked like it worked as recently as a year ago. I find it hard to believe that it's no longer possible or harder to integrate Wicket

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
/SendEmail.jtp?type=nodenode=3088802i=0 wrote: Hi there, For some time now I have been trying to put together a simple project to get me off the ground with a Wicket/Spring/Hibernate setup. I've had lots of ups and downs, and found this guide really useful: http

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
thought that was the whole point of the Wicket-Spring project... That tutorial looked like it worked as recently as a year ago. I find it hard to believe that it's no longer possible or harder to integrate Wicket and Spring than it was a year ago. On researching that error, all I find

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
wrote: Hi there, For some time now I have been trying to put together a simple project to get me off the ground with a Wicket/Spring/Hibernate setup. I've had lots of ups and downs, and found this guide really useful: http://wicketinaction.com/2009/06/wicketspringhibernate

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
project (following the same guide as you did) and it worked without any (greater) problem. cheers, Matthias Am 15.12.2010 um 15:06 schrieb adam.gibbons: I thought that was the whole point of the Wicket-Spring project... That tutorial looked like it worked as recently as a year ago

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
15, 2010 at 5:43 AM, Adam Gibbons [hidden email] http://user/SendEmail.jtp?type=nodenode=3088802i=0 wrote: Hi there, For some time now I have been trying to put together a simple project to get me off the ground with a Wicket/Spring/Hibernate setup. I've had lots

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
15.12.2010 um 15:06 schrieb adam.gibbons: I thought that was the whole point of the Wicket-Spring project... That tutorial looked like it worked as recently as a year ago. I find it hard to believe that it's no longer possible or harder to integrate Wicket and Spring than

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
Put a log statement in your DAO's constructor to see if it's getting instantiated (it's probably not). Then turn on component scanning as suggested by someone else. On Wed, Dec 15, 2010 at 10:01 AM, adam.gibbons adam.s.gibb...@gmail.com wrote: There is definitely only 1 implementation. I read

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
(); log.debug(Temp1DAO created.); } @Autowired public void init(final SessionFactory factory) { setSessionFactory(factory); } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/help-me-please-Wicket-Spring-Hibernate-configuration-woes

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread jcgarciam
.); } @Autowired public void init(final SessionFactory factory) { setSessionFactory(factory); } } -- View message @ http://apache-wicket.1842946.n4.nabble.com/help-me-please-Wicket-Spring-Hibernate-configuration-woes-tp3088768p3089284.html To start

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread Hielke Hoeve
Hey Adam, This is still a spring error, you need a sessionfactory and transactionfactory and link them together. The opensessioninview filter only opens a transaction if you get this right. The spring forums are filled with examples. Hielke On 15 Dec 2010 16:58, adam.gibbons

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
); } } -- View message @ http://apache-wicket.1842946.n4.nabble.com/help-me-please-Wicket-Spring-Hibernate-configuration-woes-tp3088768p3089284.htmlhttp://apache-wicket.1842946.n4.nabble.com/help-me-please-Wicket-Spring-Hibernate-configuration-woes-tp3088768p3089284.html?by-user=t

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread adam.gibbons
-- View message @ http://apache-wicket.1842946.n4.nabble.com/help-me-please-Wicket-Spring-Hibernate-configuration-woes-tp3088768p3089324.html To start a new topic under Apache Wicket, email ml-node+1842946-1499480286-201...@n4.nabble.comml-node%2b1842946-1499480286-201...@n4.nabble.com

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread James Carman
/help-me-please-Wicket-Spring-Hibernate-configuration-woes-tp3088768p3089324.html To start a new topic under Apache Wicket, email ml-node+1842946-1499480286-201...@n4.nabble.comml-node%2b1842946-1499480286-201...@n4.nabble.com To unsubscribe from Apache Wicket, click herehttp://apache-wicket

Re: help me please!!! Wicket/Spring/Hibernate configuration woes

2010-12-15 Thread Michael O'Cleirigh
=hibernate.jdbc.batch_versioned_datatrue/prop -- prop key=hibernate.jdbc.use_streams_for_binarytrue/prop prop key=hibernate.j -- View message @ http://apache-wicket.1842946.n4.nabble.com/help-me-please-Wicket-Spring-Hibernate-configuration-woes

problem with wicket + spring + hibernate

2010-08-11 Thread Will Martinez A .
Hello, I'm newbie with wicket, I'm trying to set up a new project, I took some configuration examples from 5 days of wicket, but I don't know what happened, for some reason I'm not able to save my data, I'm using spring annotations, my application begins with a login form, after that it shows

SV: problem with wicket + spring + hibernate

2010-08-11 Thread Wilhelmsen Tor Iver
I noticed that you ignored the warning here: !-- Important! This filter mapping must come before Wicket's! -- by placing the Wicket filters first. - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

RE: SV: problem with wicket + spring + hibernate

2010-08-11 Thread Will Martinez A .
can tell why? Thanks, Will From: toriv...@arrive.no To: users@wicket.apache.org Date: Wed, 11 Aug 2010 08:50:01 +0200 Subject: SV: problem with wicket + spring + hibernate I noticed that you ignored the warning here: !-- Important! This filter mapping must come before Wicket's

Re: SV: problem with wicket + spring + hibernate

2010-08-11 Thread jcgarciam
, but in my project it need it, some one can tell why? Thanks, Will From: [hidden email]http://user/SendEmail.jtp?type=nodenode=2320816i=0 To: [hidden email]http://user/SendEmail.jtp?type=nodenode=2320816i=1 Date: Wed, 11 Aug 2010 08:50:01 +0200 Subject: SV: problem with wicket + spring

Wicket + Spring + WicketTester: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main

2010-05-10 Thread Lauwers, Kim
Hello everybody, I'm having problems with testing my wicket application with WicketTester I get this error: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main è See below for fulle stacktrace. I have been looking everywhere on the

RE: Wicket + Spring + WicketTester: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread main

2010-05-10 Thread Lauwers, Kim
(); tester.assertLabel(title, Users List); } } Kind regards, Kim -Original Message- From: Lauwers, Kim [mailto:kim.lauw...@thomascook.be] Sent: maandag 10 mei 2010 14:00 To: users@wicket.apache.org Subject: Wicket + Spring + WicketTester: org.apache.wicket.WicketRuntimeException

Wicket-Spring 1.4.8 runs into exception in unit test

2010-05-04 Thread Per Newgro
Hi *, today i updated wicket from 1.4.7 to 1.4.8. I found a hardcoded dependency to wicket-spring 1.4.1 in my pom. I updated it to 1.4.8 to. Now i get in my page test the following exception in setup. But what does it mean? Where can i change something to make this work. Until now i didn't

Re: Wicket-Spring 1.4.8 runs into exception in unit test

2010-05-04 Thread Jeremy Thomerson
, Per Newgro per.new...@gmx.ch wrote: Hi *, today i updated wicket from 1.4.7 to 1.4.8. I found a hardcoded dependency to wicket-spring 1.4.1 in my pom. I updated it to 1.4.8 to. Now i get in my page test the following exception in setup. But what does it mean? Where can i change something

Re: Wicket-Spring 1.4.8 runs into exception in unit test

2010-05-04 Thread Ben Tilford
that demonstrates it, and attach that to a JIRA. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 4, 2010 at 11:42 AM, Per Newgro per.new...@gmx.ch wrote: Hi *, today i updated wicket from 1.4.7 to 1.4.8. I found a hardcoded dependency to wicket-spring 1.4.1 in my pom. I updated

Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
Hi, I am at a point where I need to upgrade my application from Spring 2.5.6 to Spring 3.0.1.RELEASE. I have a working application and when I update Spring, I see the following exception on deployment: Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Sigmar Muuga
What error? Next time post the stack :) On Thu, Apr 15, 2010 at 5:47 PM, Steven Haines lyg...@yahoo.com wrote: Hi, I am at a point where I need to upgrade my application from Spring 2.5.6 to Spring 3.0.1.RELEASE. I have a working application and when I update Spring, I see the following

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
@wicket.apache.org; Steven Haines lyg...@yahoo.com Sent: Thu, April 15, 2010 11:09:50 AM Subject: Re: Wicket + Spring 3 + Hibernate What error? Next time post the stack :) On Thu, Apr 15, 2010 at 5:47 PM, Steven Haines lyg...@yahoo.com wrote: Hi, I am at a point where I need to upgrade my

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Steven Haines
@wicket.apache.org Sent: Thu, April 15, 2010 11:14:49 AM Subject: Re: Wicket + Spring 3 + Hibernate I posted a few lines from the error, but here is the complete stack trace. My initial searches on this pointed to a circular dependency caused by autowiring, which may or may not be the case - when I removed

Re: Wicket + Spring 3 + Hibernate

2010-04-15 Thread Mauro Ciancio
that someone can find my couple days of troubleshooting helpful :) Thanks Steve - Original Message From: Steven Haines lyg...@yahoo.com To: users@wicket.apache.org Sent: Thu, April 15, 2010 11:14:49 AM Subject: Re: Wicket + Spring 3 + Hibernate I posted a few lines from the error

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-16 Thread Cemal Bayramoglu
...@yahoo.com wrote: Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-16 Thread David Chang
James, thanks so much for the information. I cannot say enough thank-you for your help. All the best, David --- On Tue, 3/16/10, Cemal Bayramoglu jweekend_for...@cabouge.com wrote: From: Cemal Bayramoglu jweekend_for...@cabouge.com Subject: Re: Recommend two good complete clean Wicket+Spring

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-16 Thread David Chang
complete clean Wicket+Spring+Hibernate apps? To: users users@wicket.apache.org Date: Tuesday, March 16, 2010, 9:01 AM David, You may find LegUp [1] useful. Also see the wiki, [2], the Wicket in Action site [3]  and book [4] for useful information, and  the PhoneBook sample [5]. Regards

Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications are not too

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread James Carman
Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications are not too big, but still show many points. Thanks a lot

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
Hello James, Thank you! Best, -David --- On Mon, 3/15/10, James Carman jcar...@carmanconsulting.com wrote: From: James Carman jcar...@carmanconsulting.com Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? To: users@wicket.apache.org Date: Monday, March 15, 2010

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
...@carmanconsulting.com Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? To: users@wicket.apache.org Date: Monday, March 15, 2010, 10:09 PM You can try my demo application I used for my Advanced Wicket presentation: http://svn.carmanconsulting.com/public/wicket

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread James Carman
On Mon, Mar 15, 2010 at 10:57 PM, David Chang david_q_zh...@yahoo.com wrote: James, I just downloaded your application. Do you have any documentation/presentation about this application? I didn't really have a slide presentation for this talk. I basically just walked through code. I did it

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
James, the info is fantastic! Many thanks!!! -David --- On Mon, 3/15/10, James Carman jcar...@carmanconsulting.com wrote: From: James Carman jcar...@carmanconsulting.com Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? To: users@wicket.apache.org Date: Monday

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-03 Thread Colin Rogers
James, Thank you very much for that - a working example is exactly what I need! :) Cheers, Col. -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: 02 March 2010 17:59 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate

[newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
All, I've got a bit of a newbie Wicket question involving Spring, Hibernate and transactions. The question that I can't seem to find an answer to; Can a view be a created/injected/aop'd like a spring bean so that it honours @Transactional methods for hibernate? An example;

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Pedro Sena
I don't think so. I'd recommend you to make your transactional control in your services and call them from your pages instead of trying to control it in your view. Best Regards, On Tue, Mar 2, 2010 at 1:25 PM, Colin Rogers coli...@groundsure.com wrote: All, I've got a bit of a newbie

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
(if the view didn't need the children, for example). -Original Message- From: Pedro Sena [mailto:sena.pe...@gmail.com] Sent: 02 March 2010 16:39 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I don't think so. I'd recommend you to make your

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Josh Chappelle
method anyway. :-) Josh -Original Message- From: Colin Rogers [mailto:coli...@groundsure.com] Sent: Tuesday, March 02, 2010 10:46 AM To: users@wicket.apache.org Subject: RE: [newbie] Wicket, Spring, Hibernate and transactions in views. I'd recommend you to make your transactional control

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Riyad Kalla
, for example). -Original Message- From: Pedro Sena [mailto:sena.pe...@gmail.com] Sent: 02 March 2010 16:39 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I don't think so. I'd recommend you to make your transactional control

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
: Riyad Kalla [mailto:rka...@gmail.com] Sent: 02 March 2010 16:53 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I'm not DB expert, but why are you using transactions for read only (SELECTs) queries? I've only ever seen transactions used to wrap

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Pedro Santos
need the transactions for lazy fetching of child elements in hibernate. -Original Message- From: Riyad Kalla [mailto:rka...@gmail.com] Sent: 02 March 2010 16:53 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I'm not DB expert

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
Santos [mailto:pedros...@gmail.com] Sent: 02 March 2010 17:11 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. Consider to use OpenSessionInViewFilter http://static.springsource.org/spring/docs/1.2.9/api/org/springframework /orm/hibernate3/support

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread James Carman
Introduce AspectJ and spring-aspects into your build. You can see an example of it in my wicket-advanced sample project: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/ Then, AspectJ will weave the transaction support into your Page/Component classes like you want. There are

Re: Wicket, Spring 3 and UnitTesting

2010-01-29 Thread Kent Tong
Jochen Mader-2 wrote: Just figured out how to do UnitTesting with Spring 3 and Wicket. An alternative is to use http://wicketpagetest.sourceforge.net. It works fine with Spring 3.0 without changing any of your code. - -- Kent Tong Better way to unit test Wicket pages

Re: Wicket, Spring 3 and UnitTesting

2010-01-28 Thread Jochen Mader
Sorry for my late answer. StaticWebApplicationContext doesn't cut it for me. Your example contains a small mistake: Inserting the mock-object won't work as registerSingleton expects to get a Class. As I want to create mock objects with EasyMock there are two approaches (as far as I know). The one

Re: Wicket, Spring 3 and UnitTesting

2010-01-28 Thread mbrictson
The API is bit confusing: registerSingleton() on StaticWebApplicationContext takes a class, but registerSingleton() on ConfigurableListableBeanFactory takes a bean. That is why I first call getBeanFactory() in my example. ctx.getBeanFactory().registerSingleton(...) I use

Re: Wicket, Spring 3 and UnitTesting

2010-01-28 Thread Jochen Mader
Oh man, you are right. My eyes got a little selective on that line :)

Wicket, Spring 3 and UnitTesting

2010-01-26 Thread Jochen Mader
Just figured out how to do UnitTesting with Spring 3 and Wicket. Spring 3 introduced a check to see if a given context was a WebApplicationContext. That means ApplicationContextMock is not suitable for testing (giving the infamous No WebApplicationContext found: no ContextLoaderListener

Re: Wicket, Spring 3 and UnitTesting

2010-01-26 Thread Martin Grigorov
Please add this to http://cwiki.apache.org/WICKET/spring.html On Tue, 2010-01-26 at 11:48 +0100, Jochen Mader wrote: Just figured out how to do UnitTesting with Spring 3 and Wicket. Spring 3 introduced a check to see if a given context was a WebApplicationContext. That means

Re: Wicket, Spring 3 and UnitTesting

2010-01-26 Thread mbrictson
/StaticWebApplicationContext.html Jochen Mader-2 wrote: Just figured out how to do UnitTesting with Spring 3 and Wicket. Spring 3 introduced a check to see if a given context was a WebApplicationContext. That means ApplicationContextMock is not suitable for testing (giving the infamous No WebApplicationContext

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-18 Thread Martijn Dashorst
The interceptor can be safely removed. It was necessary for the project I was working on, but you probably don't need it. JDBC connection settings are best done through a DataSource and specified at the container level instead of programmatically. Martijn On Mon, Nov 16, 2009 at 6:38 PM,

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-18 Thread Martijn Dashorst
The interceptor can be safely removed. It was necessary for the project I was working on, but you probably don't need it. JDBC connection settings are best done through a DataSource and specified at the container level instead of programmatically. Martijn On Mon, Nov 16, 2009 at 6:38 PM,

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-17 Thread James Carman
do not need change or replace a file.  The configuration is at the server level [in the server context] and it is pulled from there. Isn't this a Spring question? The Wicket/Spring integration basically lets you talk to your Spring beans (by using @SpringBean annotation to inject them

RE: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-17 Thread Loritsch, Berin C.
...@envisa.com] Sent: Monday, November 16, 2009 12:38 PM To: users@wicket.apache.org Subject: Wicket + Spring + Hibernate - Wicket-In-Action At the link[1] it describes how to configure wicket to use Spring and Hibernate. In the applicationContext.xml file there is reference to a n interceptor

Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-16 Thread Jeffrey Schneller
At the link[1] it describes how to configure wicket to use Spring and Hibernate. In the applicationContext.xml file there is reference to a n interceptor bean. What is this interceptor bean? What is the definition of this bean? Everything else seems to make sense. Also how would one move

Wicket Spring API docs?

2009-11-12 Thread Loritsch, Berin C.
Where can I find the wicket-spring module API docs? It's not clear to me from the website.

Re: Wicket Spring API docs?

2009-11-12 Thread Igor Vaynberg
dont you use attach sources in your IDE? -igor On Thu, Nov 12, 2009 at 12:09 PM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: Where can I find the wicket-spring module API docs?  It's not clear to me from the website

Re: Wicket Spring API docs?

2009-11-12 Thread James Carman
wrote: dont you use attach sources in your IDE? -igor On Thu, Nov 12, 2009 at 12:09 PM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: Where can I find the wicket-spring module API docs?  It's not clear to me from the website

Re: Wicket Spring API docs?

2009-11-12 Thread James Carman
.  It should belong to the wicket-spring subproject. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Thursday, November 12, 2009 3:16 PM To: users@wicket.apache.org Subject: Re: Wicket Spring API docs? dont you use attach sources in your IDE? -igor

RE: Wicket Spring API docs?

2009-11-12 Thread Loritsch, Berin C.
I did, but that doesn't help me with knowing what classes are available. For example, I had issues with using the WicketTester to test my Wicket/Spring based app. I finally was able to create my own SpringWicketTester class that would load up the SpringWebApplicationContext that is needed

Re: Wicket Spring API docs?

2009-11-12 Thread Igor Vaynberg
the WicketTester to test my Wicket/Spring based app.  I finally was able to create my own SpringWicketTester class that would load up the SpringWebApplicationContext that is needed for my app to run.  However, I had no way of telling if that was duplicate work. If anyone is interested, I can

<    1   2   3   4   >