Stateful pages

2010-09-10 Thread Hiren Patel
Hi all, I have some doubts regarding the /stateful Wicket page/ of Wicket. I have one page with three components. 1.Label 2.TextFieldString 3.TextFieldInteger. 1. What will be stateful? 2. What will be stored in the session? for example whole page or only the component that is

Re: Possible to drag tables using WicketDND?

2010-09-10 Thread Johan Haleby
It works!! Thanks a lot! WicketDND is by far the best drag and drop component I've used for Wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-to-drag-tables-using-WicketDND-tp2532928p2533926.html Sent from the Wicket - User mailing list archive at

Wicket 1.5 benchmarks?

2010-09-10 Thread nino martinez wael
Hi Has anyone run some comparison benchmarks between wicket 1.4 and 1.5.. My feeling are that 1.5 are faster.. regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Wicket 1.5 changing injector[Guice] on the fly?

2010-09-10 Thread nino martinez wael
Hi Is it possible to set a new injector runtime with wicket? I have a case where I need to change some bindings on the fly, and I know it's possible if I use createChildInjector from guice, but can it be switched using wicket? regards Nino

Re: AW: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Stefan Lindner wrote: I use onDomReady functionality at many places in my jWicket jQuery-integration. I don't know of any general problem (no guarantee that there isn't one) with jQuery and Wickets onDomReady. Of course you have to ensure that the library (and perhaps additional files) is

Re: AW: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Stefan Lindner wrote: I use onDomReady functionality at many places in my jWicket jQuery-integration. I don't know of any general problem (no guarantee that there isn't one) with jQuery and Wickets onDomReady. Of course you have to ensure that the library (and perhaps additional files) is

Re: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Igor Vaynberg wrote: dunno then, you may want to talk to jquery people and see what they recommend. we cant really fire the onload event again because some scripts may have already been executed...like i said, see what jquery folks say. thanks anyway as jquery integration is fairly common I

Re: Wicket 1.5 changing injector[Guice] on the fly?

