Re: [Announce] WicketStuff 6.0.0 released

2012-09-11 Thread Martijn Dashorst
On Tue, Sep 11, 2012 at 7:56 AM, Hanzhi Dou hanzhi@gmail.com wrote: There are no wicketstuff-jasperreports and wicketstuff-shiro in maven central for wicket 6, when they can also be available? When someone takes the time to port them to wicket 6. The release of wicketstuff projects is such

Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread esajjkh
Hi, Thank you for your support. MyHazelCastBroadCaster is not a wicket component so when i tried to get the Application either from my application class or from *Session.get().getApplcation()* throws exception. Your help will be appreciated. Thank you! -- View this message in context:

read html file to string...

2012-09-11 Thread mlabs
I have a fancy wicket app... I have a textarea on a page... I have an HTML file full of text.. I want the HTML content to go in the textarea Q1: where exactly in my web app folder hierarchy should I put my source HTML file ? Q2: what is the best way to then read the contents of that file into

Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread Emond Papegaaij
You will need the application. Without the application, it won't work. There are dozens of ways to pass the application to where you need it. For example, you could inject it using your favorite dependency injection framework, or you could pass it manually to the place where you need it. Best

Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread esajjkh
Thanks Emond, Where I can find the wicket-atmosphere 0.4-snapshot maven dependency? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/HazelCast-and-Atmosphere-Integration-with-Wicket-6-tp4651891p4651909.html Sent from the Users forum mailing list archive at

Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread Emond Papegaaij
You can find all information about Wicket's downloads, repositories and scm on http://wicket.apache.org/start/download.html Best regards, Emond On Tuesday 11 September 2012 04:37:36 esajjkh wrote: Thanks Emond, Where I can find the wicket-atmosphere 0.4-snapshot maven dependency? --

Re: HazelCast and Atmosphere Integration with Wicket 6

2012-09-11 Thread Martin Grigorov
Briefly, just add: repositories repository idApache Nexus/id urlhttps://repository.apache.org/content/repositories/snapshots//url releases enabledfalse/enabled /releases

Re: read html file to string...

2012-09-11 Thread Andrea Del Bene
Hi, you can place HTML file next to page class, then use PackageTextTemplate PackageTextTemplate textTemplate = new PackageTextTemplate(pageClass, yourHTMLfile.html); textTemplate.getString() ; I have a fancy wicket app... I have a textarea on a page... I have an HTML file full of text.. I

Re: read html file to string...

2012-09-11 Thread Andrea Del Bene
...but if you don't like using your html file as a package resource you can place it in a web app folder and use ContextRelativeResource Hi, you can place HTML file next to page class, then use PackageTextTemplate PackageTextTemplate textTemplate = new PackageTextTemplate(pageClass,

stateless Login page!!

2012-09-11 Thread Alfonso Quiroga
Hi, I have a stateless login page (statelessForm) and when the user login I do: protected void onSubmit() { [] setResponsePage(HomePage.class); } This was WORKING on wicket 1.5.RC7, but when I've changed to 1.5.7 or 1.5.8, it does not work, it just RELOADS the

RE: Wicket 1.5 migration questions

2012-09-11 Thread Paul Bors
I take it by global you mean http://myServer:###/myWebApp/global? If so, why don't you just add the folder to the root of your war? See how the static file such as HTML pages and images are handled in a Web Module: http://docs.oracle.com/cd/E13222_01/wls/docs70/webapp/basics.html#136976 ~ Thank

RE: stateless Login page!!

2012-09-11 Thread Paul Bors
Are you sure it's not calling the setReponsePage() (put break-point or a log message) and instead is trying to call the onError() method of your button or form? ~ Thank you, Paul Bors -Original Message- From: Alfonso Quiroga [mailto:alfonsose...@gmail.com] Sent: Tuesday, September 11,

Re: stateless Login page!!

