Re: Question on sessions

2011-04-26 Thread nimmy
Thanks. Sounds good ... i'll try it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Question-on-sessions-tp3474193p3474890.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: [MIIGRATE 1.5] Where is getSharedResources().putClassAlias(...)

2011-04-26 Thread Alexandros Karypidis
Just for future reference: As explained by Martin in the ticket, turns out that now one must: mountResoruce(/path/to/resource, ResourceReference); So in my case it's simply: mountResource(imgres, new ResourceReference(Application.class, imgres) {

Re: [MIGRATE 1.5] My experiences in a blog entry

2011-04-26 Thread Andrea Del Bene
HI Alexandros, thanks for sharing your experience! Hello everybody, With the help of several people on this list, I've gone through the process of migrating my wicket application from 1.4.17 to 1.5-rc2 The whole thing was relatively painless, which I guess is rather good news. I've

Re: Migrating from 1.4.16 to 1.5 RC3 - problem when trying to avoid pages caching (not calling the constructor of the java pages)

2011-04-26 Thread Ismael Hasan
Hello, Peter and Martin, thank you very much for your feedback. Martin, you are right, I want that the page constructors are called everytime a page is loaded in the browser. I followed your instructions (I use org.apache.wicket.request.http.WebResponse.disableCaching() , and my pages are

Re: Migrating from 1.4.16 to 1.5 RC3 - problem when trying to avoid pages caching (not calling the constructor of the java pages)

2011-04-26 Thread Martin Grigorov
Use BookmarkablePageLink(MyPage.class, pageParameters) instead of Link {onClick()} to go the page. Try to make your page stateless (by using just stateless components). Or roll your own IRequestMapper which will always instantiate a new page instance when your conditions are met, e.g. the request

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-26 Thread Eike Kettner
the uber-jar is only concerning wicket, not any war bundle. while it would be of course nicer to have all wicket jars as separate bundles available out of the box. but one solution I find quite ok is creating one bundle out of core, request and util. this will then be a uber-jar that brings wicket

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-26 Thread Martin Grigorov
On Tue, Apr 26, 2011 at 1:48 PM, Eike Kettner e...@eknet.org wrote: the uber-jar is only concerning wicket, not any war bundle. while it would be of course nicer to have all wicket jars as separate bundles available out of the box. but one solution I find quite ok is creating one bundle out of

Re: terrain view in gmap2

2011-04-26 Thread lambdad...@gmail.com
Hi Mike, Then you can file a ticket and attach your patch (or you can fork the repo, make your patch and register a pull request). I have made the changes and sent the pull request. Hope the changes will be merged and available to all the wicket folks. Regards, Mike Cheers, Daku

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-26 Thread Daniele Dellafiore
On Tue, Apr 26, 2011 at 11:48 AM, Eike Kettner e...@eknet.org wrote: the uber-jar is only concerning wicket, not any war bundle. while it would be of course nicer to have all wicket jars as separate bundles available out of the box. but one solution I find quite ok is creating one bundle out

Re: Migrating from 1.4.16 to 1.5 RC3 - problem when trying to avoid pages caching (not calling the constructor of the java pages)

2011-04-26 Thread Ismael Hasan
The second solution, building my own IRequestMapper worked, thank you very much for your help. 2011/4/26 Martin Grigorov mgrigo...@apache.org: Use BookmarkablePageLink(MyPage.class, pageParameters) instead of Link {onClick()} to go the page. Try to make your page stateless (by using just

Re: Specific redirect after session timeout

2011-04-26 Thread Peter Karich
ah, ok. I'll try that url strategy change :) Regards, Peter. -- http://jetwick.com open twitter search With non-hybrid url strategy using back button will fail with PageExpiredException because there is no session where to find the page instance and the disk store already cleaned all

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-26 Thread Martin Grigorov
Hi Danielle, On Tue, Apr 26, 2011 at 2:19 PM, Daniele Dellafiore dani...@dellafiore.net wrote: On Tue, Apr 26, 2011 at 11:48 AM, Eike Kettner e...@eknet.org wrote: the uber-jar is only concerning wicket, not any war bundle. while it would be of course nicer to have all wicket jars as separate

Re: terrain view in gmap2

2011-04-26 Thread lambdad...@gmail.com
Dear Mike, Do you know when the maven dependency of gmap2 with the latest changes will be available on the maven repository? moreover the dependency description? so that I can start using it in my project. Currently the dependencies I use for my projects are: dependency

Re: terrain view in gmap2

2011-04-26 Thread Michael O'Cleirigh
Hi Daku, Thanks for contributing your work to the wicketstuff project. I will try and cut a 1.4.17.1 release tonight (if there are any problems I'll get back to you). I've been working on the 1.5-RC3.1 release over the weekend which is not done yet (there is a divergence between 1.5-RC3 and

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-26 Thread Daan van Etten
Op 26 apr 2011, om 16:41 heeft Martin Grigorov het volgende geschreven: [..] Wicket bundles are some sort of raw jars+metadata that can be assemled in a custom way to become a usable OSGI bundle. Whatever you consider the uber-jar solution to go good or not, this is a flaw. Wicket is not

Re: Forcing parent CSS to be contributed after all child CSS

2011-04-26 Thread Alec Swan
Even though using very specific CSS selectors works it makes it a lot harder to write that CSS. Is there a way to force Wicket to write parent CSS contribution after the children's CSS contribution? Thanks, Alec On Sat, Apr 23, 2011 at 8:06 PM, Alec Swan alecs...@gmail.com wrote: Thanks for

Re: Forcing parent CSS to be contributed after all child CSS

2011-04-26 Thread Pedro Santos
See if you can implement your contribution sequence rule by decorating the IHeaderResponse e.g. [1] [2] 1 - http://grepcode.com/file/repo1.maven.org/maven2/org.apache.wicket/wicket-examples/1.5-rc2/org/apache/wicket/examples/resourcedecoration/ResourceDecorationApplication.java?av=f 2 -

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-26 Thread Eike Kettner
Hi Daniele, On [Tue, 26.04.2011 12:19], Daniele Dellafiore wrote: On Tue, Apr 26, 2011 at 11:48 AM, Eike Kettner e...@eknet.org wrote: the uber-jar is only concerning wicket, not any war bundle. while it would be of course nicer to have all wicket jars as separate bundles available out

AjaxButton and HTML5 fields

2011-04-26 Thread Jeremy Levy
I've extended TextField to support some of the HTML5 variants, number, email etc. This works great when submitting via normal methods. However it doesn't work when using AjaxButton, the form data for the HTML5 fields is never POSTed. The root issue appears to be in wicket-ajax.js specifically

Can't get Javascript filtering to work

2011-04-26 Thread Alec Swan
Hello, I would like to get my Javascript files filtered and gzipped. I added the following code in my Application#init(): resourceSettings.setJavascriptCompressor(new DefaultJavascriptCompressor()); However, when I add a resource using the following code, I can still see comments and white

Re: WELCOME to users@wicket.apache.org

2011-04-26 Thread Matthew Goodson
Hi guys, I'm trying to find out if an ajax request has come from page that was loaded from the browsers cache. Does anyone have any ideas of how I could achieve this? Thanks

Re: AjaxButton and HTML5 fields

2011-04-26 Thread Martin Grigorov
Hi Jeremy, Yes, this is the way to make it working. In Wicket 1.5 all this is already improved and Wicket provides Number, Url and Range TextFields out of the box but it is quite easy to use the other types too. To make it work in 1.4.x you'll need to use the monkey-patch approach. You can see