Re: Wicke website makeover time?

2014-11-14 Thread Guillaume Smet
Hi, Personnally, I really liked what Martijn did here: http://people.apache.org/~dashorst/wicket-flat/ It's clean and has personnality. The only thing IMHO is that a one page design for this amount of information is perhaps a bit too much. -- Guillaume On Fri, Nov 14, 2014 at 1:14 PM, Chris C

Re: ResourceModel with default *key*

2014-11-06 Thread Guillaume Smet
his: > https://gist.github.com/tgoetz/0735b05d47b16acf2fd7 > <https://gist.github.com/tgoetz/0735b05d47b16acf2fd7> > > Cheers, >-Tom > > >> On 06.11.2014, at 11:53, Guillaume Smet wrote: >> >> Hi all, >> >> Maybe we are missing something but we

ResourceModel with default *key*

2014-11-06 Thread Guillaume Smet
Hi all, Maybe we are missing something but we haven't found an elegant way to have a ResourceModel with a default *key* if the current key doesn't exist. There is a mechanism for a default *string* but it's not sufficient for us (we want to be able to specialize the key if needed but have an inte

Re: Lock timeout per page class

2014-10-28 Thread Guillaume Smet
gt; Martin Grigorov >> Wicket Training and Consulting >> https://twitter.com/mtgrigorov >> >> On Sat, Oct 25, 2014 at 2:57 PM, Sebastien wrote: >> >>> Hi Guillaume, >>> >>> Generally speaking, you cannot call a non final method from a

Re: Lock timeout per page class

2014-10-25 Thread Guillaume Smet
ges only in the map. > > Otherwise you may use PageRequestHandlerTracker#getLastHandler in a custom > IRequestCycleListener#onDetach(). > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 24, 2014 at 10:11 AM, Guillaume Sme

Re: Lock timeout per page class

2014-10-24 Thread Guillaume Smet
gt; > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Oct 23, 2014 at 5:44 PM, Guillaume Smet > wrote: > >> Hi Martin, >> >> On Wed, Oct 22, 2014 at 9:51 AM, Martin Grigorov >> wrote: >&g

Re: Lock timeout per page class

2014-10-23 Thread Guillaume Smet
Hi Martin, On Wed, Oct 22, 2014 at 9:51 AM, Martin Grigorov wrote: > I'd like to avoid moving the logic that gets the timeout from > Session.PageAccessSynchronizerProvider to PageAccessSynchronizer because > this way it will use Application.get() everytime and most apps don't need > to pay for th

Re: Lock timeout per page class

2014-10-21 Thread Guillaume Smet
Hi Martin, On Tue, Oct 21, 2014 at 1:19 PM, Martin Grigorov wrote: > You can > use > org.apache.wicket.request.cycle.PageRequestHandlerTracker#getFirstHandler() > to check what is the requested page in your > own org.apache.wicket.settings.def.RequestCycleSettings#getTimeout Cute trick but it d

Re: Lock timeout per page class

2014-10-21 Thread Guillaume Smet
page in your > own org.apache.wicket.settings.def.RequestCycleSettings#getTimeout > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Oct 21, 2014 at 1:12 PM, Guillaume Smet > wrote: > >> Hi, >> >> We have

Lock timeout per page class

2014-10-21 Thread Guillaume Smet
Hi, We have a few pages in our application which might take a long time to generate. This is definitely not the usual case but there are a few of them. Thus we were forced to define a high lockTimeout to be sure these pages can be served. The fact is that we would really like to have a far lower

Re: [ANNOUNCE] Apache Wicket 6.17.0 released

2014-09-10 Thread Guillaume Smet
On Tue, Sep 9, 2014 at 9:08 AM, Guillaume Smet wrote: > I reported it to Sonatype: > https://getsatisfaction.com/sonatype/topics/wicket-6-17-0-in-central-but-not-on-search-maven-org Joel fixed it. -- Guillaume --

Re: [ANNOUNCE] Apache Wicket 6.17.0 released

2014-09-09 Thread Guillaume Smet
Hi, On Tue, Sep 9, 2014 at 8:46 AM, Martin Grigorov wrote: > I use this URL to check: > http://central.maven.org/maven2/org/apache/wicket/wicket-core/6.17.0/ > Most probably the index of search.maven.org is broken ... I reported it to Sonatype: https://getsatisfaction.com/sonatype/topics/wicket-

Re: Wicket / OAuth2

