Best Way to Perform a Quick Test

2013-04-01 Thread madmax108
Hi, I'm just beginning with Wicket Development. I've been used to Java development where, when I want to perform a quick test, I simply add a sysout to see if a certain code segment is being reached eg. System.out.println(Segment 1 reached) or to find out what is being returned by a database call

Re: Best Way to Perform a Quick Test

2013-04-01 Thread Dan Retzlaff
I think you misunderstand serialization. Only class member data is serialized, plus a small amount of metadata like the class name and a version. Normal methods, and any logging in those methods, have no effect on serialized output. If you tried printing and it didn't work, please share your code.

Does getRenderBodyOnly need to be final?

2013-04-01 Thread Chris Colman
I've come across a HTML/CSS template that is sensitive to the spans wicket places in various places and would like to do a global remove of these but don't want to have to call setRenderBodyOnly(true) on every component if I can avoid it. I thought that maybe I could override getRenderBodyOnly

Re: Does getRenderBodyOnly need to be final?

2013-04-01 Thread Bas Gooren
Since you have a base panel class, why not call setRenderBodyOnly() in onInitialize or onConfigure based whatever logic you planned to put in getRenderBodyOnly()? Met vriendelijke groet, Kind regards, Bas Gooren Op 1-4-2013 19:20, schreef Chris Colman: I've come across a HTML/CSS template

RE: Does getRenderBodyOnly need to be final?

2013-04-01 Thread Chris Colman
I was just adding it to the constructor when I realized that some AJAX aware panels need the extra spans otherwise the AJAX won't work. I might have to rethink this one. -Original Message- From: Bas Gooren [mailto:b...@iswd.nl] Sent: Tuesday, 2 April 2013 4:24 AM To:

Re: wicket 1.4.20 ajax download link

2013-04-01 Thread fachhoch
ajaxdownload from page history which works with 1.4 here is the code I have a ListView in a modalwindow , AJAXDownload behaviour is added to the ListItem, this list item has ajaxlink which has to start download , on click of this linkmodawindow is closed here is the code as I

Tracking performance issues on requests best practices

2013-04-01 Thread Serban.Balamaci
Hello guys, I'm trying to have a finer look at what is taking time on the serverside in our application. What I have so far is that I'm using Spring AOP to track down calls to all the methods and time to the Services layer. PS: I'm using JETM http://jetm.void.fm/ (it may be old, but is simple

Re: Tracking performance issues on requests best practices

2013-04-01 Thread Bas Gooren
We use New Relic extensively, which allows us to (a) annotate key parts of the app we wish to monitor, and (b) allow profiling in production, if we ever need it. I'm not affiliated with New Relic, just a happy user of it. Please note that it's not a free tool, but given the ease of use (it's

Re: Tracking performance issues on requests best practices

2013-04-01 Thread Nick Pratt
We use JProfiler, but Ive also used Yourkit (both very good profilers). N On Mon, Apr 1, 2013 at 3:45 PM, Serban.Balamaci thespamtr...@gmail.comwrote: Hello guys, I'm trying to have a finer look at what is taking time on the serverside in our application. What I have so far is that I'm

Re: ModalWindow: setWindowClosedCallback has access to old model or change to modal window's model goes away ?

2013-04-01 Thread grazia
I think that the issue has something to do with the fact that WindowClosedCallBack is a Behavior, and in the wicket.Behavior I find the note: * p * You also cannot modify a components model with a behavior. * /p I am not modifying the model of the window through the windowClosedCallBack, but

Re: ModalWindow: setWindowClosedCallback has access to old model or change to modal window's model goes away ?

2013-04-01 Thread grazia
It seems that the model of the modal window is read before his behavior responds, and it is not re-read after the behavior responds. How to get around this ? Nobody has a suggestion ? -- View this message in context:

Re: ModalWindow: setWindowClosedCallback has access to old model or change to modal window's model goes away ?

2013-04-01 Thread grazia
I have tried to detach the model of the modal window in the onclick, and to reset it, but to no avail. I think that trying to manipulate teh model of the modal window for my purpose will not work at all. So, I have tried in the onClick to redirect to intercept page this way: