Re: T5.0.5 Informal parameters not rendered in a descendant of AbstractField.

2007-07-30 Thread Nick Westgate
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 param

Re: T5.0.5 Informal parameters not rendered in a descendant of AbstractField.

2007-07-30 Thread Shing Hing Man
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 tag (but not closing it). 3) Add an

Re: T5.0.5 Informal parameters not rendered in a descendant of AbstractField.

2007-07-30 Thread Shing Hing Man
Thanks for the pointer Nick! I will try again. Shing --- Nick Westgate <[EMAIL PROTECTED]> wrote: > Hi Shing. > > Nice to see you getting into T5. ;-) > > Not sure why your > resources.renderInformalParameters(writer) > fails, but it's likely a clash with the > RenderInformals mixin > in Ab

Re: T5.0.5 Informal parameters not rendered in a descendant of AbstractField.

2007-07-29 Thread Nick Westgate
Hi Shing. Nice to see you getting into T5. ;-) Not sure why your resources.renderInformalParameters(writer) fails, but it's likely a clash with the RenderInformals mixin in AbstractField. You should read the docs about rendering multiple tags: http://tapestry.apache.org/tapestry5/tapestry-core/a

T5.0.5 Informal parameters not rendered in a descendant of AbstractField.

2007-07-29 Thread Shing Hing Man
I have subclassed AbstractField to make a colour picker component, which is essentially a read only text field with a clickable icon next to it. The component is working, but it does not render the informal parameters. With I expect the rendered text field to have an attribute of size="3".