Re: Wicket Spring API docs?

2009-11-12 Thread Igor Vaynberg
to happen anymore? On Thu, Nov 12, 2009 at 3:16 PM, Igor Vaynberg igor.vaynb...@gmail.com 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

RE: Wicket Spring API docs?

2009-11-12 Thread Loritsch, Berin C.
, November 12, 2009 3:42 PM To: users@wicket.apache.org Subject: Re: Wicket Spring API docs? your IDE is much better at browsing and searching for classes then a javadoc online :) -igor On Thu, Nov 12, 2009 at 12:38 PM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: I did, but that doesn't help

Re: Wicket Spring API docs?

2009-11-12 Thread Pierre Goupil
person who has hit this problem, and all the online instructions I've found are for Wicket 1.3 or 1.2. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Thursday, November 12, 2009 3:42 PM To: users@wicket.apache.org Subject: Re: Wicket Spring API docs

RE: Wicket Spring API docs?

2009-11-12 Thread Loritsch, Berin C.
It's fairly small. I can include it in an email. If I throw it on the wiki where would be the best place? -Original Message- From: Pierre Goupil [mailto:goupilpie...@gmail.com] Sent: Thursday, November 12, 2009 4:02 PM To: users@wicket.apache.org Subject: Re: Wicket Spring API docs

Wicket + Spring + Hibernate event in ISTANBUL (Turkey)

