Re: Form Components With Built In Feedback

2009-05-14 Thread jobiwankanobi
textfield.add(new FieldBorder()) doesn't work. -jim igor.vaynberg wrote: use IComponentBorder and then simply add it to each form component or subclass formcomponents and add it in the constructor, eg textfield.add(new fieldborder()); -igor public class FieldBorder implements

Re: DateTextField Runtime Exception on loading textfield that doesn't match format

2009-05-14 Thread jobiwankanobi
Is there a way to make it more lenient? I have data coming in from different sources - I want the form to load, give them a chance to change the format. --jim igor.vaynberg wrote: your format should match what you have in your model. otherwise you will get the same error when you try to

Re: DateTextField Runtime Exception on loading textfield that doesn't match format

2009-05-14 Thread jobiwankanobi
Never mind - I figured it out. DateTextField takes a Date not a String. --jim jobiwankanobi wrote: Is there a way to make it more lenient? I have data coming in from different sources - I want the form to load, give them a chance to change the format. --jim igor.vaynberg wrote

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread jobiwankanobi
Hi Igor, I'm a little confused. I attached a StringValidator - shouldn't that work on a String? --jim igor.vaynberg wrote: validators work on objects not on raw string values. -igor On Wed, May 13, 2009 at 10:00 AM, james o'brien jobr...@spinnphr.com wrote: Hello,I have a converter

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread jobiwankanobi
13, 2009 at 10:51 AM, jobiwankanobi jobr...@spinnphr.com wrote: Hi Igor, I'm a little confused.  I attached a StringValidator - shouldn't that work on a String? --jim igor.vaynberg wrote: validators work on objects not on raw string values. -igor On Wed, May 13, 2009 at 10:00 AM