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/classna
me.asp

I think it is a case of 'no way to do it'. The <jsp:useBean> tag just
tantalises us :)

Yes I've read about Silk but I'm not completely up with the play on where
and how it's happening. I guess it's an opportunity to ignore regression and
throw out deprecated bits and pieces?

Cheers,
Karl

-----Original Message-----
From: Rahul P Akolkar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 23 November 2005 1:11 p.m.
To: Tag Libraries Developers List
Subject: Re: Input taglib

"Karl von Randow" <[EMAIL PROTECTED]> wrote on 11/22/2005 06:46:25 PM:
> Hi all,
> 
> I've reawakened after a long period of absense and I'm focussed now on 
> getting out a 1.2 release.
> 
<snip/>

Welcome back :-)


> What I'm adding at the moment is full XHTML attribute support for the
tags,
> so that you can use them easily. In version 1.1 you had to write stuff
like
> this:
> 
> <input:text name="blah" size="20" attributesText='class="myclass" 
id="myid"
> onclick="blah blah"' />
> 
> Which was ugly and hard to get your quotes right! So I've added in 
> attributes for all the XHTML attributes so you can use it more like:
> 
> <input:text name="blah" size="20" className="myclass" id="myid"
> onclick="blah blah" />
<snap/>

Cool, I guess we'll have both now, attributesText and the rest.


> 
> 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.


> It's quite a major addition, but won't have any regression effects.
> 
> I'm also trying to work through the current bugs on the taglib as well 
so
> that they are all resolved.
> 
<snap/>

Great.

Oh, I'm sure you're aware of Jakarta Silk?

-Rahul


> Cheers,
> Karl
> 
> 


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

Reply via email to