[Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-23 Thread itsliang
Hi, I have a form that uses ListView to generate some form components, but I don't know how to use a form validator to validate those nested components. Here is the example: public class TestForm extends Form { public TestForm(String arg0) { ListView lv = new

Re: [Wicket-user] Wicket and Websphere

2006-06-23 Thread shumbola
Çäðàâñòâóéòå, Jeremy. Âû ïèñàëè 23 èþíÿ 2006 ã., 4:55:29: Thanks very much for the response, can you point me to an example of how exceptions are used in wicket with 1.4 as complared to how it would work in 1.3.  I'd like to figure out exactly how much is involved in backporting wicket. 

[Wicket-user] Multipleforms good idea?

2006-06-23 Thread Nino Wael
Hi Ive been creating some different components with wicket, so that I can reuse them. On some of my pages there is stuff which does not encourage reuse. All my components have their own form, none of them have regular submit buttons. This is handled in another component, which also

Re: [Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-23 Thread Martijn Dashorst
populateItem(...) { ... TestForm.this.add(new TestFormValidator(checkbox, choice)); } should do the trick. Martijn On 6/23/06, itsliang [EMAIL PROTECTED] wrote: Hi, I have a form that uses ListView to generate some form components, but I don't know how to use a form validator to

Re: [Wicket-user] WicketTester in 1.2 causing internal error cloning object errors.

2006-06-23 Thread Ingram Chen
It is just a bug. Thanks a lot !On 6/23/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Fixed now.EelcoOn 6/22/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: I guess it is a bug. Juergen On 6/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote: ITestPageSource is not serializable. If it was, you

Re: [Wicket-user] Multipleforms good idea?

2006-06-23 Thread Martijn Dashorst
The problem with using multiple forms is that only the data of one form is submitted. So if your user has entered data in 2-3 forms, only the form that is submitted retains its data. So what we typically do is have one form on a page, and create panels that contain form components, and add those

Re: [Wicket-user] Wicket and Websphere

2006-06-23 Thread Jeremy Levy
Will do, so far it looks like java.util.regex is going to be a significant effort in addition to the exception handling.On 6/23/06, shumbola [EMAIL PROTECTED] wrote:Здравствуйте, Jeremy.Вы писали 23 июня 2006 г., 4:55:29: Thanks very much for the response, can you point me to an example of how

Re: [Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-23 Thread itsliang
I tried, however, I got an exception: WicketMessage: Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = form, page = test.TestPage, path = 0:form.TestPage$TestForm, isVisible = true, isVersioned = true]] threw an

Re: [Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-23 Thread Igor Vaynberg
you forgot to add the form to the page?-IgorOn 6/23/06, itsliang [EMAIL PROTECTED] wrote: I tried, however, I got an exception:WicketMessage: Method onFormSubmitted of interfacewicket.markup.html.form.IFormSubmitListener targeted at component[MarkupContainer [Component id = form, page =

[Wicket-user] Wait for Wicket 2.0 or not?

2006-06-23 Thread Alexander Malfait - Curious.be
Dear mailing list, I've been developing commercial custom webapplications with PHP(5) for a couple of years now, and am seriously looking Wicket for my future development. Now I have an upcoming project which would greatly benefit from all the awesomeness Wicket has to offer, but I was

Re: [Wicket-user] Wait for Wicket 2.0 or not?

2006-06-23 Thread Philip A. Chapman
Alex, I think that the answer depends on a number of things. First, will you be able to deploy to servers running java 1.5? How soon do you expect the project to be completed and in production? Does a changing API bother you while working on your new project? Do you need generics and the

Re: [Wicket-user] Multipleforms good idea?

2006-06-23 Thread Frank Silbermann
I don't think HTML forms can be nested. This will hinder re-use of components that contain their own forms. My solution is to build components with their own submit buttons with behavior built in, but which rely on being placed inside a form that covers the page as a whole. From: [EMAIL

Re: [Wicket-user] Multipleforms good idea?

2006-06-23 Thread Eelco Hillenius
oh, and a form part like this: private static final class TextFieldDefinitionEditor extends Panel implements IFormEditor { public TextFieldDefinitionEditor(String id, IModel fieldDefinitionModel) { super(id, new

Re: [Wicket-user] Wait for Wicket 2.0 or not?

2006-06-23 Thread Eelco Hillenius
Agreed with Philip. However, one important note is that of the changing API. Though the constructor change and generics support were huge changes, the rest of the internals of the frameworks pretty much stayed the same. We have a couple of things we really feel should be improved, converters

Re: [Wicket-user] Wicket and Websphere

2006-06-23 Thread Ingo Adler
Jeremy Levy wrote: Does anyone use wicket in websphere 5? I am tring to deploy my application and I am getting class not found for java.land.charsequence. This instance of websphere is running in JDK 1.3. Has wicket been used successfully in this version of Java? I think WebSphere 5.1

Re: [Wicket-user] header contribution ordering

2006-06-23 Thread Michael Day
I finally got around to this again, and I don't particularly like the idea of using the following to add CSS contributions last: add(HeaderContributor.forCss(MyChildPage.class, MyChildCSS.css)); The problem is that I'm trying to specify a CSS override file for only *some* of my

Re: [Wicket-user] Wicket and Websphere

2006-06-23 Thread Paolo Di Tommaso
So it is.On 6/23/06, Ingo Adler [EMAIL PROTECTED] wrote: I think WebSphere 5.1 uses Java 1.4.Ingo. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server

Re: [Wicket-user] Wicket and Websphere

2006-06-23 Thread Levy, Jeremy
But Websphere 5.02 doesn't :) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paolo Di TommasoSent: Friday, June 23, 2006 4:19 PMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Wicket and Websphere So it is. On 6/23/06, Ingo Adler [EMAIL PROTECTED] wrote: