Re: FormValidators and messages property file

2014-10-02 Thread Martin Grigorov
Hi, As I said the simplest is to just use form.error(the.key): @Override public void validate(Form? form) { Date fromDate = fromDateFormComponent.getConvertedInput(); Date toDate = toDateFormComponent.getConvertedInput(); if (

Re: unable to find property UploadProgressBar.starting

2014-10-02 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5713 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Oct 1, 2014 at 11:11 PM, Garret Wilson gar...@globalmentor.com wrote: On 10/1/2014 5:17 PM, Martin Grigorov wrote: ... Are you aware of JDK APIs (e.g.

Add extra debug information to component markup

2014-10-02 Thread Daniel Stoch
Hi, I want to add extra debug information to component markup or modify existing wicketpath info. For now it can be easily done by using a custom default IMarkupSourcingStrategy which has onComponentTag() method. But inside Component.getMarkupSourcingStrategy() the default strategy is get using

Re: Add extra debug information to component markup

2014-10-02 Thread Martin Grigorov
Hi, You can use Behavior#onComponentTag(). And IComponentInstantiationListenener to add this behavior to all/some components. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Oct 2, 2014 at 12:35 PM, Daniel Stoch daniel.st...@gmail.com wrote: Hi, I want

Re: Add extra debug information to component markup

2014-10-02 Thread Daniel Stoch
You are fast :). I wanted to write about this solution - came to my mind right now :) -- Thanks, Daniel On Thu, Oct 2, 2014 at 12:38 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, You can use Behavior#onComponentTag(). And IComponentInstantiationListenener to add this behavior to

Mapping two UI componets to Single Model

2014-10-02 Thread manoj kumar
Can i Map a Two UI Components to a Single Model Object with some delimiter seperating the two values? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mapping-two-UI-componets-to-Single-Model-tp4667796.html Sent from the Users forum mailing list archive at Nabble.com.

Re: DateTimeRangePicker

2014-10-02 Thread manoj kumar
Thanks for your reply Martin Grigorov-4. but i am unable to find a range date time picker using twitter bootstrap. is there a widget already in wicket using jquery/jquery-ui ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DateTimeRangePicker-tp4667763p4667797.html

Re: DateTimeRangePicker

2014-10-02 Thread Martin Grigorov
The best I know of are here: code: https://github.com/sebfz1/wicket-jquery-ui demo (jQuery UI): http://www.7thweb.net/wicket-jquery-ui/datepicker/DefaultDatePickerPage demo (Kendo UI): http://www.7thweb.net/wicket-jquery-ui/kendo/datetimepicker/KendoDatePickerPage but again I think they do not

Re: Mapping two UI componets to Single Model

2014-10-02 Thread Martin Grigorov
Yes! Sure you can! Give us more information what you want to do and we will give you more information how to do it! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Oct 2, 2014 at 2:21 PM, manoj kumar malathkarma...@gmail.com wrote: Can i Map a Two UI

Re: DateTimeRangePicker

2014-10-02 Thread Sebastien
Hi, The only time picker jquery ui plugin I know for jquery ui is http://trentrichardson.com/examples/timepicker/ but: 1/ the time is based on sliders (we like or not... personally I don't like it too much) 2/ it is not a *range* datetimepicker. In another side, jquery ui provides a range

Re: Mapping two UI componets to Single Model

2014-10-02 Thread Sebastien
Hi, If your question is related to your previous post about the rangedatetimepicker [1], you better have to have a custom RangeDateTime (or RangeValue, whatever) as model object... [1] http://apache-wicket.1842946.n4.nabble.com/DateTimeRangePicker-td4667763.html On Thu, Oct 2, 2014 at 2:40 PM,

Double submit with AjaxFormSubmitBehavior

2014-10-02 Thread Wayne W
Hi, I have basically the following: Form f = new Form('form) { }

Double submit with AjaxFormSubmitBehavior

2014-10-02 Thread Wayne W
Hi, I have basically the following FormString typeInForm = new FormString(typeInForm) { @Override protected void onSubmit() { doSubmit(this); } }; AjaxFormSubmitBehavior ajax = new AjaxFormSubmitBehavior(onkeyup) { @Override protected void