Edgar, Just for the record, I agree with your sentiment about the Struts HTML tags. styleClass drives me nuts! But I don't have time to change it, much less deal with the backwards compatibility issues the committers would demand of such a change :) so, I just deal with it and work with whats there.
And like Ted said, JSTL is where the taglib work should be done, except for Struts-specific tags, so when things are being refactored we should lobby for HTML attributes to be supported with no name changes and anything that is Struts-specific should have a different attribute name, rather than renaming an HTML attribute. But, we're off topic :) Erik Edgar Dollin wrote: > I guess we have a difference of opinion. > > I care about the tld's because they take time getting them correct and I > have an explosion of entries in my projects. Also, the struts tld's (at > least in 1.0.2) are missing attributes. HTML and all the other languages we > use are hard enough to learn and get effective with, using consistent syntax > much less inconsistent syntax. Yes there are differences and the class > would be slightly larger than normal but it wouldn't be unmanageable and > with clever syntactic analysis would not be much larger. After all the > browser has to be built to handle the input html object. > > Thanks for your commentary. > > Edgar > > -----Original Message----- > From: David Graham [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 12:50 PM > To: [EMAIL PROTECTED] > Subject: RE: LabelTag > > > I think your suggestion on having one struts tag that emits any input type > (like the html spec) is very flawed. Consider how huge that one tag would > be if it knew how to output text, textarea, radio, checkbox, submit, and > password fields. Each of the struts input tags have features unique to them > > and deserve to be separate. > > Also, the struts tags need attributes for html AND beans, properties, etc. > That's why you see attributes like styleClass instead of class. > > Who cares how many tld entries there are? This is a non-issue, especially > in servlet 2.3 where you don't ever have to see the tlds. > > Even without 2.3, it's trivial to put struts-*.tld files in your /WEB-INF > directory. > > David > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>