struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <paul4chris...@yahoo.com>
Subject Re: HTML Tags and ID
Date Mon, 24 Jul 2006 07:21:04 GMT
Thanks everyone. That's what I was looking for. It's named badly, imo, because styling may
use an id, but its main purpose is for the DOM tree.

vijay venkataraman <vijayv@ltp.soft.net> wrote: Hi,
As Thomas Joseph mentioned, styleId is a the way to get 'id' in your 
html document when you are using struts html tags. The value you set in 
styleId will be set as id of the html element. All input elements that 
can be represented by struts html tags has a attribute styleId and you  
can use it to set the 'id' on the html element. I have used this 
extensively for label id mapping. A single tag, which takes care of this 
association, and generation of label would have been great.

Thanks,
Vijay Venkataraman

Thomas Joseph wrote:

>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
 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  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: user-unsubscribe@struts.apache.org
>  For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
>    
>  ---------------------------------
>  Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups.
>  
>


------------------------------DISCLAIMER------------------------------
This message is for the named person's use only. It may contain 
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. 

If you receive this message in error, please immediately delete it and 
all copies of it from your system, destroy any hard copies of it and 
notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the 
intended recipient. 

Lisle Technology Partners Pvt. Ltd. and any of its subsidiaries each 
reserve the right to monitor all e-mail communications through its 
networks. 

Any views expressed in this message are those of the 
individual sender, except where the message states otherwise and the 
sender is authorized to state them to be the views of any such entity.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



 		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message