[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-user
Subject: Re: T5.0.5 Informal parameters not rendered in a descendant of AbstractField.
From: Nick Westgate <nick () key-planning ! co ! jp>
Date: 2007-07-31 3:04:03
Message-ID: 46AEA6A3.9040503 () key-planning ! co ! jp
[Download RAW message or body]
Hi Shing.
By inheriting from AbstractField you are using these mixins:
@SuppressWarnings("unused")
@Mixin
private RenderInformals _renderInformals;
@SuppressWarnings("unused")
@Mixin
private RenderDisabled _renderDisabled;
RenderInformals is rendering the informal parameters.
Cheers,
Nick.
Shing Hing Man wrote:
> <t:colorPicker size="3" color="color" />
>
> The informal parameter size"3" is rendered if I
> do the following changes to my ColorPicker.java
> (without using mixins).
>
> 1) Remove @SupportsInformalParameters and
> resources.renderInformalParameters(writer)
>
> 2) In the beginRender method, only
> render the <input type="text"> tag (but not closing
> it).
>
> 3) Add an afterRender method to closed the
> <input> tag and render the color picker icon.
>
>
> Shing
>
> PS I have not tried the mixin way yet.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic