Frank W. Zammetti wrote:
Note also that styleId is the attribute of <html:form> that you want, that renders an ID attribute (unfortunate naming choice since it encourages the usage of the ID attribute to assign CSS classes, which is another bad practice IMO, but whatever, it works!).

Why do you say that's a bad practice? It's actually both supported and recommended; in fact, the 'name' attribute is deprecated in favour of the 'id' attribute so 'id' is the only way to target CSS to a particular page element rather than an entire display class.

OK, you could use class="something-I-made-sure-is-unique" instead of using id, but why do that and loose the ability to have uniqueness checked by validation?

Not trying to go on the attack or anything here :-) Just curious where this is coming from...

L.


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

Reply via email to