2009-10-15 Thread Altuğ B . Altıntaş
Hi all; Today we will organize a medium size event. In that event, we will present hands on session about Wicket + Spring + Hibernate. This event will be in Istanbul, Besiktasi Bahcesehir University at 19.00 (local time) http.//www.java.org.tr Feel free to attend this event. Regards

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread richardwilko
http://jWeekend.com danisevsky danisevsky wrote: Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate -B -DarchetypeCatalog= http://legup.googl ecode.com/svn/repo/archetype-catalog.xml

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread danisevsky
Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com danisevsky danisevsky wrote: Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate -B

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread jWeekend
this helps Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com danisevsky danisevsky wrote: Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-09 Thread Bert
Hope this helps Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com danisevsky danisevsky wrote: Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-09 Thread danisevsky
Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com danisevsky danisevsky wrote: Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate -B -DarchetypeCatalog

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate -B -DarchetypeCatalog= http://legup.googl ecode.com/svn/repo/archetype-catalog.xml-DarchetypeArtifactId=wicket-spring-jpa -archetype -DarchetypeGroupId=com.jweekend

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread richardwilko
generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate -B -DarchetypeCatalog= http://legup.googl ecode.com/svn/repo/archetype-catalog.xml-DarchetypeArtifactId=wicket-spring-jpa -archetype -DarchetypeGroupId=com.jweekend -DarchetypeVersion=0.8.0

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
this helps Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com danisevsky danisevsky wrote: Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread jWeekend
: Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate -B -DarchetypeCatalog= http://legup.googl ecode.com/svn/repo/archetype-catalog.xml-DarchetypeArtifactId=wicket-spring-jpa -archetype -DarchetypeGroupId

Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a simple project using one of our archetypes. The projects you will generate will include enough configuration, code and/or some tests to get you started, quickly. Our archetypes

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to http://jweekend.com/dev/HomePageBody - To

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Looks cool :) 2009/10/6 jWeekend jweekend_for...@cabouge.com We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a simple project using one of our archetypes. The projects you will generate will include enough configuration, code

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Why dont you have a Guice 2.0 archetype? We could probably bump the warp persist guys to work on their 2.0 imp.. If thats whats stopping you? 2009/10/6 nino martinez wael nino.martinez.w...@gmail.com Looks cool :) 2009/10/6 jWeekend jweekend_for...@cabouge.com We have launched jWeekend's

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Works for me.. I took the guice warp persist + etc archetype.. 2009/10/6 Md. Jahid Shohel ja...@outscore.se On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread James Perry
Nice one Cemal! I will have to use leg up to get a leg over setting up Wicket projects ;-) Best, James. On Tue, Oct 6, 2009 at 2:47 PM, jWeekend jweekend_for...@cabouge.comwrote: We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
Nino, We don't have a Guice 2.0 for that very reason; the warp persist guys don't have a final 2.0 release yet. Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com nino martinez wael wrote: Why dont you have a Guice 2.0

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
Jahid, Thanks - a little Tomcat PERM_GEN issue. Should be OK now, but at the next scheduled restart we'll bump it up a bit. Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com Jahid wrote: On Tue, 2009-10-06 at 14:47 +0100, jWeekend

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
seems like its working now. really cool! On Tue, 2009-10-06 at 16:01 +0200, Md. Jahid Shohel wrote: On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
Hey, that's great! Is there any way to contribute to this? Thumbs up, Erik 2009/10/6 jWeekend jweekend_for...@cabouge.com We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a simple project using one of our archetypes. The projects

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
You could always contribute to Wicket Iolite :) Which essentially are the same, or Wicketopia http://wicketopia.sourceforge.net/ http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite 2009/10/6 Erik Post eriksen...@gmail.com Hey, that's great! Is there any way to contribute to this?

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Gw
Hi, I'm a newbie in Wicket. I use Databinder toolkit (wicket+hibernate) to help me develop DB application rapidly. With the built-in Jetty, the development is quite smooth, however, when trying to run my app on Tomcat 5.5 (Java 5), I faced the following error. I wonder if wicket is really

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Caused by: java.text.ParseException: Tag 'DT' (line 101, column 1) has a mismatched close tag at '/DL' (line 102, column 1) is the issue, your html are broken.. Regarding tomcat compability, I've deployed over dozens of apps the last 4-5 years or so on Tomcat 5.5 .. 2009/10/6 Gw

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
Erik, Thanks. We'll review that soon - it is our intention but we need to be ready to take care of the project. Just for the moment, we'll take on ideas for new archetypes, and feel free to contact me via our site if you have some particular ideas and need stuff included quickly. Ideas for

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
Hi Cemal, On Tue, Oct 6, 2009 at 5:05 PM, jWeekend jweekend_for...@cabouge.com wrote: Thanks. We'll review that soon - it  is our intention but we need to be ready to take care of the project. Just for the moment, we'll take on ideas for new archetypes, and feel free to contact me via our

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
Erik, No such prejudice here: a Wicket with EJB 3+ archetype is a very good idea and I was already planning on us setting up an archetype for JBoss and wicket-javaee [1] (that contrib library just works by the way - we've used it with no problems so far on a couple of projects, one with JBoss -

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Tuesday, October 06, 2009 9:48 AM To: users@wicket.apache.org Subject: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Erik Post
- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Tuesday, October 06, 2009 9:48 AM To: users@wicket.apache.org Subject: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects We have launched jWeekend's Leg Up page [1]. You can generate a command

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
to be that difficult to implement. Thanks. -Original Message- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Tuesday, October 06, 2009 9:48 AM To: users@wicket.apache.org Subject: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects We have launched

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
To: users@wicket.apache.org Subject: Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects Hi Jeffrey, I have *absolutely* no idea if this will help you, but I had the same with Spring. It started working when i put the injection annotation on the method instead

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
to be that difficult to implement. Thanks. -Original Message- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Tuesday, October 06, 2009 9:48 AM To: users@wicket.apache.org Subject: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects We have

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Jeffrey Schneller
) { service.start(); } } } -Original Message- From: richardwilko [mailto:richardjohnwilkin...@gmail.com] Sent: Tuesday, October 06, 2009 2:56 PM To: users@wicket.apache.org Subject: RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate

RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread richardwilko
Subject: RE: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects Jeffrey, I expect the changes you made to the Guice Module are the reason why the session is null, could you paste in the contents of it. Regards - Richard Wilkinson Developer, jWeekend: OO

Re: Starting with Wicket, Spring, Maven and JDBC

