Re: Migration 1.4 - 7.0: org.apache.wicket.markup.html.link.PageLink

2015-08-21 Thread Sébastien Gautrin
Hi Martin, I just noted something while writing my answer to this thread: the link on http://wicket.apache.org/learn/#guide for Wicket 6 migration guide is broken, or rather the redirection of http://s.apache.org/wicket6migrate is broken: it leads to

Re: Migration 1.4 - 7.0: org.apache.wicket.markup.html.link.PageLink

2015-08-21 Thread Sébastien Gautrin
You should most likely do incremental migration, e.g.: * 1.4.x - 1.5.x * 1.5.x - 6.0.x * 6.0.x - 7.0.x In between each migration, check what is now deprecated, which then will most likely have information about its replacements. As for your specific issue, there's some information that

Re: Handling page refresh or redirect when the server reboots

2014-09-16 Thread Sébastien Gautrin
I don't have a wicket-way for this. However, if I had to do something like that, I'd try the following simple and extremely basic approach (which would need to be refined to be more than just an ugly hack) 1. after the action triggering the upgrade process, trigger a javascript on the client

Re: Wizard customization

2013-03-18 Thread Sébastien Gautrin
I'll just answer quickly for now (still at work and don't want to stay too much longer), and complete later if noone else has detailed it more. Basically what you need to customize the generated HTML is to extend the Wizard class with your own (e.g. class MyWizard extends Wizard), and then

Re: i18n in reusable panels / markup traversing question

2013-02-28 Thread Sébastien Gautrin
Hello, For your property discovery mechanism, I'm not sure I really see how this works (sounds interesting though). However, what you want for traversing the component hierarchy upon initializing your panel is to delay the initialization after the panel has been added. And there is a method

Re: Eclipse or IntelliJ

2013-02-20 Thread Sébastien Gautrin
Personally I've been using IDEA since version 11, always on Linux, and from my view it's on the contrary quite faster than Eclipse, with a maven support that is not riddled with bugs. Version 11 was as far as I'm concerned actually much cleaner and nicer than Eclipse ever was, and with

Re: Strange behavior of TextField and AjaxFormComponentUpdatingBehavior

