You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jaroslav Ciml <ja...@jpower8.cz> on 2016/12/19 14:14:37 UTC
Setting a parameter of an implementation mixin
Hi,
is there a way to set the value of a mixin parameter in case of an implementation mixin?
If the mixin is used as an instance mixin, I can bound its parameter value in the template or using the attribute "parameters" of the @Component annotation.
However, let's supppose that a component renders its markup from Java code without a template and a mixin should apply to all instances of this component (the mixin is added via the @Mixin <http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/Mixin.html> annotation). Is there a way to bind a parameter of the mixin in such case?
Btw. the mixin parameter is of boolean type and I would like to bind it just to literal:false.
Thanks.
Jarda