|
IMO, you would to ensure that escaping is done
properly. I would give the example as :
<input:text name="familyName"
attributesText="size=\"20\"" maxlength="20" class="inputgrey"'/>
The ugliness of this is a normal consequence of putting html into jsp ; it's almost a convention :-) For what it's worth, I think it's a good idea, but obviously people might abuse it by putting in things that ought to be real attributes. No way to stop that ; but can be documented. And I'm not sure about the name, but haven't come up with a better one. Brian >>> [EMAIL PROTECTED] 09/18/01 01:32pm >>> This message has been scanned by
MAILSweeper.Hi all, I have found the following enhancement to the input taglib quite useful. It simplifies the addition of attributes to the <input> tags by adding a tag attribute called "attributesText", this is a text string that is just added verbatim into the <input> tag when it is output. eg. <input:text name="familyName" attributesText='size="20" maxlength="20" class="inputgrey"'/> I have already made the patches (very simple) to the
source and can send to someone if interested? kind regards,
|
- Input taglib: proposed enhancement Karl
- Re: Input taglib: proposed enhancement Shawn Bayern
- RE: Input taglib: proposed enhancement Brian Cole
- RE: Input taglib: proposed enhancement Dion Almaer
- RE: Input taglib: proposed enhancement Brian Cole
