Re: Intro, Wicket 6, RuntimeException error page

2012-11-17 Thread Jordi Deu-Pons
Hi Robert, I'm using a custom error page in Wicket 6 adding a RequestCycleListener at WebApplication init like this: /* In case of unhandled exception redirect it to a custom page */ getRequestCycleListeners().add(new AbstractRequestCycleListener() { @Override public

js

2012-10-19 Thread Jordi Deu-Pons
Hi, when cookies are disable Wicket 6 attach the jsessionid in the URL like this: [app_path];jsessionid=1pwfo2de689mq100bkdc8i4jhy?[app_parameters] I'm having problems with an application that runs behind an apache proxy pass. So I wonder if somebody knows, why is not using a normal URL

Re: js

2012-10-19 Thread Jordi Deu-Pons
) On Fri, Oct 19, 2012 at 10:51 AM, Jordi Deu-Pons jo...@jordeu.net wrote: Hi, when cookies are disable Wicket 6 attach the jsessionid in the URL like this: [app_path];jsessionid=1pwfo2de689mq100bkdc8i4jhy?[app_parameters] I'm having problems with an application that runs behind

Wicket 6-beta1 - How to call a javascript function after component render?

2012-04-26 Thread Jordi Deu-Pons
Hi, I'm developing a component that needs to call a javascript function after it's rendered (throw and AJAX update or a normal request). I get it running like this: @Override protected void onBeforeRender() { super.onBeforeRender(); AjaxRequestTarget target =

Re: Wicket 6-beta1 - How to call a javascript function after component render?

2012-04-26 Thread Jordi Deu-Pons
of the component - both Ajax and non-Ajax. On Thu, Apr 26, 2012 at 4:46 PM, Jordi Deu-Pons jo...@jordeu.net wrote: Hi,  I'm developing a component that needs to call a javascript function after it's rendered (throw and AJAX update or a normal request).  I get it running like this:    @Override

Re: Best practices for using CSS resource references

2012-02-07 Thread Jordi Deu-Pons
Hi Alec, I'm using this maven plugin on production releases: http://alchim.sourceforge.net/yuicompressor-maven-plugin/ that compress the CSS and the JS before packaging it into the WAR. On Tue, Feb 7, 2012 at 9:06 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, On Mon, Feb 6, 2012 at

AJAX update and file download on Wicket 1.5

2011-11-22 Thread Jordi Deu-Pons
Hi, I want to do an AJAX update and then start a file download. I've found this solution for Wicket 1.4.x https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html This is not working on Wicket 1.5 because this deprecated code: public void onRequest() {

Re: AJAX update and file download on Wicket 1.5

2011-11-22 Thread Jordi Deu-Pons
Grigorov mgrigo...@apache.org wrote: On Tue, Nov 22, 2011 at 1:13 PM, Jordi Deu-Pons jo...@jordeu.net wrote: Hi, I want to do an AJAX update and then start a file download. I've found this solution for Wicket 1.4.x https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one

How to control the href rewrite in link tag

2011-09-01 Thread Jordi Deu-Pons
Hi,  I want to control the href rewrite behaviour of the links in the head section. Now from this: link href=css/some.css type=text/css rel=stylesheet /link Wicket rewrites to this: link href=../css/some.css type=text/css rel=stylesheet/link I would like to rewrite to do something like this:

Re: How to control the href rewrite in link tag

2011-09-01 Thread Jordi Deu-Pons
, Jordi Deu-Pons jo...@jordeu.net wrote: Hi,  I want to control the href rewrite behaviour of the links in the head section. Now from this: link href=css/some.css type=text/css rel=stylesheet /link Wicket rewrites to this: link href=../css/some.css type=text/css rel=stylesheet/link I

Return a DynamicWebResource on a Form onSubmit.

2009-09-02 Thread Jordi Deu-Pons
Hi, I've been looking for a solution without luck. How can I return a resource after a form submit? Thanks. -- a10! i fins aviat. J:-Deu - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,