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 Nino Saturnino Martinez Vazquez Wael
ersistenceContextType.EXTENDED) 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 us

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

2008-10-09 Thread Igor Vaynberg
>> >>>> wicket class i need to walk the entity tree a bit, based on the >>> needs >>> >>>> of the user (preloading wont work, as i dont know the direction the >>> >>>> user wants to walk and the whole entity tree is too complex to

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

2008-10-09 Thread Michael Sparer
the direction the >> >>>> user wants to walk and the whole entity tree is too complex to grab >> it >> >>>> all at once). >> >>>> >> >>&

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

2008-10-09 Thread Lutz Müller
; >>>> user wants to walk and the whole entity tree is too complex to grab it > >>>> all at once). > >>>> > >>>> If I use the Entity myEntity.getMyOtherConnectedEntity I get the lazy > >>>> load exception (transaction already closed). So

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

2008-09-29 Thread Nino Saturnino Martinez Vazquez Wael
: @PersistenceContext(type = PersistenceContextType.EXTENDED) 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 apr

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

2008-09-29 Thread James Carman
Would you be able to create a quickstart that exhibits this behavior? If you want, you can use the JPA archetype in wicketopia (the code I referenced) to set everything up for you automatically. On Mon, Sep 29, 2008 at 12:21 PM, Korbinian Bachl - privat <[EMAIL PROTECTED]> wrote: > Hmm, > > I copi

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

2008-09-29 Thread Korbinian Bachl - privat
Hmm, I copied it to web.xml, but result is: 2008-09-29 18:07:24,125 ERROR org.hibernate.LazyInitializationException - failed to lazily initialize a collection of role: de.xxx....xxx., no session or session was closed org.hibernate.LazyInitializationException: failed to lazily i

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

2008-09-29 Thread James Carman
We don't use JPA at work, but we use OSIV (we're using straight hibernate). Anyway, for the JPA configuration, you can look at: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/jpa-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml On Mon, Sep 29, 20

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

2008-09-29 Thread Korbinian Bachl - privat
really? - I tried it but... would you please be so nice and post the part of the web.xml where it is mapped and the corresponding part of the spring-application.xml ? what wicket version are you on? what runtime (Tomcat 6?)? Best, Korbinian James Carman schrieb: On Mon, Sep 29, 2008 at 7:

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

2008-09-29 Thread Michael Sparer
Currently I ended up using this: >>> @PersistenceContext(type = PersistenceContextType.EXTENDED) >>> 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 par

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

2008-09-29 Thread James Carman
On Mon, Sep 29, 2008 at 7:14 AM, Korbinian Bachl - privat <[EMAIL PROTECTED]> wrote: > However, the OpenSessionInViewFilter will not work with wicket, even if > mapped to "/*" in the web.xml Huh? We use it and it works just fine. By the way, have you tried OpenEntityManagerInViewFilter if you'r

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

2008-09-29 Thread Korbinian Bachl - privat
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 1.4-m3 ---

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

2008-09-29 Thread Nino Saturnino Martinez Vazquez Wael
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 1.4-m3 ---

wicket + spring + jpa/ hibernate = lazy load exception

2008-09-29 Thread Korbinian Bachl - privat
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

wicket, spring and Jtrac

2008-08-29 Thread jayboado
Hi everyone, I am trying to do alittle enhancement with Jtrac(thanks PThomas). I created a mailto properties that will open the default mail application with pre-formatted text. The java class uses setResponsePage to include the ticket id in the url. how can I copy the entire url since i would w

Re: wicket + spring + jpa reference example?

2008-08-07 Thread francisco treacy
- it has a useful Wicket + > Spring + Hibernate example. Replace Hibernate with the JPA equivalents. > -- > View this message in context: > http://www.nabble.com/wicket-%2B-spring-%2B-jpa-reference-example--tp18859884p18876793.html > Sent from the Wicket - User ma

Re: wicket + spring + jpa reference example?

2008-08-07 Thread shetc
Buy Wicket In Action from Manning Publishers -- it has a useful Wicket + Spring + Hibernate example. Replace Hibernate with the JPA equivalents. -- View this message in context: http://www.nabble.com/wicket-%2B-spring-%2B-jpa-reference-example--tp18859884p18876793.html Sent from the Wicket

