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
>
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
>> >>>> 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
the direction the
>> >>>> user wants to walk and the whole entity tree is too complex to grab
>> it
>> >>>> all at once).
>> >>>>
>> >>&
; >>>> 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
:
@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
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
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
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
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:
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
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
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
---
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
---
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
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
- 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
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
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
, 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
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
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
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
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
>
> --
>
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
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
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]
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 :)
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
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
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.
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
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
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
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:
>
>
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
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
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
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
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
> > 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
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
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
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
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 &
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
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
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?)
>
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
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
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
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
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
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
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
ons 2.5?
>>
>> thanks
>> Pen
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message
-
> 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
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
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
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
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
>
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
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:
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
'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
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
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
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
>
> 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
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
301 - 370 of 370 matches
Mail list logo