2009-09-24 Thread Pedro Sena
I'll check them Thanks Eric, On Wed, Sep 23, 2009 at 8:08 PM, Erik Post eriksen...@gmail.com wrote: Well, besides iolite, you could take a look at wicket-phonebook and wicketopia. They're not JDBC but they both come with Spring preconfigured. The phonebook has a couple of example DAO's and

Re: Starting with Wicket, Spring, Maven and JDBC

2009-09-24 Thread Muro Copenhagen
Hi Pedro Try Appfuse-light with the desired combination: https://appfuse-light.dev.java.net/servlets/ProjectDocumentList?folderID=8006expandFolder=8006folderID=0 It should be at the bottom. Best Regards Muro On Thu, Sep 24, 2009 at 12:04 PM, Pedro Sena sena.pe...@gmail.com wrote: I'll check

Re: Starting with Wicket, Spring, Maven and JDBC

2009-09-24 Thread Pedro Sena
Wow, Exactly what I was looking for!!! Thanks a lot !! On Thu, Sep 24, 2009 at 7:10 AM, Muro Copenhagen copenha...@gmail.comwrote: Hi Pedro Try Appfuse-light with the desired combination:

Starting with Wicket, Spring, Maven and JDBC

2009-09-23 Thread Pedro Sena
Hi Guys, I'm new to Wicket with Spring(I never used Spring before, just Seam). I'm using lolite but it comes with JPA instead of JDBC. I would like to know if there is some archetype for the setup that I described in the title. I already checked wicket stuff if no luck. Thanks in advance, --

Re: Starting with Wicket, Spring, Maven and JDBC

2009-09-23 Thread Erik Post
Well, besides iolite, you could take a look at wicket-phonebook and wicketopia. They're not JDBC but they both come with Spring preconfigured. The phonebook has a couple of example DAO's and iBatis (among others) set up. You could take those as a starting point and 'add' JDBC. Cheers, Erik On

Re: Wicket + Spring Security (PreAuthentication)

2009-08-31 Thread Olivier Bourgeois
/wicket-swarm-spring-security-how-to.html For your spring configuration, I think you will have to write a custom AuthenticationProvider that handles you SSO cookie and checks the token validity. 2009/8/28 Anders innocentl...@gmail.com: Hi, I refered to http://cwiki.apache.org/WICKET/spring-security

Wicket + Spring Security (PreAuthentication)

2009-08-28 Thread Anders
Hi, I refered to http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.htmland wicket-spring example web application and it works. Now my company has a single-sign on web page already, like https:///login.cgi. This SSO web page will set cookies and return a token after login

Wicket, Spring, JDO on Google App Engine - Sample Application