2010-09-10 Thread Martin Grigorov
Without extending GuiceComponentInjector you can only get the already configured Guice Injector: ((GuiceInjectorHolder) app.getMetaData(GuiceInjectorHolder.INJECTOR_KEY).getInjector() but you can't replace it. On Fri, Sep 10, 2010 at 8:48 AM, nino martinez wael nino.martinez.w...@gmail.com

Re: Wicket Ajax integration

2010-09-10 Thread Joseph Pachod
Rodolfo Hansen wrote: Nice, I implemented something very similar to that actually; and now I actually also need to send json from the client... I didn't try client - json - wicket yet, but i guess it should be doable. The main question is how you provide the json content. If it's through the

Re: Demystifying page serialization

2010-09-10 Thread Martijn Dashorst
Wicket will read the page *instance* from the page store, and then process the render phase of the request cycle using that instance. If you use LoadableDetachableModel (or similar models that refresh their contents) you get a refreshed page. Martijn On Thu, Sep 9, 2010 at 10:26 PM, Mike Dee

Wicket 1.5 M1 and Request class

2010-09-10 Thread Andrea Del Bene
Hi, I'd like to try new milestone release of Wicket. I've red migration document (https://cwiki.apache.org/WICKET/migration-to-wicket-15.html) which says that class org.apache.wicket.Request was moved to org.apache.wicket.request.Request but I can't find this class in distribution's jar. I've

Re: Wicket 1.5 M1 and Request class

2010-09-10 Thread Martin Grigorov
There was a bug that wicket-request.jar and wicket-util.jar were not packed in the M1 assembly. This is fixed in M2. Igor Vaynberg just sent a mail to dev@ for voting to release M2. You may take the candidate from: http://people.apache.org/~ivaynberg/wicket-1.5-M2/dist On Fri, Sep 10, 2010 at

Wicket 1.5 m1 Modification Watcher exceptions?

2010-09-10 Thread nino martinez wael
Every time I modify my html and save it while running the provided start.java ModificationWatcher throws this: 10:59:15.408 [ModificationWatcher Task] ERROR org.apache.wicket.util.thread.Task - Unhandled exception thrown by user code in task ModificationWatcher

Re: Wicket 1.5 m1 Modification Watcher exceptions?

2010-09-10 Thread Martin Grigorov
This is fixed for M2(-SNAPSHOT) http://people.apache.org/~ivaynberg/wicket-1.5-M2/dist On Fri, Sep 10, 2010 at 11:01 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Every time I modify my html and save it while running the provided start.java ModificationWatcher throws this:

Re: Wicket 1.5 M1 and Request class

2010-09-10 Thread Andrea Del Bene
Thank you Martin :)! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Possible to drag tables using WicketDND?

2010-09-10 Thread Daan van Etten
Which ones did you use? What are the drawbacks of the other drag and drop components? Regards, Daan Op 10 sep 2010, om 08:24 heeft Johan Haleby het volgende geschreven: It works!! Thanks a lot! WicketDND is by far the best drag and drop component I've used for Wicket. -- View this

Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread MONZON Jose
Hi there! I've been giving a Try to Wicket framework. But I have to admit that I'm starting to get crazy! Some help appreciated. I'm using last Wicket distribution 1.4.11 And I'm trying to implement the Wicket Form (with ajax) example you can find here:

Re: Possible to drag tables using WicketDND?

2010-09-10 Thread Ernesto Reinaldo Barreiro
Hi Daan, Thread [1] contains some comments about different drag-drop implementations, their integration with Wicket and posible limitations you will encounter. I haven't tried WicketDND myself but it seems I should:-) Ernesto References,

Re: Wicket 1.5 m1 Modification Watcher exceptions?

2010-09-10 Thread nino martinez wael
Any idea when it will be released? Should be soon, since Igor are bumping jira tickes to m3 right? 2010/9/10 Martin Grigorov mgrigo...@apache.org: This is fixed for M2(-SNAPSHOT) http://people.apache.org/~ivaynberg/wicket-1.5-M2/dist On Fri, Sep 10, 2010 at 11:01 AM, nino martinez wael

Re: Wicket 1.5 m1 Modification Watcher exceptions?

2010-09-10 Thread Martin Grigorov
Yes, There is a vote thread in dev@ Play with http://people.apache.org/~ivaynberg/wicket-1.5-M2/disthttp://people.apache.org/%7Eivaynberg/wicket-1.5-M2/dist this is the candidate. On Fri, Sep 10, 2010 at 11:28 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Any idea when it will

Wicket 1.5 m1 renderCSSReference

2010-09-10 Thread nino martinez wael
I can't get this to work with wicket 1.5 m1. It gives no error or nothing but no css reference appears in the resulting web page.. final Label label = new Label(text, new PropertyModelString(this, text)); label.add(new

1.5 roadmap

2010-09-10 Thread Ernesto Reinaldo Barreiro
My apologies if this question has been answered before... Are there any estimates about when 1.5 final will be out? I have seen developers are very busy working on it and 1.5.M2 its been pushed out... Kind regards, Ernesto -

Re: Wicket 1.5 m1 renderCSSReference

2010-09-10 Thread nino martinez wael
Ahh I see it's fixed in m2 :) 2010/9/10 nino martinez wael nino.martinez.w...@gmail.com: I can't get this to work with wicket 1.5 m1. It gives no error or nothing but no css reference appears in the resulting web page..                final Label label = new Label(text, new

Re: 1.5 roadmap

2010-09-10 Thread Martin Grigorov
As far as I know there is no specific date. We need your help for more bug reports. I'll try soon to upgrade the application I'm working on in my daily job because it is the biggest I have access to (and I have interest in). You may try to upgrade wiquery and your applications and give us

Re: Possible to drag tables using WicketDND?

2010-09-10 Thread Johan Haleby
I've tried numerous different drag and drop components for Wicket in the past (it was a while ago so I don't remember all of them). Each had different issues that wouldn't let me do what I wanted. Some had browsers issues and some had problems that couldn't drop items to the drop container when

Re: 1.5 roadmap

2010-09-10 Thread nino martinez wael
+1 for upgrading wiquery to 1.5, I'd probably also contribute then, since I though of using wiquery on 1.5.. 2010/9/10 Martin Grigorov mgrigo...@apache.org: As far as I know there is no specific date. We need your help for more bug reports. I'll try soon to upgrade the application I'm working

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread Andrea Del Bene
MONZON Jose jose.monzon at efgfp.com writes: Hi there! I've been giving a Try to Wicket framework. But I have to admit that I'm starting to get crazy! Some help appreciated. I'm using last Wicket distribution 1.4.11 And I'm trying to implement the Wicket Form (with ajax) example you

Re: 1.5 roadmap

2010-09-10 Thread Cemal Bayramoglu
I am calling a meeting for all wiQuery [1] committers, hopefully next week when more of the founders are available, where will will discuss various issues re moving to the latest jQuery jQuery UI releases, as well as Wicket 1.5 beyond that. We'll post back as soon as this is all decided. While

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread Andrea Del Bene
Hi Jose, I can confirm this bug. It works fine with Wicket version 1.4.8. I will open a bug on Apache JIRA. Sh**! Sorry, but know it seems to work also version 1.4.11. What jars have you inserted in your classpath to run test code?

Re: Wicket 1.5 benchmarks?

2010-09-10 Thread Andrea Del Bene
nino martinez wael nino.martinez.wael at gmail.com writes: Hi Has anyone run some comparison benchmarks between wicket 1.4 and 1.5.. My feeling are that 1.5 are faster.. regards Nino - To unsubscribe, e-mail:

Re: 1.5 roadmap

2010-09-10 Thread Cemal Bayramoglu
Martijn, That should be fine. Ask your colleague to send me an email at my jWeekend address you usually use. Regards - Cemal jWeekend Training, Consulting, Development http://jWeekend.com On 10 September 2010 12:41, Martijn Dashorst martijn.dasho...@gmail.com wrote: On Fri, Sep 10, 2010 at

RE: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread MONZON Jose
I don't understand what's going on. You say it works? I use 1.4.11. From maven. It is impossible I'm using any other version because it's the only wicket JAR I have in my libraries. -Original Message- From: Andrea Del Bene [mailto:andrea.on@libero.it] Sent: Freitag, 10. September

Page Navigation in WicketTester

2010-09-10 Thread Harald Wellmann
Using WicketTester, is it required to initialize each page under Test with tester.startPage()? I'm currently starting at a LoginPage and submit a form on that page to go to an IndexPage. Now the component tree of that page does not have the expected structure. After calling startPage() for

Re: Stateful pages

2010-09-10 Thread Hiren Patel
Hiren Patel wrote: Hi all, I have some doubts regarding the /stateful Wicket page/ of Wicket. I have one page with three components. 1.Label 2.TextFieldString 3.TextFieldInteger. 1. What will be stateful? 2. What will be stored in the session? for example whole page or only the

Re: 1.5 roadmap

2010-09-10 Thread Ernesto Reinaldo Barreiro
Hi Martin, Thank you very much for your answer... My question was motivated by a very practical reason: I'm working right now on an application that should go into production in a few months, and the tools we are developing will (hopefully) be used as grounding for building other applications

Re: Stateful pages

2010-09-10 Thread Martin Grigorov
On Fri, Sep 10, 2010 at 8:09 AM, Hiren Patel hiren_pa...@kaleconsultants.com wrote: Hi all, I have some doubts regarding the /stateful Wicket page/ of Wicket. I have one page with three components. 1.Label 2.TextFieldString 3.TextFieldInteger. 1. What will be stateful?

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread Predrag Spasojevic
I have the same problem with AjaxButton, wicket 1.4.11 and FireFox 3.6.x. It doesn't work. I did some testing and it works for wicket 1.4.10. Also there is some strange behavior with Opera 10.62. Sometimes Ajax works, sometimes not, but it seems that problem existed in wicket versions before

Re: 1.5 roadmap

2010-09-10 Thread Martin Grigorov
Asked this way I would recommend to stay with 1.4 for this project. It will take some time for the wicketstuff projects to move to 1.5. I guess the same is valid for wiquery. On Fri, Sep 10, 2010 at 2:21 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi Martin, Thank you very much

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread Martin Grigorov
Please create a minimal application (quickstart) and attach it to Jira ticket. On Fri, Sep 10, 2010 at 2:45 PM, Predrag Spasojevic predrag.spasoje...@gmail.com wrote: I have the same problem with AjaxButton, wicket 1.4.11 and FireFox 3.6.x. It doesn't work. I did some testing and it works

[announce] wicketstuff-core 1.4.11 released

2010-09-10 Thread Michael O'Cleirigh
Hello, Last night I cut a matching wicketstuff-core release for wicket 1.4.11. The stable branch for 1.4.11.1-SNAPSHOT is located here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicketstuff-core-1.4.11 I will plan on releasing the 1.4.11.1 point release within

Re: 1.5 roadmap

2010-09-10 Thread Ernesto Reinaldo Barreiro
We were arriving to the same conclusion over here... Nevertheless, with my limited personal resources, I will try to help bring 1.5 forward. Thanks again, Ernesto On Fri, Sep 10, 2010 at 2:45 PM, Martin Grigorov mgrigo...@apache.org wrote: Asked this way I would recommend to stay with 1.4

Re: Prepopulate time fields in DateTimeField component

2010-09-10 Thread vp143
Is there any way to reapply the relationship checkinDate had with the CompoundPropertyModel? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Prepopulate-time-fields-in-DateTimeField-component-tp2533175p2534425.html Sent from the Wicket - User mailing list archive at

Re: [announce] wicketstuff-core 1.4.11 released

2010-09-10 Thread nino martinez wael
Hi Michael Since I've begun picking up wicket 1.5.. Should we have a wicket stuff core 1.5? I could do some porting if needed? regards Nino 2010/9/10 Michael O'Cleirigh michael.ocleir...@rivulet.ca:  Hello, Last night I cut a matching wicketstuff-core release for wicket 1.4.11. The stable

Re: WicketStuff JMX

2010-09-10 Thread Pedro Santos
Hi Gerolf, sorry to take so much time to reply, but I would like to merge our components. I think it will be interest to do that now when Wicket Stuff devs are updating their projects to maintain it up to date with Wicket 1.5 version. I'm planning bring the wicketstuff-jmx-panel to the core Wicket

Re: [announce] wicketstuff-core 1.4.11 released

2010-09-10 Thread Michael O'Cleirigh
Hi Nino, Since I've begun picking up wicket 1.5.. Should we have a wicket stuff core 1.5? I could do some porting if needed? The wicketstuff-core trunk is tracking wicket-1.5-SNAPSHOT and hudson is building it (wicketstuff.org/hudson) even though I don't think anything can be built right

Still Open

2010-09-10 Thread Amber Miller
We are still looking for someone. They need to be able to work in the US. Hello I have a position in Chicago, IL for a Java/Wicket Architect. Take a look at the job description and let me know if you are interested. This is a 6+ month gig for a client of mine. Interviews can happen within

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread Andrea Del Bene
Martin Grigorov mgrigorov at apache.org writes: Please create a minimal application (quickstart) and attach it to Jira ticket. On Fri, Sep 10, 2010 at 2:45 PM, Predrag Spasojevic predrag.spasojevic at gmail.com wrote: I have the same problem with AjaxButton, wicket 1.4.11 and FireFox

keygen tag

2010-09-10 Thread TH Lim
Hi, I am want to use keygen, https://developer.mozilla.org/En/HTML/Element/keygen, form component and there is no Wicket equivalent FormComponent. Any suggestion on how do I extend an existing component to cover this tag. Thanks /lim/ -- View this message in context:

Re: keygen tag

2010-09-10 Thread Igor Vaynberg
extend FormComponent -igor On Fri, Sep 10, 2010 at 9:53 AM, TH Lim ssh...@gmail.com wrote: Hi, I am want to use keygen, https://developer.mozilla.org/En/HTML/Element/keygen, form component and there is no Wicket equivalent FormComponent. Any suggestion on how do I extend an existing

Re: Wicket 1.4.11 seems to have Ajax support broken under Firefox 3.6.x

2010-09-10 Thread nmetzger
I'm glad I'm not the only one. I had a couple of AJAX components not reacting with 1.4.11, no error message though. They worked well with all versions between 1.4.7 and 1.4.10. Natalie -- View this message in context:

Close modal window on session timeout

2010-09-10 Thread Anna Simbirtsev
Hi, I open a modal window from the parent window, and after some time the session times out. The modal window is still open, so the login page is displayed inside the modal window. Is there a way to have a modal window close on session timeout? Thanks, Anna

Re: Close modal window on session timeout

2010-09-10 Thread Ernesto Reinaldo Barreiro
Anna, Just guessing... Are the contents of your modal window in a Page? If you make the contents live in a Panel (instead of a page) then (I suppose) you will not have this problem. Ernesto On Fri, Sep 10, 2010 at 9:03 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I open a modal

Re: Close modal window on session timeout

2010-09-10 Thread Anna Simbirtsev
Yes, it is a page. To change it to a panel is not an option for me right now since we are on a tight deadline. But as I understand a lot of things would be easier with a panel. On Fri, Sep 10, 2010 at 3:42 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Anna, Just guessing... Are the

Re: Demystifying page serialization

2010-09-10 Thread Mike Dee
I tried this with a detachable model. I created two versions of the page, one uses a detachable model and the other doesn't. I put a printout in the constructor of the page. The printout appears only the first time the page is loaded in both cases. Here is the code. What am I doing wrong?

Re: Demystifying page serialization

2010-09-10 Thread James Carman
You're not detaching your model, for one. You either need to set it as the default model (which will automatically be detached) on the page or manually detach it in an onDetach() method. how are you reloading the page? How are you getting to this page in the first place? On Fri, Sep 10, 2010

Re: Demystifying page serialization

2010-09-10 Thread Mike Dee
One thing I learned (from observation) is that if the page is a bookmarkable page (gotten to via a BookmarkablePageLink) the page never reloads from the page store regardless of whether the model is detachable. But if the page is gotten to via a Link, the page always appears to reload from the

Relative link in JavaScript

2010-09-10 Thread Itun
I have JavaScript text in which there are links to pictures. They can not be changed. There are folder with pictures: /WEB-INF/.../images I don`t want to change their position How can I contact links with pictures? -- View this message in context:

Re: Demystifying page serialization

2010-09-10 Thread James Carman
That's right. On Fri, Sep 10, 2010 at 7:02 PM, Mike Dee mdichiapp...@cardeatech.com wrote: One thing I learned (from observation) is that if the page is a bookmarkable page (gotten to via a BookmarkablePageLink) the page never reloads from the page store regardless of whether the model is

Re: Demystifying page serialization

2010-09-10 Thread Mike Dee
But why? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Demystifying-page-serialization-tp2533538p2535266.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Demystifying page serialization

2010-09-10 Thread J.-F. Rompre
Mike, in reference to your various questions, here is my take: You are not seeing your constructor tracing print statements because it is not invoked more than once (the page object is already in the page store, with its component attached as per the constructor invocation) - all components are

Re: Demystifying page serialization

2010-09-10 Thread jcgarciam
Also with this line, you are not taking advantage of a model itself, this is label have an static value on it. add( new Label( name, model.getObject().getName() ) ); try something like: add( new Label( name, model) ); After loading your page first time, change your Person table in the db

Re: Close modal window on session timeout

2010-09-10 Thread Ernesto Reinaldo Barreiro
Anna, Then to options come to my mind: -Avoid the time out by attaching a keep alive timer to modal window page. That way your session will not time out while modal is open. -Have a timer on background page that closes the modal window after X minutes if there is no user activity. Ernesto On