How to init a Wizard with a particular step?

2014-07-28 Thread Patrick Davids
Hi all, what I have here is an persistent workflow and I use a wizard to visualize this workflow. On entering my page I wanna push the wizard into a specific step depending on my persistent workflow state/(step). Until now I only was able to achieve this, by manually calling

Re: How to init a Wizard with a particular step?

2014-07-28 Thread Sebastien
Hi Patrick, Use a DynamicWizardModel private final IDynamicWizardStep step0; public MyWizard(String id) { super(id); final IWizardModel wizardModel = new DynamicWizardModel(this.step0); /* the start step */ this.init(wizardModel); } You have a complete demo here (using

Re: Wicket StackOverflowError in Serializing or Seserializing Session

2014-07-28 Thread Martin Grigorov
Hi, Wicket will use CheckingObjectOutputStream in DEV mode only if the normal serialization has failed with NotSerializableException before that, to give you a better explanation which field in which class is the problem:

Re: How to init a Wizard with a particular step?

2014-07-28 Thread Patrick Davids
Hi Sebastien, thanx, I have seen the DynamicWizardModel. Its not exactly, what I need... will help for other reasons, but does not help not to unpack and evaluate my step while constructing. My current implementation (I gave setActiveStep() a new chance) uses an onConfigure() of my Wizard

Re: InvalidUrlException

2014-07-28 Thread Entropy
I am considering subclassing WebRequestCodingStrategy to override that one method (and otherwise just call super() everywhere) and forward that condition to the HomePage instead of exceptioning. But I am a little unsure how to get my subclassed WebRequestCodingStrategy into use. -- View this

Wicket-Atmosphere: how to post to only one client ?

2014-07-28 Thread guillaume.mary
Hi ! I want to implement a simple use case where a notification is sent to a client when its reports is finished, with Wicket Atmosphere. I’m new to Atmosphere concepts, but not to Wicket. So I had a look at Wicket-Atmosphere Quick Start. A broadcast is very simple to create as it is done there,

Dynamic HTML page with Wicket?

2014-07-28 Thread eaglei22
Hello, I have an old application to re-write. It is a provisioning tool for different companies, and each company can create their own main page which tells a little about themselves, contact information etc.. This functionality is done by using a text box, and letting the user write free html,

Re: Wicket-Atmosphere: how to post to only one client ?

2014-07-28 Thread Pierre Goupil
Good afternoon, Yes, there is a registration mechanism. You have to implement ResourceRegistrationListener, for instance in your Application class. Then you have the two methods resourceRegistered resourceUnregistered which make you aware of the UUIDs as they come and go. Is it clearer?

Re: InvalidUrlException

2014-07-28 Thread Entropy
It turns out our ops team runs a script every ten minutes to test whether the app was up. The script was issuing this wierd URL a couple times per run due to it being broken. However, to protect against the future possibility, i implemented the forward to HomePage thingy discussed above. For

Re: Dynamic HTML page with Wicket?

2014-07-28 Thread Andrea Del Bene
If you decide to go with Wicket, you could simply use a Label component to display the saved HTML. You just have to call setEscapeModelStrings(false) to tell the label to not escape the HTML you want to display. Hello, I have an old application to re-write. It is a provisioning tool for

Re: Wicket-Atmosphere: how to post to only one client ?

2014-07-28 Thread guillaume.mary
Yes, thanks for the entry point. So I came to the following solution: register a ResourceRegistrationListener on the EventBus which fills a Map (concurrent) of SessionId to UUID. The SessionId is took from Session.get(), and the UUID is the one from resourceRegistered(..). Then my reporter

Re: Wicket-Atmosphere: how to post to only one client ?

2014-07-28 Thread Pierre Goupil
Yes, it should be OK. On Mon, Jul 28, 2014 at 6:19 PM, guillaume.mary guillaume.m...@interview-efm.com wrote: Yes, thanks for the entry point. So I came to the following solution: register a ResourceRegistrationListener on the EventBus which fills a Map (concurrent) of SessionId to UUID.

onMouseOver and onMouseClick in wicket

2014-07-28 Thread jayeshps
Hello, I have a requirement where I need to change the images based on the current position of the mouse on a particular background image, I have one background image and around 15 different images that need to be shown on top of the background image based on where the mouse points to on the

JCarousel and DynamicImageResource link not working

2014-07-28 Thread Delange
Hi, after 2 years I'm almost ready with my website and strugling with the last thing: I have a page which contains a JCarousel with multiple images (jpg). A customer should click on a photo and then see the picure in a normal format. The photo's are stored on another location on disk and a

Re: Dynamic HTML page with Wicket?

2014-07-28 Thread eaglei22
great. Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamic-HTML-page-with-Wicket-tp4666769p4666778.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe,

Re: Dynamic HTML page with Wicket?

2014-07-28 Thread Ernesto Reinaldo Barreiro
Maybe you can also use? --- /** * To be implemented by MarkupContainer which wish to implement their own algorithms for loading the * markup resource stream. * p * Since 1.5 you may also use Component.setMarkup() or getMarkup() to attach Markup to your

Re: NonCachingImage and xhtmlRenderer

2014-07-28 Thread hongdida
Xavi López wrote Sorry for double-posting, I'm attaching some of the code I'm using: I havent't mentioned other static styling images are rendering correctly. byte[] imageByteArray = generateBarCodeImage http://www.barcodelib.com/net_barcode/main.html (...) ByteArrayResource