I'm prettty sure that @SupportsInformalParameters is just a marker so that
informal parameters are available serverside.

In order to write the informal parameters to the html you must @Inject
ComponentResources and call renderInformalParameters(MarkupWriter)

On Friday, 3 February 2012, Barry Books <trs...@gmail.com> wrote:
> I added @SupportInformalParameters to a mixin and it does not do what
> I would expect.
>
> According to the docs
>
> If the component and a mixin both define a parameter with the same
> name, then the component wins: the component's parameter will be
> bound, and the mixin's parameter will be unbound.
>
> After reading this I would expect all parameters without a namespace
> to go to the component but it appears they go to the mixin. To test
> this I created this mixin
>
> @SupportsInformalParameters
> public class IP {
>
> }
>
> with the following tml
>
> <t:pagelink page="" active="true" t:mixins="tb/IP">link</t:pagelink>
>
> and the link renders without action="true". If I remove the mixin
> action="true" is rendered.
>
> Is this what's intended or should the pagelink get all the default
> namespace informal parameters?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to