Re: validation message-keys differences on m3 to rc2

2009-04-06 Thread Gianni Doe
input1.Required. -Gianni On 18/mar/09, at 21:09, Gianni Doe wrote: https://issues.apache.org/jira/browse/WICKET-2159 On 10/mar/09, at 15:55, Igor Vaynberg wrote: jira, quickstart, you know the drill -igor On Tue, Mar 10, 2009 at 3:15 AM, gilberthuph wrote: I'm having exactly

Re: validation message-keys differences on m3 to rc2

2009-03-18 Thread Gianni Doe
https://issues.apache.org/jira/browse/WICKET-2159 On 10/mar/09, at 15:55, Igor Vaynberg wrote: jira, quickstart, you know the drill -igor On Tue, Mar 10, 2009 at 3:15 AM, gilberthuph wrote: I'm having exactly the same problem after moving from 1.4-rc1 -> 1.4-rc2 Here's the extract fr

FormComponentPanel and specifying tabindex for form input

2009-01-29 Thread Gianni Doe
I've got a custom date picker component that extends FormComponentPanel and I include it in my markup with. [date picker] The component uses a hidden form field to store an ISO formatted date value and a display field to show the localised full date. It's the hidden field that is used as the

Custom validator variablesMap() - Value of variable [[input]] could not be resolved

2008-11-06 Thread Gianni Doe
Hi I've written a custom validator and error message and I'm adding my own variables to the error message by overriding variablesMap(). My error message looks like thie: ${input} must be between ${startDate} and ${endDate} As I understand 3 default variables should be substituted by t

Add AJAX behaviour to embedded custom form component

2008-11-03 Thread Gianni Doe
I've developed a custom form component (FormComponentPanel), a date picker, that makes use of 2 fields - a display TextField and a HiddenField for the model data. I'm then adding this to the page with a span tag: [dropoff date picker] Then in the java : DatePicker dropoffDatePicker = new D

LoadableDetachableModel for drop-down menu selection

2008-10-28 Thread Gianni Doe
I'm starting out with Wicket and following the Wicket In Action examples through and I'm a bit stuck on how to make use of a LoadableDetachableModel in a drop-down menu situation. I've got a drop-down menu of countries which is populated from a LoadableDetachableModel, this works perfectly

ContextImage not generating path relative to context root

2008-10-21 Thread Gianni Doe
I'm a bit confused about ContextImage; according to the javadocs the image path "will be prefixed such that the image is relative to the context root". In my markup I've got: Then I add the Context image to my WebPage: add(new ContextImage("logo", "images/logos/mylogo.gif")); ... and I end