Re: Issues with default type conversion in 1.5

2012-09-09 Thread Alec Swan
Here is a new JIRA https://issues.apache.org/jira/browse/WICKET-4755 I added the following code in my application class to implement what you recommended as a fix. Maybe this will help other people who run into this problem. Does this look good to you? @Override protected

Re: Issues with default type conversion in 1.5

2012-09-09 Thread Sven Meier
public Object convertToObject(String value, Locale locale) { return value; } That might fail badly causing a ClassCastException but as long as it works for you ;). Thanks for creating the issue. Sven On 09/09/2012 09:22 AM, Alec Swan wrote: Here is a new JIRA

Re: Issues with default type conversion in 1.5

2012-09-09 Thread Alec Swan
In which case can it cause a ClassCastException? On Sun, Sep 9, 2012 at 6:25 AM, Sven Meier s...@meiers.net wrote: public Object convertToObject(String value, Locale locale) { return value; } That might fail badly causing a ClassCastException but as long as it works for you ;). Thanks for

Setup Wicket in Eclipse without need to re-initialize the whole servlet container

2012-09-09 Thread seba.wag...@gmail.com
Hi, we have set up Wicket in OpenMeetings and it is working fine! However the development cycle is pretty long: Every change requires us to recompile and restart the servlet container. As we use Wicket + Spring + openJPA a restart takes around 20 seconds + compilations time, it takes around 30

Re: Setup Wicket in Eclipse without need to re-initialize the whole servlet container

2012-09-09 Thread Michael Mosmann
I have used run-jetty-run as eclipse plugin... If this is not enough, you should use jrebel. Michael mosmann seba.wag...@gmail.com seba.wag...@gmail.com schrieb: Hi, we have set up Wicket in OpenMeetings and it is working fine! However the development cycle is pretty long: Every change

Re: Setup Wicket in Eclipse without need to re-initialize the whole servlet container

2012-09-09 Thread Alec Swan
I had pretty good luck with JRebel. In addition I use RemoteSyncronizer IntelliJ plugin to automatically copy HTML/JS/CSS files from my source tree to webapp deployment dir. Alec On Sun, Sep 9, 2012 at 11:36 AM, Michael Mosmann mich...@mosmann.de wrote: I have used run-jetty-run as eclipse

Re: Issues with default type conversion in 1.5

2012-09-09 Thread Sven Meier
Sorry, my statement was wrong: If you register your converter for Object and Serializable, everything should be fine. Sven On 09/09/2012 07:21 PM, Alec Swan wrote: In which case can it cause a ClassCastException? On Sun, Sep 9, 2012 at 6:25 AM, Sven Meier s...@meiers.net wrote: public

Re: Issues with default type conversion in 1.5

2012-09-09 Thread Alec Swan
Perfect, thanks for your help! On Sun, Sep 9, 2012 at 3:13 PM, Sven Meier s...@meiers.net wrote: Sorry, my statement was wrong: If you register your converter for Object and Serializable, everything should be fine. Sven On 09/09/2012 07:21 PM, Alec Swan wrote: In which case can it cause

Re: Setup Wicket in Eclipse without need to re-initialize the whole servlet container

2012-09-09 Thread zenith77
I use the simplest of setups - embedded Jetty in a Java main method, and run from within Eclipse in debug mode. I just point the root directory to my local project files, and off I go. No buggy plug-ins, or configuration - just plain old Java. Means you can edit java files and they automatically

Re: Equivalent to WebResource in Wicket 1.5.8

2012-09-09 Thread Madasamy Sankarapandian
Thank you very much I used ByteArrayResource(String contentType, byte[] array, String filename) constructor.