Hi Paul, but I guess, what you want is styleId itself. This will be rendered as 
an HTML id attruibute. 

http://struts.apache.org/1.2.9/userGuide/struts-html.html#checkbox

Although named style Id, this is the id what we use in DOM.

Thanks and Regards,
Thomas Joseph
  ----- Original Message ----- 
  From: Paul Benedict 
  To: Struts Users Mailing List 
  Sent: Monday, July 24, 2006 10:21 AM
  Subject: Re: HTML Tags and ID


  Wendy, unfortunately no. This is not a style, but a DOM element ID. That's 
what the <label for> connects to. It's a really cool thing: if you connect a 
label to a checkbox, you can actually check and uncheck the box by clicking on 
the label -- just like good old thick-client programs :)

  Wendy Smoak <[EMAIL PROTECTED]> wrote: On 7/23/06, Paul Benedict 
   wrote:

  > Do the Struts tags allow the HTML id attribute to be set in its form 
taglibs? I was hoping to find an htmlId or id attribute but did not see one. Am 
I correct?
  >
  > My goal was to accomplish this:
  > 
  >
  > The  connects to an HTML ID, not a name.

  Does the 'styleId' attribute do what you want?

  http://struts.apache.org/1.x/struts-taglib/tlddoc/html/checkbox.html

  -- 
  Wendy

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




    
  ---------------------------------
  Groups are talking. We&acute;re listening. Check out the handy changes to 
Yahoo! Groups.

Reply via email to