FormComponentPanel and specifying tabindex for form input

2009-01-29 Thread Gianni Doe
I've got a custom date picker component that extends FormComponentPanelT and I include it in my markup with. span wicket:id=startDatePicker[date picker]/span 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

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 gdoe6...@yahoo.it wrote: I'm having exactly the same problem after moving from 1.4-rc1 - 1.4-rc2

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: img wicket:id=logo src=mylogo.gif / Then I add the Context image to my WebPage: add(new ContextImage(logo,

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

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: span wicket:id=dropoffDate[dropoff date picker]/span Then in the java :

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: properties entry key=LocalDateTimeRangeValidator${input} must be between ${startDate} and ${endDate}/entry

Re: validation message-keys differences on m3 to rc2

2009-04-06 Thread Gianni Doe
, 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 gdoe6...@yahoo.it wrote: I'm having exactly the same problem after moving