Fair enough... I'm thinking If I have to subclass and create this attribute
would there be any forseeable harm in making an "unsupportedAttribute" and
pass in the key/value pair combination to be rendered (IE. <html:textarea
unsupportedAttribute="wrap='hard'" property="description" cols="30"
rows="2"/>) that way I don't have to go through this every time I need to
use a new attribute.

-----Original Message-----
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 2:41 PM
To: Struts Users Mailing List
Subject: Re: how to specify HTML attribute when HTML Tag does not have
corrosp onding attribute


If you need an attribute that isn't supported, you have to subclass the tag
class and add that support.

And sorry, but no, I haven't tried it yet.  

--- "Nimmons, Buster" <[EMAIL PROTECTED]> wrote:
> 
>   I'm using the textarea tag in a page, however I need to specify the wrap
> attribute as hard so text is sent to the server with carriage returns and
> line feeds in place. Since the TEXTAREA HTML tag does not have a wrap
> attribute how can I tell it to render the correct html wrap attribute
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to