If using tap 4.1.2 (I know, sorry ) I think it just works as expected - but there's also some new api calls for handling stuff like this - ie appendAttribute() / getAttribute() / etc...
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IMarkupWriter.html On 5/4/07, Norman Franke <[EMAIL PROTECTED]> wrote:
I'm trying to develop a customized ValidationDelegate that add a class to fields with an error. It works if the field doesn't already have a class attribute. What I want to do is add the class name to the existing attribute. Just adding one yields two class="" attributes, which doesn't seem to render properly. (The second one is completely ignored in some browsers.) How can this be done? This is using Tapestry 4.0.2. -Norman --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com