On Tue, 25 Mar 2014 13:18:13 -0300, John <j...@quivinco.com> wrote:
Has anyone changed a mixin into a component? Was it easy and could you
please share the steps?
Components and mixins are very similar already, with very few differences:
1) Components can have templates, mixins cannot.
2) Mixins can only be used applied to a component.
3) They're put in different packages.
Both can have parameters, handle component rendering events and generate
HTML through MarkupWriter.
The steps, besides moving the mixin class to the components package, are
very specific to what the mixin does. Without the mixin source, we cannot
help further.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org