First, I'd like to say that the ecs has been a great package.



My question:

if the .addAttribute method has to take two args, how do you set just
one-word html attributes like READONLY or DISABLED

code snip:
 table.addElement(new TR(false)
                                 .addElement(new TD()
                                .addElement(new Input("Text", "ttlh1", 0)
                                        .addAttribute("DISABLED")

Thanks in advance,

Keith


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to