ok I forgot that tapestry is auto generating code for custom components. :] well 1:0 for you
pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski....@gmail.com ______________________ On 10 February 2010 13:53, Thiago H. de Paula Figueiredo <thiag...@gmail.com > wrote: > On Wed, 10 Feb 2010 10:42:02 -0200, kamiseq <kami...@gmail.com> wrote: > > ok, >> im wondering why this is hardcoded into component instead moved to mixin, >> so there wouldnt be a problem with js libs, no mixins no js included in html >> page. >> > > It's not that easy. Mixins are applied statically, while validation can be > applied dinamically. And most components already don't include any > JavaScript unless is needed. > > zone refresh, >> > > Zone refresh is made by JavaScript, so it cannot. > > > form's ajax submit, validation could all be mixins for >> components. or am I wrong? >> > > AFAIK Form's AJAX submit maybe, validation not because of the reason above. > > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, software architect and developer, Ars Machina Tecnologia da > Informação Ltda. > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >