Re: Redirect to relative URL

2013-02-23 Thread Sebastian Gaul
This is exactely what I tried. The problem is, that RedirectRequestTarget handles the URL as context-specific (but it is domain-specific). Using external links (as mentioned on the website) is not an option, because the redirect is based on internal settings rather than user interaction. Any

Redirect to relative URL

2013-02-22 Thread Sebastian Gaul
Hello, I have a server-relative URL like /target/index (starting with a slash) and I'm looking for a way to redirect to http://mydomain.com*/target/index*. In Wicket (unfortunately still 1.4) I tried the following: RequestCycle.get().setRequestTarget( new

Re: Twenty-Six Wicket Tricks Book

2013-02-22 Thread Sebastian Gaul
section of Jonathan's blog (it's an excellent book, by the way) and ask him your question from there. Ian Sebastian Gaul wrote I cannot find anything related there. His blog started long after the book. Am 14.02.2013 14:51 schrieb Ian Marshall lt; IanMarshall.UK@ gt;: Perhaps

Re: Twenty-Six Wicket Tricks Book

2013-02-15 Thread Sebastian Gaul
I cannot find anything related there. His blog started long after the book. Am 14.02.2013 14:51 schrieb Ian Marshall ianmarshall...@gmail.com: Perhaps a good source of information is Jonathan's blog at: http://codeact.wordpress.com http://codeact.wordpress.com Ian Sebastian Gaul wrote

Re: How to null-check manually converted TextField values?

2013-02-14 Thread Sebastian Gaul
); } Hope this helps, Sebastien. On Wed, Feb 13, 2013 at 4:46 PM, Sebastian Gaul sebast...@mgvmedia.comwrote: I have a TextField which overrides it's getConverter method to add a Joda time converter instead: new TextFieldP(id) { @Override public P IConverterP getConverter(ClassP

Twenty-Six Wicket Tricks Book

2013-02-14 Thread Sebastian Gaul
Does anyone know what happened to the book Twenty-Six Wicket Tricks by Jonathan Locke? Some code looks very promising and I would like to read it. However, the code seems to be very old and I cannot find any way to purchase the book. Is the project still alive?

How to null-check manually converted TextField values?

2013-02-13 Thread Sebastian Gaul
I have a TextField which overrides it's getConverter method to add a Joda time converter instead: new TextFieldP(id) { @Override public P IConverterP getConverter(ClassP type) { return (IConverterP) new JodaDateTimeConverter(); } }; The converter returns null if input was