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
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
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
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
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:
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
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
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:
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
.
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
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
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
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.
13 matches
Mail list logo