2012-09-11 Thread Alfonso Quiroga
It IS calling it (I've debugged it) and nothing happens. I could make it work replacing that line with this: throw new RestartResponseAtInterceptPageException(RealHomePage.class); Is this the solution? Why setReponsePage() is not working? thanks! On Tue, Sep 11, 2012 at 12:21 PM, Paul Bors

Re: Wicket 1.5 migration questions

2012-09-11 Thread Alec Swan
I take it by global you mean http://myServer:###/myWebApp/global? Yes. If so, why don't you just add the folder to the root of your war? Good point, I could do that, but I'd rather keep my current folder structure. So, does it mean that putClassAlias functionality is gone in 1.5? Thanks,

Re: [Announce] WicketStuff 6.0.0 released

2012-09-11 Thread Bertrand Guay-Paquet
Hi, Thanks for the release! Having just tried it, it seems that WicketStuff uses Wicket version 6.0-SNAPSHOT. Is this on purpose? In wicketstuff-core's pom, there is the following property : wicket.version6.0-SNAPSHOT/wicket.version Regards, Bertrand On 07/09/2012 4:01 PM, Martijn Dashorst

[announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-11 Thread Igor Vaynberg
A Wicket 6.0 compatible version of the wicket-cdi module has been released and is available via Maven. It is also becoming an official module and will be bundled with Wicket starting with 6.1.0 release. More details here: https://www.42lines.net/2012/09/11/status-of-wicket-cdi-module/ -igor

Re: Since when has your application been running in production?

2012-09-11 Thread Jeremy Thomerson
On Tue, Sep 11, 2012 at 7:56 AM, Martijn Dashorst martijn.dasho...@gmail.com wrote: I found myself asking: What is the first Wicket application running in production? and conversely What Wicket application is still running in production since the beginning? Our company, Topicus, developed

RE: Wicket 1.5 migration questions

2012-09-11 Thread Paul Bors
I never said that, I just gave you an alternate way of achieving the same thing :) I'm not familiar nor did I ever use the SharedResources#putClassAlias() method, but given the API for SharedResources it seems to have been moved or removed. Wicket 1.4.x (has it at):

setRequired(true) without required-validator

2012-09-11 Thread raphw
Is there a way to ungo the validator that checks for a required field when I e.g. reqistered a String-Length-Validator? I feel that the String-Length-Validator is more verbose than the Required-Validator that Wicket adds by itself and I'd like the String-Length-Validator to send its error message

Re: setRequired(true) without required-validator

2012-09-11 Thread Igor Vaynberg
you can create your own version of string length validator and override its validateOnNull to return true. keep in mind that most validators in wicket and other libraries are not equipped to handle null and will most likely blow up. setrequired(true) is what is designed to handle nulls. -igor

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable error.

2012-09-11 Thread James Eliyezar
Any updates regarding this? The issue https://github.com/wicketstuff/core/issues/148 filed in the wicketstuff issue tracker remains unanswered. On Thu, Aug 30, 2012 at 3:38 PM, Vignesh Palanisamy vign...@mcruncher.comwrote: This is the Class tom, private class SearchOptions implements

Is anyone using ObjectAutoCompleteField from wicketstuff?

2012-09-11 Thread James Eliyezar
Hi all, What do you all do display objects in an autocomplete field? I used to use ObjectAutoCompleteField from wicketstuff but seems that it is having some problem with wicket-1.5.xhttps://github.com/wicketstuff/core/issues/148 Do you all use this component or stick to the traditional

Re: Is anyone using ObjectAutoCompleteField from wicketstuff?

2012-09-11 Thread Igor Vaynberg
http://ivaynberg.github.com/select2/ https://github.com/ivaynberg/wicket-select2 -igor On Tue, Sep 11, 2012 at 5:50 PM, James Eliyezar ja...@mcruncher.com wrote: Hi all, What do you all do display objects in an autocomplete field? I used to use ObjectAutoCompleteField from wicketstuff but

Re: Is anyone using ObjectAutoCompleteField from wicketstuff?

2012-09-11 Thread James Eliyezar
Select2 is an awesome component. Will try that out. Anybody else out there? On Wed, Sep 12, 2012 at 9:21 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: http://ivaynberg.github.com/select2/ https://github.com/ivaynberg/wicket-select2 -igor On Tue, Sep 11, 2012 at 5:50 PM, James Eliyezar

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-11 Thread Alexander Morozov
Great news! Thanks. I'll wait for 6.1.0 :) - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/announce-Wicket-CDI-for-Wicket-6-0-0-released-tp4651924p4651935.html Sent from the Users forum mailing list archive at Nabble.com.