Re: wicket + spring + jpa reference example?

2008-08-07 Thread francisco treacy
oject for wicket+hibernate+spring+flex+blazeds in the works, > but it is far from perfect: > http://code.google.com/p/wicket-flex-blazeds/ > > On Wed, Aug 6, 2008 at 5:25 PM, francisco treacy <[EMAIL PROTECTED] >> wrote: > >> hi, >> >> i need to develop a proj

Re: wicket + spring + jpa reference example?

2008-08-06 Thread Ryan Gravener
, 2008 at 5:25 PM, francisco treacy <[EMAIL PROTECTED] > wrote: > hi, > > i need to develop a project with wicket + spring + jpa. i'm not used > lately to this setup, so i tried to build it up, not without some > trouble. > > so my question here is: do you know a curr

Re: wicket + spring + jpa reference example?

2008-08-06 Thread francisco treacy
it's me again. minutes after the post i found my way out of that applicationContext maze... but thanks anyway! francisco On Wed, Aug 6, 2008 at 11:25 PM, francisco treacy <[EMAIL PROTECTED]> wrote: > hi, > > i need to develop a project with wicket + spring + jpa. i'm

wicket + spring + jpa reference example?

2008-08-06 Thread francisco treacy
hi, i need to develop a project with wicket + spring + jpa. i'm not used lately to this setup, so i tried to build it up, not without some trouble. so my question here is: do you know a current good wicket + spring + jpa reference/example? earlier today i checked out qwicket, but there&#

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread Gerolf Seitz
t;[EMAIL PROTECTED]> > wrote: > > James Carman wrote: > > > > > Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in > > > with wicket-spring? > > > > > > > yes > > > > -- > > Les

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread James Carman
ok, thanks. That makes sense. On Wed, Apr 30, 2008 at 10:32 AM, Leszek Gawron <[EMAIL PROTECTED]> wrote: > James Carman wrote: > > > Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in > > with wicket-spring? > > > > yes > > -- >

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread Leszek Gawron
James Carman wrote: Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in with wicket-spring? yes -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox Ltd. - To unsubscribe

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread Martijn Dashorst
yes On 4/30/08, James Carman <[EMAIL PROTECTED]> wrote: > Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in > with wicket-spring? > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > Fo

wicket-spring-annot 1.4-m1?

2008-04-30 Thread James Carman
Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in with wicket-spring? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: wicket-spring dependency in maven repository

2008-04-18 Thread Erik van Oosten
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 a number of times already. Hopefully not as often in the future as it is now also on the wiki :)

wicket-spring dependency in maven repository

2008-04-18 Thread Doug Donohoe
I'm using wicket-spring-annot and ran into a small problem with maven dependencies. The wicket-spring-annot project depends on wicket-spring. Wicket-spring in turn depends on the entire monolithic spring.jar instead of the now-preferred spring-core.jar. This caused a problem in my enviro

Re: Maven multi module app using wicket spring hibernate

2008-04-07 Thread Guðmundur Bjarni
I see that you are using the servlet rather than a filter, but that should not pose any problems, but the filter is the preferred way in Wicket 1.3. regards, Guðmundur Bjarni -- View this message in context: http://www.nabble.com/Maven-multi-module-app-using-wicket-spring-hibernate-tp16537252p165

Re: Maven multi module app using wicket spring hibernate

2008-04-07 Thread Korbinian Bachl - privat
ian pxk schrieb: Hello all, I trying to configure a maven multi module app which uses wicket spring and hibernate and unfortunately i'm stuck. I know that this may be the wrong forum to post but since the exception is more relative to wicket i thought i should try here. Anyway enough nagging.

Maven multi module app using wicket spring hibernate

2008-04-07 Thread pxk
Hello all, I trying to configure a maven multi module app which uses wicket spring and hibernate and unfortunately i'm stuck. I know that this may be the wrong forum to post but since the exception is more relative to wicket i thought i should try here. Anyway enough nagging. The web.x

Re: wicket, spring and aop

2008-04-04 Thread Korbinian Bachl - privat
methods. The instrumentation isn't executed. I know wicket is not managed but i like the wicket framework and it would be great to use integrate it but i don't know if it is possible and what is the correct way of doing it. I've tried to use the SpringWebApplication in the wic

