struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: non-HTML attributes
Date Wed, 22 Dec 2004 19:51:18 GMT
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

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
> 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:
> For additional commands, e-mail:

View raw message