Re: Defining validation properties for a textfield embedded within another component

2011-02-28 Thread LLTYK
http://tapestry-users.832.n2.nabble.com/Defining-validation-properties-for-a-textfield-embedded-within-another-component-tp6072497p6075073.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Defining validation properties for a textfield embedded within another component

2011-02-28 Thread Thiago H. de Paula Figueiredo
On Mon, 28 Feb 2011 17:36:55 -0300, wkm wrote: I was afraid you were going to say that. :) Is this the "tapestry-standard" way, or is it more of a workaround? (basically, I'm wondering if I should refactor all of my wrapper components as mixins, or just the text field ones.) Mixins are t

Re: Defining validation properties for a textfield embedded within another component

2011-02-28 Thread wkm
On 2/28/2011 5:06 AM, Thiago H. de Paula Figueiredo wrote: On Mon, 28 Feb 2011 05:35:14 -0300, wkm wrote: I've created gentle wrapper components around basic form components like TextField. (I have apply some custom styling, particularly table cells) Suggestion: implement it as a mixin instea

Re: Defining validation properties for a textfield embedded within another component

2011-02-28 Thread Thiago H. de Paula Figueiredo
On Mon, 28 Feb 2011 05:35:14 -0300, wkm wrote: Hi, Hi! I've created gentle wrapper components around basic form components like TextField. (I have apply some custom styling, particularly table cells) Suggestion: implement it as a mixin instead of a wrapper component. -- Thiago H. de Pau

Defining validation properties for a textfield embedded within another component

2011-02-28 Thread wkm
Hi, I've created gentle wrapper components around basic form components like TextField. (I have apply some custom styling, particularly table cells) For the most part this is easy enough using the nice publishParameters feature: public class CTextField extends AxAbstractTextInput {