Re: Extending Textfield Question

"Malcolm Edgar" <[email protected]> Wed, 08 Jan 2003 13:07:13 +0800
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hi Dorothy,

You should be able to pass the TextField an informal HTML 'class' parameter, 
as informal parameters are allowed.

  <input type="text" jwcid="textField" class="myclass"/>

regards Malcolm

>From: Dorothy Gantenbein <[email protected]>
>To: [email protected]
>Subject: [Tapestry-developer] Extending Textfield Question
>Date: Tue, 7 Jan 2003 17:37:02 -0800
>
>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]>
>
>


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com