2012-11-28 Thread Sébastien Gautrin
Actually I'd recommend not puting the placeholder in the input itself, assuming you don't have to support old browsers that most other now have stopped supporting a few years back. Depending on the browser of your users, you can: - use the html5 placeholder attribute (best way to do that, but

Re: Strange behavior of TextField and AjaxFormComponentUpdatingBehavior

2012-11-28 Thread Sébastien Gautrin
-placeholder-polyfill __ Cedric Gatay http://www.bloggure.info | http://cedric.gatay.fr | @Cedric_Gatayhttp://twitter.com/Cedric_Gatay On Wed, Nov 28, 2012 at 10:32 AM, Sébastien Gautrin sebastien.gaut...@gmail.com wrote: Actually I'd recommend not puting the placeholder in the input itself

Re: wicket:link + component images

2012-11-27 Thread Sébastien Gautrin
Why use a blob rather than a text/longtext field? Sandor Feher wrote: Hi, I use tinymce as editor, storing the content in a blob field and intro in a varchar2 field. At my showcontent page I dig this out and display like this: add(new Label(cikk,new

Re: Manual procedure to update Wicket for NetBeans

2012-11-22 Thread Sébastien Gautrin
For your exact situation, I suppose the maven-gae-plugin (https://github.com/maven-gae-plugin/maven-gae-plugin ) will solve your problem. For other situations where there's no maven plugin to do what whas done in an ant task, there's a maven-antrun-plugin

Re: Which Twitter Bootstrap to use?

2012-10-22 Thread Sébastien Gautrin
It's just some classic use of numbers instead of vowels. Read it as you'd read Lord Nikkon (if I'm not mistaken, it's a reference to the 1995 movie, Hackers) Original Message Subject: Re: Which Twitter Bootstrap to use? From: Chris Colman chr...@stepaheadsoftware.com To:

Re: Reseting a textField of an upload form

2012-10-05 Thread Sébastien Gautrin
You can actually put the wicket namespace for child pages and components, wicket will only use for its rendering what's inside wicket:extends for the child pages, and what's inside wicket:panel for your panels (as well as what's in wicket:head for header contributions). antechrestos wrote:

Re: Wicket and jQuery UI

2012-10-02 Thread Sébastien Gautrin
Hi Pointbreak, At least for wicket-jquery-ui, it offers also pure behaviours integration for jquery extensions that are pure behaviours (such as Droppable). I think wiQuery does as well. For ease of defining such things for you own component, it is the main goal of wicket-jquery-ui; take a

Re: Datepicker with range selection support

2012-09-26 Thread Sébastien Gautrin
is really feature rich. Is the demo site a wicket app? On Mon, Sep 24, 2012 at 1:38 AM, Sébastien Gautrin sebastien.gaut...@gmail.com wrote: Wow, This is simply terrific. I will sift through all this in the next weeks. All I can say is a big thanks for everything! Sébastien

Re: Datepicker with range selection support

2012-09-26 Thread Sébastien Gautrin
be nice! Thanks best regards, Sebastien. On Wed, Sep 26, 2012 at 11:25 AM, Sébastien Gautrin sebastien.gaut...@gmail.com wrote: I had noticed that, although I had in my pom version 1.2.3-SNAPSHOT for wicket-jquery-ui, and when maven fetched it from the sonatype repository, it would lead

Re: Datepicker with range selection support

2012-09-23 Thread Sébastien Gautrin
integrations as well (wicket-select2 is a prime example, and the other jQuery integrations too). If you have any questions, do not hesitate to use the forum (you may find the link on the demo site's homepage) Best regards, Sebastien. On Fri, Sep 21, 2012 at 4:37 PM, Sébastien Gautrin sebastien.gaut

Datepicker with range selection support

2012-09-21 Thread Sébastien Gautrin
Hi, I was wondering if there was any wicket component out there for a Datepicker supporting selecting a range of dates. I've looked a bit and couldn't find any (the wicket-extensions' Datepicker doesn't, the wiquery datepicker doesn't, nor does the wicket-jquery datepicker). I didn't find

Re: Datepicker with range selection support

2012-09-21 Thread Sébastien Gautrin
can provide it as a component for wicket-jquery-ui). The second case cannot be handled as jQuery UI does not provide such functionality (AFAIK) Best regards, Sebastien. On Fri, Sep 21, 2012 at 1:14 PM, Sébastien Gautrin sebastien.gaut...@gmail.com wrote: Hi, I was wondering if there was any

Re: Datepicker with range selection support

2012-09-21 Thread Sébastien Gautrin
was looking for a jQuery plugin for the 3rd part of my HowTo's, about creating a plugin using wicket-jquery-ui. Maybe will I play with that one in the coming days... (just note that it will be over Wicket 6) Regards, Sebastien. On Fri, Sep 21, 2012 at 3:53 PM, Sébastien Gautrin sebastien.gaut...@gmail.com

Re: wicket-select2 as AutoCompleteTextField replacement

2012-09-12 Thread Sébastien Gautrin
Hi, If you only need a static list of initial choices (non ajax), you should be able to simply use select2's tagging support with something like (didn't test it): // model is your IModelString for the selected data Select2ChoiceString choice = new Select2ChoiceString(choice, model);

Re: disabling ajax submit button

2012-09-12 Thread Sébastien Gautrin
Which wicket version ? (I ask because I see you are using several calls that are deprecated in 1.5). Besides, within the declaration of your inner class, don't try to access the variable you are defining (and without declaring it final, it should normally not compile anyway). Not changing the

Re: [1.5] [6.0] dynamically named CSS, JS images resources

2012-07-20 Thread Sébastien Gautrin
Hi, In your case, the general idea would be to create a ResourceReference to your downloaded css js files, and then on your base page to contribute them dynamically with @Override public void renderHead(IHeaderResponse response) { ResourceReference jsRef = [...]

Re: How to Logout

2012-07-18 Thread Sébastien Gautrin
Hi, The LogoutPage in the application I work on is quite simple: - first we invalidate the session with session.invalidateNow() like you do - second we throw a RestartResponseAtInterceptPageException with the Page we want the user to go to after the logout process (actually we use it with the

Re: Intercept AjaxRequestTarget

2012-07-18 Thread Sébastien Gautrin
From memory (not sure, I read that while looking for something else), any Ajax request generate automatically an IEvent event that is broadcasted to the application. If so, you could override the onEvent(IEvent? event) method of your FeedbackPanel so that it adds itself to the target of all