2014-09-02 Thread Guillaume Smet
Hi, We use Spring Security for Artifact Listener but I think the general principle should be the same: https://github.com/openwide-java/artifact-listener/ and you might find it interesting to see how we did it. Martin already mentioned it earlier but we use pac4j for OpenId/OAuth/whatever. -- G

Re: DiskDataStore errors in production

2014-05-16 Thread Guillaume Smet
On Wed, May 14, 2014 at 9:59 PM, eaglei22 wrote: > What can be causing these errors? is this more of a Tomcat thing or Wicket? Hard to guess. Get the pid of your Tomcat process and use lsof -p . You'll see which files are opened by your Tomcat. HTH -- Guillaume --

Re: "Connecting..." in Firefox's tab title

2013-06-10 Thread Guillaume Smet
Hi Sven, On Fri, Jun 7, 2013 at 10:36 PM, Sven Meier wrote: > Yes please. And don't forget to add the collected information to it. Done: https://issues.apache.org/jira/browse/WICKET-5222 Quickstart and patch attached: it fixes the problem for us. Thanks. -- Guillaume ---

Re: "Connecting..." in Firefox's tab title

2013-06-07 Thread Guillaume Smet
llaume On Fri, Jun 7, 2013 at 4:34 PM, Guillaume Smet wrote: > Hi, > > For quite a while now, we are seeing a weird behavior with Firefox: as > soon as Wicket does an Ajax call, the tab title is changed to > "Connecting..." and it doesn't get back to the original page

"Connecting..." in Firefox's tab title

2013-06-07 Thread Guillaume Smet
Hi, For quite a while now, we are seeing a weird behavior with Firefox: as soon as Wicket does an Ajax call, the tab title is changed to "Connecting..." and it doesn't get back to the original page title at all, even after the Ajax call returned. Does anybody else see this behavior? We don't see

New Open Source application using Wicket : artifact-listener.org

2013-05-31 Thread Guillaume Smet
Hi, We wanted to present you our first Open Source application powered by Wicket. We use Wicket since 1.3 but it's the first application we can release as an Open Source project. It's a Maven Central notification service built on Wicket 6.8.0. Reason why we thought it might be interesting to pos

Re: Mount a page class more than once.

2013-05-31 Thread Guillaume Smet
On Fri, May 31, 2013 at 9:37 AM, Martin Grigorov wrote: > #mountPage("/test1.html", MyPageClass1.class) Moreover, it's usually a good idea to have different classes so you can build your link to these pages easily. -- Guillaume -

Re: Link generation from outside of Wicket - was Re: [ANNOUNCE] Apache Wicket 6.7.0 Released!

2013-04-19 Thread Guillaume Smet
On Fri, Apr 19, 2013 at 4:30 PM, Martin Grigorov wrote: > What exactly you mean by "outside of Wicket" ? > What Wicket objects you have access to ? > The application name will be needed and a base url. Usually the current > request's baseUrl is used to construct a full url. Without the base url >

Link generation from outside of Wicket - was Re: [ANNOUNCE] Apache Wicket 6.7.0 Released!

2013-04-19 Thread Guillaume Smet
Hi, On Thu, Apr 18, 2013 at 11:36 AM, Martijn Dashorst wrote: > Render a page or component to a String > > ComponentRenderer exposes two methods: `renderComponent` and > `renderPage` and they do exactly what their names suggest. Happy > emailing! This is really nice. We did it in a quite complic

Re: Prioritize header items in html templates

2013-03-21 Thread Guillaume Smet
On Wed, Mar 20, 2013 at 11:48 PM, Guillaume Smet wrote: > On Wed, Mar 20, 2013 at 12:58 PM, Martin Grigorov > wrote: >> Another user asked the same question so I added it to my demo app: >> https://github.com/martin-g/blogs/commit/d5a248a3a3d5369c9cdc66604eba384428e9d0a0 F

Re: Prioritize header items in html templates

2013-03-20 Thread Guillaume Smet
On Wed, Mar 20, 2013 at 12:58 PM, Martin Grigorov wrote: > Another user asked the same question so I added it to my demo app: > https://github.com/martin-g/blogs/commit/d5a248a3a3d5369c9cdc66604eba384428e9d0a0 Thanks Martin. Very helpful. -- Guillaume -

Re: Prioritize header items in html templates