2009-07-13 Thread Nick Wiedenbrück
I've written a Wicket, Spring, JDO sample application that runs on the Google App Engine. An introduction ist available as a blog post at http://stronglytypedblog.blogspot.com/2009/07/wicket-spring-jdo-on-google-app-engine.html. The source code is available at http://kenai.com/projects/wicketgae

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread Daniel Dominik Holúbek
Okay, but I still don't understand the reason of doing this stuff :)I've already created the Application bean, and implemented ApplicationContextAware. Then the setApplicationContext method gets called, so I created ApplictionContext variable in that class and set it it that method. But if I try

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread Daniel Dominik Holúbek
I appreciate your help, of course :)You know, I'm trying to create a web app consisting of independent modules. Then if I change something in one module, I don't have to redeploy whole application. This can be achieved of course, the only problem is this thing we are currently speaking of. :) But

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread Daniel Stoch
Hi, I think your problem is that in Wicket the whole Spring injection mechanism is prepared for applications where there is only one ApplicationContext (AC). This AC is hold in the Wicket application instance. So when you are trying to use @SpringBean annotation Wicket tries to inject a bean from

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread Daniel Dominik Holúbek
Yes, that's the way it's meant to work :) On Tue, Jun 23, 2009 at 3:25 PM, James Carman jcar...@carmanconsulting.comwrote: On Tue, Jun 23, 2009 at 8:26 AM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: I appreciate your help, of course :)You know, I'm trying to create a web app

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread James Carman
How many modules do you have? Do you really need to be able to do this with your live production server? I'm just trying to get an idea behind the decision behind going with this sort of an architecture. Perhaps we can offer up an alternative that would work with the existing Wicket stuff so

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread Igor Vaynberg
isnt a big point of osgi to manage cross-bundle-dependencies? so if you inject panel A using panel A's context how does panel A ever see beans that are defined in module B? eg if panel A needs a sessionfactory which is defined in module B? -igor On Tue, Jun 23, 2009 at 5:36 AM, Daniel

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread Daniel Stoch
Ok, at least two scenarios are possible: 1. You have a module A with PanelA and you want to inject someDAO bean, which is defined inside module A (in the same module where class PanelA is defined). Then you can use classic @SpringBean annotation, as I wrote in my previous post. 2. You want to use

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread Daniel Dominik Holúbek
But as far as I understand this, Spring DM is built upon the idea that I can't build ApplicationContext, as it is built by Spring DM Extender. Am I right? On Mon, Jun 22, 2009 at 12:37 AM, James Carman jcar...@carmanconsulting.com wrote: Try using the other SpringComponentInjector constructor

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
Can you have your Application object created as a Spring bean and make it context aware and let the container inject the context into it? On Mon, Jun 22, 2009 at 2:02 AM, Daniel Dominik Holúbekdankodo...@gmail.com wrote: But as far as I understand this, Spring DM is built upon the idea that I

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread Daniel Dominik Holúbek
Well, I don't know :)I On Mon, Jun 22, 2009 at 12:32 PM, James Carman jcar...@carmanconsulting.com wrote: Can you have your Application object created as a Spring bean and make it context aware and let the container inject the context into it? On Mon, Jun 22, 2009 at 2:02 AM, Daniel Dominik

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread Daniel Dominik Holúbek
I don't know :)I can create a Spring bean from Application object, but I don't know what does it mean - make it context aware. That's why I am asking whether somebody has already tried this... On Mon, Jun 22, 2009 at 5:09 PM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: Well, I don't

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
On Mon, Jun 22, 2009 at 11:11 AM, Daniel Dominik Holúbekdankodo...@gmail.com wrote: I don't know :)I can create a Spring bean from Application object, but I don't know what does it mean - make it context aware. That's why I am asking whether somebody has already tried this... Have your

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
That's what I'd try, perhaps. How are you starting this application? Only in eclipse? On Mon, Jun 22, 2009 at 11:09 AM, Daniel Dominik Holúbekdankodo...@gmail.com wrote: Well, I don't know :)I On Mon, Jun 22, 2009 at 12:32 PM, James Carman jcar...@carmanconsulting.com wrote: Can you have

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread Daniel Dominik Holúbek
For now, only in eclipse. But when it goes to production (or further testing) it will run in equinox bridge. On Mon, Jun 22, 2009 at 5:14 PM, James Carman jcar...@carmanconsulting.comwrote: That's what I'd try, perhaps. How are you starting this application? Only in eclipse? On Mon, Jun 22,

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread Daniel Dominik Holúbek
I tried implementing the ApplicationContextAware interface, it looked like a good idea, but the setApplicationContext method is never called. On Mon, Jun 22, 2009 at 8:25 PM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: For now, only in eclipse. But when it goes to production (or further

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread Igor Vaynberg
you have to create wicketapplication instance as a spring bean in order for setapplicationcontext to be called. -igor On Mon, Jun 22, 2009 at 12:47 PM, Daniel Dominik Holúbekdankodo...@gmail.com wrote: I tried implementing the ApplicationContextAware interface, it looked like a good idea, but

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
Sorry, that's IWebApplicationFactory, not IWicketApplicationFactory. Long day. On Mon, Jun 22, 2009 at 5:05 PM, James Carmanjcar...@carmanconsulting.com wrote: You will probably need to make your application class a singleton (with a getInstance() method and stuff) and specify that in the

Re: Wicket + Spring DM + Hibernate

2009-06-21 Thread Daniel Dominik Holúbek
Hello everyone :)So, I solved the Spring DM problems successfully... but there is still one problem left, and this time I am absolutely sure that it's a Wicket related problem :) I want to inject my userDao bean into Panel class. To do that, I nead to create a bean from that Panel class - like

