You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Nimmons, Buster" <bu...@sbec.com> on 2004/02/09 22:04:39 UTC
RE: how to specify HTML attribute when HTML Tag does not have cor
rosp onding attribute
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:jakartauser@yahoo.com]
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" <bu...@sbec.com> 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: how to specify HTML attribute when HTML Tag does not have corresponding attribute
Posted by Hubert Rabago <ja...@yahoo.com>.
Are you talking about adding that to the struts distro? I just suggested
that today and it was shot down. =(
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=struts-dev@jakarta.apache.org&msgNo=23975
Maybe someone else has solved this problem before and is willing to help?
--- "Nimmons, Buster" <bu...@sbec.com> wrote:
> 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:jakartauser@yahoo.com]
> 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" <bu...@sbec.com> 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: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org