correct way to call necessary javascript initialization when a component is added via ajax

2009-11-10 Thread Peter Ross
Hi, I'm implementing a control which consists of an integer field and a slider where the slider comes from jquery UI. My question is that whenever the component is refreshed via ajax, you need to call the js initialization function. I've done this by adding a behaviour which determines the

Re: correct way to call necessary javascript initialization when a component is added via ajax

2009-11-10 Thread Peter Ross
On Wed, Nov 11, 2009 at 3:48 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Tue, Nov 10, 2009 at 10:38 PM, Peter Ross p...@missioncriticalit.comwrote: Hi, I'm implementing a control which consists of an integer field and a slider where the slider comes from jquery UI. My

Re: Wicket and JQuery

2009-11-10 Thread Peter Ross
On Wed, Oct 28, 2009 at 5:08 PM, Jason Novotny wrote: Martin Makundi wrote: ... and expect trouble with ajaxifying jquery plugins that skin html components. They will not work properly if you replace your components via ajax - or at least you might have to work hard on it. Bingo!! I've

Re: correct way to call necessary javascript initialization when a component is added via ajax

2009-11-11 Thread Peter Ross
On Wed, Nov 11, 2009 at 7:23 PM, svenmeier wrote: Why so complicated? because I started by looking at what wiquery did and then simplifying it to my case. However I wasn't sure if it was the correct approach or the most simple hence the question is there a better solution. @Override public

Re: Wicket and JQuery

2009-11-11 Thread Peter Ross
On Wed, Nov 11, 2009 at 3:53 PM, Peter Ross pdr...@gmail.com wrote: On Wed, Oct 28, 2009 at 5:08 PM, Jason Novotny  wrote: Martin Makundi wrote: ... and expect trouble with ajaxifying jquery plugins that skin html components. They will not work properly if you replace your components via

Using Prince XML to generate PDF of wicket page

2009-04-05 Thread Peter Ross
Hi, I'm new to wicket and I am looking at integrating Prince XML with Wicket. Prince supplies a method public boolean convert(InputStream xmlInput, OutputStream pdfOutput) throws IOException What I would like to do is add this into the rendering pipeline for a page, so that I can get the

Re: Using Prince XML to generate PDF of wicket page

2009-04-06 Thread Peter Ross
On Mon, Apr 6, 2009 at 12:18 PM, Peter Ross pdr...@gmail.com wrote: Hi, I'm new to wicket and I am looking at integrating Prince XML with Wicket. Prince supplies a method  public boolean convert(InputStream xmlInput, OutputStream pdfOutput) throws IOException What I would like to do

Request to improve documentation of onRuntimeException

2009-05-04 Thread Peter Ross
Hi, I'm looking at overriding onRuntimeException[1]to do some cleanup if there was an exception,however I want the standard error handling page to be displayed. I thought I would need use getInternalErrorPage and then do some tricky stuff to instantiate it, but after inspecting