Re: Wicket + Spring DM + Hibernate

2009-06-21 Thread James Carman
You can't use @SpringBean? On Sun, Jun 21, 2009 at 11:03 AM, Daniel Dominik Holúbekdankodo...@gmail.com wrote: Hello everyone :)So, I solved the Spring DM problems successfully... but there is still one problem left, and this time I am absolutely sure that it's a Wicket related problem :) I

Re: Wicket + Spring DM + Hibernate

2009-06-21 Thread James Carman
Try using the other SpringComponentInjector constructor (the one that takes an ApplicationContext object).  Construct your ApplicationContext however you want. On Sun, Jun 21, 2009 at 2:09 PM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: Well, no.I'll explain: It's an OSGi app running in

Wicket + Spring DM + Hibernate

2009-06-15 Thread Daniel Dominik Holúbek
Hello,has anybody here successfully used Spring DM with Hibernate (the OSGi way) in Wicket? I am totally hopeless about this... The goal is to create modular app with this features: - every module (bundle) has its own applicationContext and DAO classes. - i.e. if I have a module which loads

Re: Wicket + Spring DM + Hibernate

2009-06-15 Thread Igor Vaynberg
isnt this a question for the spring dmserver forum? -igor On Mon, Jun 15, 2009 at 3:49 AM, Daniel Dominik Holúbekdankodo...@gmail.com wrote: Hello,has anybody here successfully used Spring DM with Hibernate (the OSGi way) in Wicket? I am totally hopeless about this... The goal is to create

Re: Wicket + Spring DM + Hibernate

2009-06-15 Thread Daniel Dominik Holúbek
Well, may be, but won't they send me back to this mailinglist? :)To be honest, I have only a little problem with Spring DM itself (there are couple of tutorials out there), I was only curious about whether somebody has successfully tried this. For example, now it seems that the dependency is not

Re: Wicket + Spring DM + Hibernate

2009-06-15 Thread Igor Vaynberg
your original message did not specify what problems you were having. further, springbean does not require anything in web.xml, it simply needs the applicationcontext reference, and if you dont give it one it will look it up using spring's utils so everything should work. -igor On Mon, Jun 15,

Re: wicket-spring classpath issue

2009-02-25 Thread Alex Parvulescu
with the wicket - spring integration in wicket 1.4 rc2 , i think its similar to https://issues.apache.org/jira/browse/WICKET-1848 The use case is like this : I have 2 simple applications running in a jetty server. To keep things simple , i added the spring and wicket libs

wicket-spring classpath issue

2009-02-24 Thread Alex Parvulescu
Hello, I have a problem with the wicket - spring integration in wicket 1.4 rc2 , i think its similar to https://issues.apache.org/jira/browse/WICKET-1848 The use case is like this : I have 2 simple applications running in a jetty server. To keep things simple , i added the spring and wicket

Re: wicket-spring classpath issue

2009-02-24 Thread John Krasnay
an additional few megs in the WARs is simply not worth the effort. jk On Tue, Feb 24, 2009 at 04:00:58PM +0200, Alex Parvulescu wrote: Hello, I have a problem with the wicket - spring integration in wicket 1.4 rc2 , i think its similar to https://issues.apache.org/jira/browse/WICKET-1848

Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

2009-02-10 Thread Kent Larsson
Hi, I'm thinking about using the **Open Session In View (OSIV)** filter or interceptor that comes with Spring, as it seems like a convenient way for me as a developer. If that's what you recommend, do you recommend using a filter or an interceptor and why? I'm also wondering how it will mix with

