Re: [Wicket-user] Wickettester and Validators

2007-05-12 Thread behlma
Anyone or is it the wrong approach? behlma wrote: Hi guys, I'm just fiddling around with the FormTester. Say I have a RequiredValidator and StringLengthValidator on my textfields in a form, with custom error messages specified in the page's .properties file. How can I let

[Wicket-user] Wickettester and Validators

2007-05-11 Thread behlma
Hi guys, I'm just fiddling around with the FormTester. Say I have a RequiredValidator and StringLengthValidator on my textfields in a form, with custom error messages specified in the page's .properties file. How can I let wickettester retrieve those custom message, instead of hardcoding them

Re: [Wicket-user] Unit Testing Pages with @SpringBeans

2007-05-07 Thread behlma
I must have been blind to not see the unit testing section on that page. Thanks guys Gwyn wrote: On Sunday, May 6, 2007, 6:35:45 PM, Ingram [EMAIL PROTECTED] wrote: Do you check this ? http://www.wicket-wiki.org.uk/wiki/index.php/Spring Please note that the site above is an 'old' wiki

[Wicket-user] Unit Testing Pages with @SpringBeans

2007-05-06 Thread behlma
Hi there, I've been trying to figure out how to unit test pages with @SpringBeans. Say my LoginPage has a spring injected UserService.class in its submit() method handling all the (database) related authentication tasks. I was of course thinking of using a UserService mock, but how can I get my

Re: [Wicket-user] Unit Testing Pages with @SpringBeans

2007-05-06 Thread behlma
Futhermore I just noticed that when I do tester.startPage(new LoginPage()); instead of tester.startPage(LoginPage.class); I get loads of serialisation errors. i.e. Caused by: java.io.NotSerializableException: org.apache.wicket.util.tester.WicketTester -- View this message in context:

[Wicket-user] Access Feedbackmessages on RedirectPage

2007-04-25 Thread behlma
Hi, can I, in a forms onSubmit method redirect to a new page (setRedirect(new Page())) and access the error/info feedback messages on the new Page? If so, how? Cheers -- View this message in context: http://www.nabble.com/Access-Feedbackmessages-on-RedirectPage-tf3646550.html#a10184451 Sent

Re: [Wicket-user] Access Feedbackmessages on RedirectPage

2007-04-25 Thread behlma
Thanks as always :) Eelco Hillenius wrote: On 4/25/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Page page = new Page(); page.info(Hello, World!); setResponsePage(page); That, or alternatively, you can use 'flash' messages by doing Session.get().info(Hello, World!) in which case they

[Wicket-user] Summer of Code

2007-03-23 Thread behlma
Hi guys, as mentioned some time ago I'd be really up for the idea of having a Summer of Code. I personally would really be interested in creating an email utility library, even though that might only be a small thing. Any ideas? -- View this message in context:

[Wicket-user] Ajax Multiple File Upload

2007-02-25 Thread behlma
Hi there, situation: I have one input type=file .. field that has a javascript onChange function assigned. The onChange function basically hides that input field and creates a new one on the fly. Now chillenious pointed out that this would have to be done via ajax, i.e. generating the

Re: [Wicket-user] Application layout question: File uploads

2007-01-29 Thread behlma
. put them somewhere else on the harddrive. -igor On 1/27/07, behlma [EMAIL PROTECTED] wrote: Hi guys, I'm just writing a simple portal application, where users can upload files, i.e. images that will be displayed on their sites, but should not be accessible for unregistered users

Re: [Wicket-user] Application layout question: File uploads

2007-01-28 Thread behlma
them into web-inf as that is overwritten when you redeploy. put them somewhere else on the harddrive. -igor On 1/27/07, behlma [EMAIL PROTECTED] wrote: Hi guys, I'm just writing a simple portal application, where users can upload files, i.e. images that will be displayed

[Wicket-user] Application layout question: File uploads

2007-01-27 Thread behlma
Hi guys, I'm just writing a simple portal application, where users can upload files, i.e. images that will be displayed on their sites, but should not be accessible for unregistered users, i.e the outer world. Now I take it it's the common approach to store only the files paths' to the database

[Wicket-user] Static pages?

2007-01-17 Thread behlma
Hi there, I'm quite new to Wicket and was wondering if there's a possibility to create some static pages in Wicket without having the need to create an Action. What I eventually want are a couple of Freemarker templates without any wicket:ids getting rendered and to be able to access them.