Hi Martin, Thanks for your feedback. Yes I agree, className appears to be the most used solution to the class keyword problem. I'm going to stick with it unless there are any objections?
Cheers, Karl -----Original Message----- From: Martin Reurings [mailto:[EMAIL PROTECTED] Sent: Friday, 25 November 2005 12:00 a.m. To: Tag Libraries Developers List Subject: Re: Input taglib Karl, As a part-time backender with far more front-end experience, I want to vote in favor of using className. That references back to the property as it is used in ECMA-script as well as steering clear of the mistaken impression that is for use primarily with styles. This wasy it'll be quite understandable by front-end web-developers and really keeping good form. Karl von Randow wrote: >Thanks, > >Yes, attributesText remains so you can work it both ways :) There's >even an attributes map that takes names and values. > >I did notice that struts used styleClass. I based className on other >implementations with the same problem, it seems to be a bit of a >defacto >standard: > >http://www.mozilla.org/docs/dom/domref/dom_el_ref4.html > >http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/cl >assna >me.asp > >I think it is a case of 'no way to do it'. The <jsp:useBean> tag just >tantalises us :) > > > > >>Note I've had to use className instead of class because you can't use >>"class" as a taglib property. Does anyone know any different on that? >>It would be neat to not have to use className! >> >> >> ><snip/> > >Unfortunately, there may not be a way to do that. As a data point, the >Struts html taglib uses styleClass. > > > -- ( /' _/_ __ _ _ |/|///)(/(/(//_(-/ _/ Phone: +31 (0)297-283665 E-mail: [EMAIL PROTECTED] Website: http://www.windgazer.nl "The trouble with doing something right the first time, is nobody appreciates how difficult it was." -- Unknown Artist --------------------------------------------------------------------- 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]
