Em Fri, 31 Jul 2009 02:13:14 -0300, Vjeran Marcinko <vjeran.marci...@email.t-com.hr> escreveu:

Hello,

Hi!

I have created multi-form-field component (eg, DateRangeEditor component that has two DatePickers inside that are used to set "start" and "end" dates for DateRange domain class).

Why don't you subclass AbstractField? It already does most of the work you need to do when creating a form field. No need to use SubmitNotifier, just implement the processSubmission() method. A good example is the source of the Select component. To implement validation, take a look at the FormValidationSupport interface.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to