Solution: Don't use the Struts tags. :)

Seriously, people tend to forget (or don't know to begin with) that they are 
NOT required to use Struts.

Alternatively, limit the input via Javascript as an onKeyDown event handler.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Wed, December 22, 2004 2:38 pm, Freddy Villalba A. said:
> Hello everybody,
> 
> Since TEXTAREA doesn't have a MAXLENGTH attribute (which is quite useful,
> by
> the way), I wanted to implement my own solution using behaviours (hfc) to
> alter the standard TEXTAREA element. However, I've realized that this is
> not
> compatible with Struts' tag, since TLD validation throws a validation
> exception (it detects an attribute that does not belong to the standard
> HTML
> element nor the tag specification). I'd really like to use this
> solution(no
> Validator framework or anything else). Is it possible?
> 
> I've thought about turning off XML validation. Not sure if this is
> possible
> with Struts and, if possible, I'm not sure I'd buy that with the implied
> tradeoff.
> 
> Ideas anybody?
> 
> Regards,
> Freddy.
> 
> 
> ---------------------------------------------------------------------
> 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