2013-03-19 Thread Guillaume Smet
Hi, On Tue, Mar 19, 2013 at 2:07 PM, Martin Grigorov wrote: > You can use StringHeaderItem.forString("") and wrap it in > PriotityHeaderItem/FilterHeaderItem if needed. We had the same question. Starting with Wicket 6, and so on are lost in the resources lines. It was quite nice to have them on

Re: documentation

2013-01-22 Thread Guillaume Smet
Hi Philippe, On Tue, Jan 22, 2013 at 5:53 PM, Philippe Demaison wrote: > Are you kidding ? First thing first, while everyone agrees that a good documentation is a good thing, you should consider that you don't pay anyone to write it. There are a couple of very good books about Wicket you can pu

Re: WiQuery SortableBehavior/DroppableBehavior questions

2012-10-25 Thread Guillaume Smet
Hi Benedikt, On Thu, Oct 25, 2012 at 6:30 PM, Benedikt Schlegel wrote: > And i'm having an issue where the drop event isn't fired, when an item is > dropped at the first position of another sortable. Is anyone else > experiencing something similar or am I doing it wrong? This is due to the versi

Re: WiQuery 6.0

2012-10-22 Thread Guillaume Smet
Hi Nick, On Tue, Oct 23, 2012 at 1:28 AM, Nick Pratt wrote: > I do see the imports of jquery and jquery.ui.autocomplete (which I checked > are available and served by the web server) - there's just no > wiquery-gen- script in the page This is a bug. See my pending pull request here: https://git

Re: Wicket 1.5.6, Ajax and expired page

2012-05-15 Thread Guillaume Smet
Hi Martin, On Tue, May 15, 2012 at 8:44 AM, Martin Grigorov wrote: > Since https://issues.apache.org/jira/browse/WICKET-4014 (Wicket 1.5.1) > Wicket is able to handle automatically page expiration for mounted > pages. I.e. if the user clicks a link and the page is already expired > then depending

Wicket 1.5.6, Ajax and expired page

2012-05-14 Thread Guillaume Smet
Hi, I noticed this evening that when a page is expired, if we make an Ajax call from this page (autocomplete for example), the Ajax call returns a 302 and then the entire page content (and not a valid XML Ajax response) - I investigated it with Firebug as there's no error anywhere. Could it be re

Re: Invalid URL generated when jsessionid is present

2012-05-11 Thread Guillaume Smet
On Fri, May 11, 2012 at 11:05 AM, Martin Grigorov wrote: > There is a workaround for this. See the ticket for 1.5.7. Thanks for the pointer. I can confirm that the problem is fixed in 1.5.6. Thanks. - To unsubscribe, e-mail: u

Re: Invalid URL generated when jsessionid is present

2012-05-11 Thread Guillaume Smet
Hi Martin, On Fri, May 11, 2012 at 9:43 AM, Martin Grigorov wrote: > Upgrade to 1.5.6. Oh? I haven't found any JIRA on this very subject but I might have missed it. I usually upgrade very quickly after a release but the issue with stateless page + feedback fixed after the release is kinda annoy

Invalid URL generated when jsessionid is present

2012-05-10 Thread Guillaume Smet
Hi, Under certain circumstances when we navigate on our Wicket site, Wicket generates the following URL for a bookmarkable page link: /mount/point/.;jsessionid=C94BC23C58FD2972B34E5DE145C076BB The dot before the ;jsessionid= makes the mount point not recognized by Wicket. The problem is when I c

Re: mapping / mounting of PIE.htc for IE

2012-04-03 Thread Guillaume Smet
Hi Bert, On Tue, Apr 3, 2012 at 11:25 AM, Bert wrote: > I have to switch to absolute URLs for this. Thanks for reading It's not exactly the best solution in the world but, considering that PIE.htc is a hack, we use a pretty hackish solution: we declare all the styles on which we want to enable t

Re: Wicket 1.5 and weird error on redirect

2011-12-18 Thread Guillaume Smet
Hi Dan, On Sun, Dec 18, 2011 at 11:29 PM, Dan Retzlaff wrote: > Try throwing RestartResponseException instead of calling setResponsePage. > This will stop the construction of your StopPage immediately. Thanks for your answer. Using throw new RestartResponseException(clazz); was indeed my next m

Wicket 1.5 and weird error on redirect

2011-12-18 Thread Guillaume Smet
Hello, We are currently migrating our applications from Wicket 1.4 to 1.5. I have a problem with a pattern we use for logout, namely: public class LogoutPage extends WebPage { public LogoutPage() { AuthenticatedWebSession session = AuthenticatedWebSession.get();