wicket, spring and aop

2008-04-03 Thread [EMAIL PROTECTED]
ing some conventions defined by name of the methods. The instrumentation isn't executed. I know wicket is not managed but i like the wicket framework and it would be great to use integrate it but i don't know if it is possible and what is the correct way of doing it. I've tried to use th

Re: about servlet and wicket-spring sequence

2008-02-28 Thread James Carman
The context loader listener will put the Spring context into the ServletContext at application startup. You can access it via the org.springframework.web.context.support.WebApplicationContextUtils class. You don't need Wicket at all for this. On 2/28/08, Mead Lai <[EMAIL PROTECTED]> wrote: > >

RE: about servlet and wicket-spring sequence

2008-02-28 Thread Mead Lai
eyAction /surveyAction.do ViewSurvey /viewSurvey.do WicketApplication /manage/*.html /manage/index.html > From: [EMAIL PROTECTED]> To: users@wicket.apache.org> Subject: about servlet and wicket-spring sequence> Date: Fri, 29 Feb 2008 10:10:16 +0800> > > Hi,> I hav

about servlet and wicket-spring sequence

2008-02-28 Thread Mead Lai
Hi, I have a Servlet "ViewSurvey.do", it access the Spring Context from wicket Application. MyApplication app = (MyApplication) RequestCycle.get().getApplication(); but there is some thing strange: 1,if I visit the Servlet "ViewSurvey.do" first, It will cause some error, and all the applica

Re: [wicket-spring] Best Practices...

2008-02-18 Thread Timo Rantalaiho
sing this extensively) I have realised that there is a small but significant difference: the object needing the dependencies declares them on a conceptual level (interfaces maybe) and what the actual implementations are is declared elsewhere. wicket-spring approach has proven very powerful. The list o

Re: [wicket-spring] Best Practices...

2008-02-18 Thread James Carman
more bean-like so that I could set the properties like applicationSettings, frameworkSettings, etc. The reason I started down this road was because I saw the SpringWebApplicationFactory class in wicket-spring. On 2/18/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > wicket, unlike tapest

Re: [wicket-spring] Best Practices...

2008-02-18 Thread Igor Vaynberg
PROTECTED]> wrote: > > > On Mon, 18 Feb 2008, James Carman wrote: > > > Some of the things that I need to have injected aren't being injected > > > into "components." For instance, I'm working on an > > > > In those cases you can do still u

Re: [wicket-spring] Best Practices...

2008-02-18 Thread James Carman
> > Some of the things that I need to have injected aren't being injected > > into "components." For instance, I'm working on an > > In those cases you can do still use @SpringBean from > wicket-spring in that class and call > > InjectorHolder.getInjec

Re: [wicket-spring] Best Practices...

2008-02-18 Thread Timo Rantalaiho
On Mon, 18 Feb 2008, James Carman wrote: > Some of the things that I need to have injected aren't being injected > into "components." For instance, I'm working on an In those cases you can do still use @SpringBean from wicket-spring in that class and call InjectorH

Re: [wicket-spring] Best Practices...

2008-02-18 Thread James Carman
imo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Mon, 18 Feb 2008, James Carman wrote: > > If I want to use wicket-spring, but I want to try to let Spring wire > > everything together, what is the best way to do so? I realize that > > I think that it's not a good idea to

Re: [wicket-spring] Best Practices...

2008-02-18 Thread Timo Rantalaiho
On Mon, 18 Feb 2008, James Carman wrote: > If I want to use wicket-spring, but I want to try to let Spring wire > everything together, what is the best way to do so? I realize that I think that it's not a good idea to try to configure Wicket using Spring (what would be the added value

[wicket-spring] Best Practices...

2008-02-18 Thread James Carman
If I want to use wicket-spring, but I want to try to let Spring wire everything together, what is the best way to do so? I realize that there is the SpringWebApplicationFactory class, but that merely looks up the application in the Spring context. The WebApplication class isn't very &

Re: [wicket-spring] Change m2 Dependency Scope

2008-02-15 Thread Igor Vaynberg
please create a jira issue so this change shows up in the changelog. -igor On Fri, Feb 15, 2008 at 9:39 AM, James Carman <[EMAIL PROTECTED]> wrote: > I have a project where I use wicket-spring. I want to use a different > version of Spring than what wicket-spring declares a

[wicket-spring] Change m2 Dependency Scope

2008-02-15 Thread James Carman
I have a project where I use wicket-spring. I want to use a different version of Spring than what wicket-spring declares as one of its dependencies. I can do that, but it requires that I include some exclusions on my dependency. Can we change the scope of the dependencies in the wicket-spring

Re: Wicket + Spring 2.5

2007-12-15 Thread Advanced Technology®
started, but somehow I looked at the new spring 2.5 and it > seems interesting to me (same possibilities but no big appserver > needed)... can anyone post a example app or structure to me where I can > see how to plug wicket + spring 2.5 together? (or a Maven2 Archetype for > it?) >

Re: Wicket + Spring 2.5

2007-12-15 Thread James Perry
Bapp) to get my > wicket apps started, but somehow I looked at the new spring 2.5 and it > seems interesting to me (same possibilities but no big appserver > needed)... can anyone post a example app or structure to me where I can > see how to plug wicket + spring 2.5 together? (or

Wicket + Spring 2.5

2007-12-15 Thread Korbinian Bachl
plug wicket + spring 2.5 together? (or a Maven2 Archetype for it?) I mean, where do you stere there? first a spring 2.5 App and then put wicket in? or wicket first and then spring in?... sorry for the noobish question but I never used spring before. Best, Korbinian

Re: wicket + spring

2007-12-04 Thread Gerolf Seitz
sure, we have a wiki page [0] about it. hth, Gerolf [0] http://cwiki.apache.org/WICKET/spring.html On Dec 4, 2007 8:38 PM, zandile <[EMAIL PROTECTED]> wrote: > > I have been looking on the internet for a clear example of how wicket > works > with spring and still not clear. > The closest thi

wicket + spring

2007-12-04 Thread zandile
I have been looking on the internet for a clear example of how wicket works with spring and still not clear. The closest thing I came across was this example: http://www.jroller.com/JonathanLocke/date/20060203 could someone please shed some light on this topic.. thanks -- View this message in co

Re: Injecting services into Resources using wicket-spring-annotations

2007-11-14 Thread Enrique Rodriguez
On Nov 13, 2007 3:02 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > in the resource's constructor add this line: > > InjectorHolder.getInjector().inject(this); > > then you can use that class just like a component > > -igor Thank you! Of course, this worked perfectly. I was happy to find I could

Re: Injecting services into Resources using wicket-spring-annotations

2007-11-13 Thread Igor Vaynberg
in the resource's constructor add this line: InjectorHolder.getInjector().inject(this); then you can use that class just like a component -igor On Nov 13, 2007 2:15 PM, Enrique Rodriguez <[EMAIL PROTECTED]> wrote: > Hi, > > I have a web app where I'm using wicket-spr

Injecting services into Resources using wicket-spring-annotations

2007-11-13 Thread Enrique Rodriguez
Hi, I have a web app where I'm using wicket-spring-annotations to inject services into members of the Component hierarchy. This works great. I now find myself needing access to those services from within DynamicWebResources. IIUC, since Resources aren't part of the Component hiera

Re: How to Jquery, Json, wicket spring?

2007-11-06 Thread Pen
ons 2.5? >> >> thanks >> Pen > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message

Re: How to Jquery, Json, wicket spring?

2007-11-05 Thread Pen
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-Jquery%2C-Json%2C-wicket-spring--tf4749547.html#a13592076 Sent from the Wicket

Re: How to Jquery, Json, wicket spring?

2007-11-04 Thread David Bernard
Hi, I started the wicketstuff-jquery project, currently there is no doc/wiki, only the [source][1] is available and a demo application ([source][2], [war][3]). For the communication with between client and server, I used the native Wicket API, simpler than trying to "write it" in JSON (client a

How to Jquery, Json, wicket spring?

2007-11-04 Thread Pen
integrate Wicket(1.3) with spring using new spring annotations 2.5? thanks Pen -- View this message in context: http://www.nabble.com/How-to-Jquery%2C-Json%2C-wicket-spring--tf4749547.html#a13581144 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket-Spring

2007-08-28 Thread Oliver Henlich
bhupat parmar wrote: Hi i want to integarte my wicket rame work with an existing spring frame work .Can some body tell how to go about it? thanks You really should learn to search just a little bit Quick google search gives you: http://cwiki.apache.org/WICKET/spring.html Oliver sm

Re: Wicket-Spring

2007-08-28 Thread Igor Vaynberg
see spring page on the wiki!! -igor On 8/28/07, bhupat parmar <[EMAIL PROTECTED]> wrote: > > Hi > i want to integarte my wicket rame work with an existing spring frame work > .Can some body tell how to go about it? > thanks >

Wicket-Spring

2007-08-28 Thread bhupat parmar
Hi i want to integarte my wicket rame work with an existing spring frame work .Can some body tell how to go about it? thanks

Re: {wicket 1.3 beta 2} Wicket spring annotat troubles..

2007-08-13 Thread Nino Saturnino Martinez Vazquez Wael
as introduced, maybe it was later in the 2.0.x series. See http://www.nabble.com/Can-wicket-spring-just-depend-on-spring-context-and-spring-web--tf4125986.html#a11733423 on how to write the exclusion part in your pom.xml to get rid of the "spring.jar" dependency. Luke Taylor wrote:

Re: {wicket 1.3 beta 2} Wicket spring annotat troubles..

2007-08-13 Thread Nino Saturnino Martinez Vazquez Wael
eConcurrentMapIfPossible method was introduced, maybe it was later in the 2.0.x series. See http://www.nabble.com/Can-wicket-spring-just-depend-on-spring-context-and-spring-web--tf4125986.html#a11733423 on how to write the exclusion part in your pom.xml to get rid of the "spring.jar" depend

Re: {wicket 1.3 beta 2} Wicket spring annotat troubles..

2007-08-13 Thread Nino Saturnino Martinez Vazquez Wael
's logs there a "org.springframework:spring:jar:2.0" in there. I'm not sure when the createConcurrentMapIfPossible method was introduced, maybe it was later in the 2.0.x series. See http://www.nabble.com/Can-wicket-spring-just-depend-on-spring-context-and-spring-web--tf4125986.htm

Re: {wicket 1.3 beta 2} Wicket spring annotat troubles..

2007-08-13 Thread Nino Saturnino Martinez Vazquez Wael
er in the 2.0.x series. See http://www.nabble.com/Can-wicket-spring-just-depend-on-spring-context-and-spring-web--tf4125986.html#a11733423 on how to write the exclusion part in your pom.xml to get rid of the "spring.jar" dependency. Luke Taylor wrote: It looks like a maven dependency is

Re: {wicket 1.3 beta 2} Wicket spring annotat troubles..

2007-08-11 Thread cwilkes
n the createConcurrentMapIfPossible method was introduced, maybe it was later in the 2.0.x series. See http://www.nabble.com/Can-wicket-spring-just-depend-on-spring-context-and-spring-web--tf4125986.html#a11733423 on how to write the exclusion part in your pom.xml to get rid of the "spr

Re: {wicket 1.3 beta 2} Wicket spring annotat troubles..

2007-08-11 Thread Luke Taylor
It looks like a maven dependency issue. Check the WEB-INF/lib directory of your expanded webapp and look for multiple spring version jars in there. Then fix your maven build file to exclude the inconsistent ones. Nino Saturnino Martinez Vazquez Wael wrote: > Hi We keep getting this error from som

Re: wicket-spring Javadoc

2007-08-06 Thread Evan Chooly
> > Could somebody please point me to the location of the javadoc/api for the > wicket.spring package? http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-spring/1.3.0-SNAPSHOT/wicket-spring-1.3.0-SNAPSHOT-javadoc.jar

wicket-spring Javadoc

2007-08-06 Thread pokkie
Could somebody please point me to the location of the javadoc/api for the wicket.spring package? -- pokkie -- View this message in context: http://www.nabble.com/wicket-spring-Javadoc-tf4223609.html#a12014729 Sent from the Wicket - User mailing list archive at Nabble.com

<    1   2   3   4