Re: Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

2009-02-10 Thread James Carman
Here's the demo code I used for a talk on wicket a while back. It includes OSIV and has an example of doing a repository (think DAO) http://svn.carmanconsulting.com/public/wicket-advanced/trunk On Tue, Feb 10, 2009 at 3:15 AM, Kent Larsson kent.lars...@gmail.com wrote: Hi, I'm thinking

Re: Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

2009-02-10 Thread Timo Rantalaiho
On Tue, 10 Feb 2009, Kent Larsson wrote: I'm thinking about using the **Open Session In View (OSIV)** filter or interceptor that comes with Spring, as it seems like a convenient way for me as a developer. If that's what you recommend, do you recommend using a filter or an interceptor and why?

Wicket / Spring bean annotations

2009-01-20 Thread Andrew Humphries (MEL)
Hi - Probably a simple question : We are using Spring with Wicket in our project. I have opted for the use of the Spring bean annotations as described in 'Wicket in Action'. In the chapter on integrating the two technologies the book explains that you should use proxies instead of direct

Re: Wicket / Spring bean annotations

2009-01-20 Thread Jeremy Thomerson
Although I do not know for sure, I would think not, because my understanding is that a proxy is created that is safe to be serialized. However, I would ask *why* do this? If you're passing it to another component, why not just have that component also use an annotation? I wouldn't think that

RE: Wicket / Spring bean annotations

2009-01-20 Thread Andrew Humphries (MEL)
@wicket.apache.org Subject: Re: Wicket / Spring bean annotations Although I do not know for sure, I would think not, because my understanding is that a proxy is created that is safe to be serialized. However, I would ask *why* do this? If you're passing it to another component, why not just have

Re: Wicket / Spring bean annotations

2009-01-20 Thread James Carman
to doing that, but I was also intersted out of curiosity. Andrew -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Wednesday, 21 January 2009 11:03 AM To: users@wicket.apache.org Subject: Re: Wicket / Spring bean annotations Although I do not know

Re: Wicket / Spring bean annotations

2009-01-20 Thread Igor Vaynberg
, and then passing around the reference. I'll stick to doing that, but I was also intersted out of curiosity. Andrew -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Wednesday, 21 January 2009 11:03 AM To: users@wicket.apache.org Subject: Re: Wicket

Re: Wicket / Spring bean annotations

2009-01-20 Thread Igor Vaynberg
...@wickettraining.com] Sent: Wednesday, 21 January 2009 11:03 AM To: users@wicket.apache.org Subject: Re: Wicket / Spring bean annotations Although I do not know for sure, I would think not, because my understanding is that a proxy is created that is safe to be serialized. However, I would ask

Wicket-spring-tomcat integration

2008-12-15 Thread Arie Fishler
Hi, I am using wicket via tomcat integrated into spring using a filter with * org*.*apache*.*wicket*.protocol.*http*.WicketFilter The thing is that I want to map the wicket application to several url patterns (to know which environment the user is coming from) Is there a way to map the

Re: Wicket-spring-tomcat integration

