TextField custom inmplementation of fieldError

2012-08-23 Thread xe0nre
Hello I am currently using some textFields that have some sort of validation , witch works just fineThe moment one field is not valid the border of the text field turns red (default behaviour.) . Now i want to create a custom component that extends textField that will implement a custom

after migration to 1.5 I get java.lang.IllegalStateException: Header was already written to response!

2012-08-23 Thread Paul Szulc
Hi, we've recently migrated form wicket 1.4 to 1.5 and we started getting this weird exception. Any idea what might be the problem? Below details from our bug report tool. We could not reporduce it, this is just logs from production. Time: 09/08/2012 12:34:48 Additional information:

AjaxRequestTarget.addComponent(..); not refreshing the component in safari

2012-08-23 Thread nav1st
Hi all, I am new to wicket, need your help. I have a form with 3-4 panels. and have a AjaxSubmitLink on a panel, on its submission, I simply hide and show the paenls using RequestTarget.addCompont(Component), but its just not working in safari 5.1.4, however, its working fine in IE7,8,9, Firefox

Re: AjaxRequestTarget.addComponent(..); not refreshing the component in safari

2012-08-23 Thread Martin Grigorov
Hi, Which version of Wicket do you use ? Better use Wicket 6.0.0-beta3 or even 6.0-SNAPSHOT. Isn't there a newer version of Safari ? I think there is. If nothing from above makes it working then please create a quickstart and attach it to a ticket in Jira

What sort of page variables are stored in page map?

2012-08-23 Thread kshitiz
Hi, For a web page, what sort of variables are stored in page map to hold its state when user moved from that page to another? Like class variables, final variables would be getting saved. Other than those, if we define a variable or any component in its constructor, what happens to such

Re: What sort of page variables are stored in page map?

2012-08-23 Thread Martin Grigorov
Wicket uses normal Java serialization so whatever applies there is valid. http://java.sun.com/developer/technicalArticles/Programming/serialization/ On Thu, Aug 23, 2012 at 4:39 PM, kshitiz k.agarw...@gmail.com wrote: Hi, For a web page, what sort of variables are stored in page map to hold

Re: What sort of page variables are stored in page map?

2012-08-23 Thread kshitiz
Hi, Thanks for the quick reply. So that means whatever we define for a page will get serialized and stored in page map. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-sort-of-page-variables-are-stored-in-page-map-tp4651460p4651462.html Sent from the Users

Wicket Ant/Ivy template project

2012-08-23 Thread Alec Swan
Hello, I noticed a couple of Maven projects that can be used as templates for creating Wicket/Spring/Hibernate webapps. I was surprised that I wasn't able to find an Ant/Ivy project for this tech stack given that Wicket, Ant and Ivy are all Apache projects. Does anybody have an Ant/Ivy template

junit for wicket webpage/panel

2012-08-23 Thread wicket user
Hi, I am wondering how to cover the junit cases for the webpages/ panel as the constructors are only taking the id's , but in the constructors of the webpages/panel i have created the some methods for ex: My Panel extends Panel{ MyPanel(String id){ super(id); buildPage(); } private void