Problem with AjaxSubmitButton when adding a form to the target

2010-05-30 Thread Predrag Spasojevic
I have a problem with following code: AjaxFallbackButton button = new AjaxFallbackButton(button, commentForm) { private static final long serialVersionUID = 1L; @Override protected void onSubmit(AjaxRequestTarget target, Form? form) { //do some business stuff //

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Alex Objelean
If you are using eclipse IDE for your development, I find the best tools the following: 1) Run-jetty-run plugin: http://code.google.com/p/run-jetty-run/ 2) jRebel With these two, you require absolutely no restart, no matter what you have changed in your wicket application (and not only

Re: Creating and zipping binary files for download

2010-05-30 Thread Alex Zeit
Thank you very much Jeremy for your help. As you suggested I create temporary dir and place files there. Wicket is really great! The solution to my problem was just in couple of lines of code: org.apache.wicket.util.file.File wdir = new org.apache.wicket.util.file.File(createTempDirectory());

Re: How to save binary files?

2010-05-30 Thread Alex Zeit
Thank you very much Edward for your help. The solution was to create temporary directory and place files there: final File temp = File.createTempFile(temp, Long.toString(System.nanoTime())); if (!(temp.delete())) { throw new IOException(Could not delete

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Martijn Dashorst
Huh? Storing the HTML in the packages has *nothing* to do with requiring restarts. Only wrongly configured IDEs may cause that. If your HTML doesn't get reloaded when you change it, then you should run Wicket in DEVELOPMENT mode. Also make sure you've configured Eclipse to copy all resources

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread David Chang
Alex, 1) Run-jetty-run plugin: http://code.google.com/p/run-jetty-run/ You are right. I googled it out yesterday and tested it. It works perfect. Thanks for chiming! Best, David --- On Sun, 5/30/10, Alex Objelean alex.objel...@gmail.com wrote: From: Alex Objelean alex.objel...@gmail.com

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Brian Mulholland
I have similar frustrations with WAS 7 in RAD 7.5. WAS 6 supported hot code replacement while debugging and life was good, but WAS 7 doesn't seem to. The hot code checkbox is checked, but seems ignored. Any RAD users out there have this problem and/or know how to fix it? Brian Mulholland

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Douglas Ferguson
Why do you need jRebel. I run jetty from inside eclipse and I have no need for jRebel. Also, it makes debugging much simpler if jettty is running inside the eclipse jvm. D/ On May 30, 2010, at 5:27 AM, Alex Objelean wrote: If you are using eclipse IDE for your development, I find the best

[Announce] Wicketstuff-core 1.4.8 and 1.4.9 released

2010-05-30 Thread Michael O'Cleirigh
Hello, Based on the 2 positive votes (+my vote) and because any problems with these releases can be fixed with a point release I've promoted the 1.4.8 and 1.4.9 staged wicketstuff-core releases into the central maven repository. Release artifacts are now available automatically through maven

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Alex Objelean
jRebel allows you to change the java code without restarting the server. Alex -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Can-I-develop-without-recompiling-restarting-after-every-change-tp2226360p2236403.html Sent from the Wicket - User mailing list archive at

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Ray Weidner
Nobody seems to have mentioned it, but I have been developing with Eclipse's Dynamic Web Projects, and it has greatly shortened my development cycle from when I was loading the project into Tomcat through the manager web interface. Basically, a DWP is able to run the server itself, and it

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Jason Lea
I use DWP in Eclipse... In the server view, you have your Tomcat server listed that you can start/stop etc. When you double click it opens up the settings for runtime environment and other options. One option is something like 'serve module without publishing' - that one means it basically

Wicket and Guice integration alternative

2010-05-30 Thread yaniv kessler
Hi, I published a nice post about an alternative way to integrate Wicket and Guice. The motivation for this alternative is to bypass wicket's filter configuration in web.xml and put it entirely in java code instead. I would love to hear what people think about it.

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread Jeremy Thomerson
On Sun, May 30, 2010 at 12:05 PM, Alex Objelean alex.objel...@gmail.comwrote: jRebel allows you to change the java code without restarting the server. I've not used jRebel, but I commonly run my applications in debug mode in Eclipse and do not have to restart the server - even with code

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread David Chang
This is really a great discussion thread and turned up lot of good stuff. Love this forum! Cheers! --- On Sun, 5/30/10, Jason Lea ja...@kumachan.net.nz wrote: From: Jason Lea ja...@kumachan.net.nz Subject: Re: Can I develop without recompiling/restarting after every change? To:

Re: Wicket clustering without web server clustering

2010-05-30 Thread Martin Grotzke
Hi Dmitry, the memcached-session-manager (http://code.google.com/p/memcached-session-manager/ ) is a tomcat session manager that was created with two major goals in mind: minimal impact on performance + scalability. Optimal performance: can only be reached if you don't do any I/O for a request.

AjaxFallbackDefaultDataTable turn off Sorting

2010-05-30 Thread Gurpreet.Singh
Hi All, I need to turn off sorting in AjaxFallbackDefaultDataTable initially and then click of a Ajax Link button in need to turn it On. I Thanks in advance.

Re: Wicket clustering without web server clustering

2010-05-30 Thread DmitryM
Martin, Thanks a lot for the reply. Actually, I would appreciate if you helped me. I tried your tomcat session manager with my wicket app. I followed the configuration instructions for Tomcat you listed on the session manager page. But it didn't seem to work for ajax requests. I believe I used

Re: Wicket clustering without web server clustering

2010-05-30 Thread Martin Grotzke
Hi Dmitry, I'm cc'ing the memcached-session-manager list so that we could take this thread over to this list... On Sun, 2010-05-30 at 15:38 -0700, DmitryM wrote: Martin, Thanks a lot for the reply. Actually, I would appreciate if you helped me. I tried your tomcat session manager with my

Re: AjaxFallbackDefaultDataTable turn off Sorting

2010-05-30 Thread James Carman
You'll have to re-create the table, perhaps? On Sun, May 30, 2010 at 5:50 PM, gurpreet.si...@wellsfargo.com wrote: Hi All, I need to turn off sorting in AjaxFallbackDefaultDataTable  initially and then  click of a Ajax Link button in need to turn  it On.  I Thanks in advance.

BookmarkablePageLinks using relative vs absolute paths

2010-05-30 Thread Chris Colman
Our web application uses wicket with an assortment of utility servlets that we use to service requests with specific paths. In order to use forwarding instead of redirecting we recently, as suggested on this list, switched our wicket app filter to use the /* (root) context instead of the the more