2008-12-15 Thread Richard Allen
The url-pattern only supports using a wildcard at the end of the pattern (e.g., /myapp/*) or as a extension mapping prefix (e.g., *.do). See section SRV.11.2 of the servlet specification, which can be downloaded from here: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

Wicket-Spring Injection

2008-11-27 Thread Arie Fishler
Hi, I have some injection related issues in my wicket application. 1. My session hold a bean (managed by the spring container) that is passed to it on construction of the session. It is not a Serializable object (some of the interfaces that this object is using are spring interfaces and not

Re: Wicket-Spring Injection

2008-11-27 Thread Igor Vaynberg
On Thu, Nov 27, 2008 at 4:44 AM, Arie Fishler [EMAIL PROTECTED] wrote: Hi, I have some injection related issues in my wicket application. 1. My session hold a bean (managed by the spring container) that is passed to it on construction of the session. It is not a Serializable object (some of

Re: wicket-spring dependency in maven repository

2008-11-04 Thread Antony Stubbs
I've opened a jira issue https://issues.apache.org/jira/browse/WICKET-1913 Erik van Oosten wrote: Doug Donohoe wrote: I'm using wicket-spring-annot and ran into a small problem with maven dependencies. The wicket-spring-annot project depends on wicket-spring. This has come up

Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
I am experiencing exactly the problem outlined in the subject of this post, and I would really appreciate any help I can get, as I am under a deadline. It's the first time I'm using Wicket with JPA, and I just don't understand why this isn't working. I have a Wicket dataprovider that looks like

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
Oops...I meant: Bar bar = myApi.getBar(); ListFoo foos = bar.getFoos(); JulianS wrote: I am experiencing exactly the problem outlined in the subject of this post, and I would really appreciate any help I can get, as I am under a deadline. It's the first

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread James Perry
Firstly, your code is rather strange. That getFoos() method is not part of the List Interface API. Two possible solutions: The filter chain maybe incorrect in your web.xml. Your OpenEntityManagerInViewFilter might not be preceding the Wicket filter. Check that it does precede it. If you have a

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread Igor Vaynberg
what is your dataprovider#model() look like? are you using a loadable detachable model? -igor On Mon, Nov 3, 2008 at 11:04 AM, JulianS [EMAIL PROTECTED] wrote: I am experiencing exactly the problem outlined in the subject of this post, and I would really appreciate any help I can get, as I am

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
Igor, I'm not using a loadable detachable model because I was hoping to get the list of foos directly from the Bar object, as opposed to having a dedicated dao method to get the list of foos, which seems to defeat the benefit of using JPA's object chaining. To answer your question, here's my

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread JulianS
James, thanks for your reply. I've checked that my OpenEntityManagerInViewFilter precedes the Wicket filter. And my debug log indeed shows that it seems to be opening and closing the entity manager before and after the wicket filter runs. I'm hoping to avoid the type of query you suggest, but I'm

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread Igor Vaynberg
On Mon, Nov 3, 2008 at 2:09 PM, JulianS [EMAIL PROTECTED] wrote: To answer your question, here's my implementation of dataprovider#model(): public IModel model(Object object) { return new Model((Serializable) object); } Of course, it's very possible I'm

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Lutz Müller
a different aproach/ solution for this using wicket + spring with JPA? Best, Korbinan PS: im on wicket 1.4-m3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Michael Sparer
far) Has anyone a different aproach/ solution for this using wicket + spring with JPA? Best, Korbinan PS: im on wicket 1.4-m3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Igor Vaynberg
not sure if this is the way it is supposed to be? ( I read so far that this disables a big part of springs-transaction handling support but didnt see any impacts so far) Has anyone a different aproach/ solution for this using wicket + spring with JPA? Best, Korbinan PS: im on wicket

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Nino Saturnino Martinez Vazquez Wael
for this using wicket + spring with JPA? Best, Korbinan PS: im on wicket 1.4-m3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread Timo Rantalaiho
On Thu, 09 Oct 2008, Lutz Müller wrote: It might work if you dont have any ajax on your page. otherwise each ajax call happens in a new request and causes your domain object to be retrieved from the database. this way you lose every change made to your object. writing all changes to

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-10-09 Thread James Carman
Are we talking about a wizard here? What if you used something like this: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/model/proxy/ProxyModelManager.java Basically, the models cache their values until you call commit on the

Re: wicket + spring + jpa/ hibernate = lazy load exception

2008-09-30 Thread Nino Saturnino Martinez Vazquez Wael
) private EntityManager em; However, I'm not sure if this is the way it is supposed to be? ( I read so far that this disables a big part of springs-transaction handling support but didnt see any impacts so far) Has anyone a different aproach/ solution for this using wicket + spring with JPA

<    1   2   3   4   >