-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On a more general note (I will add a bug listing shortly) it would be good to allow further customization of every field. e.g: allow the element type and attributes to be overriden.
I'm coming up against this now, in two cases: a) I want to create a validating textarea field b) I want to add different javascript to an onclick handler The later (b) can be achieved by overriding the generateAttributes(). But you can't replace the root element without overring the complete renderComponent method. I was thinking that when the move of Tapestry over to it's new CVS home was completed, that I might start refactoring some of this (if of course, people don't stone me first for suggesting it :-) I won't be doing this until then - so don't anyone hold their breath!! What do other people think, of the idea? Neil On Wednesday 08 Jan 2003 1:37 am, Dorothy Gantenbein wrote: > Hi - > > We would like to have our own textfield with an HTML 'class' parameter. > This class parameter would have a default to our pre-defined style. Should > I inherit from Tapestry's TextField or use delegation? If I use > delegation, how do I pass the informal parameters to the contained Tapestry > TextField? > > Thanks... > Dorothy > > <http://informative.com/advise/index.jsp> > <http://informative.com/images/spacer_clear.gif> > > > > Dorothy Gantenbein > Software Architect > 650.534.1077 | t > 650.534.1020 | f > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> - -- Regards, Neil Clayton (PS: If you see strange text you don't understand underneath my email, don't worry - it's just my PGP signature) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+HDjhLXcfQF3yrNoRAhvmAJ4xZvIu+ml64jbXPo9GwmF5ELGOGgCbBhIs xyrxxDtHoWnVkbkCGdLEBE8= =U8if -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
