Setting a parameter of an implementation mixin

Jaroslav Ciml <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.