Re: XHTML doesn't allow name attributes for form tag
"Vinod Kurup" <[email protected]> Fri, 17 Mar 2006 16:33:20 -0500
| Newsgroups | gmane.comp.web.tclwebtest |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_3376_17747538.1142631200457 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hey Til - Thanks for the quick response! On 3/16/06, Tilmann Singer <[email protected]> wrote: > Anyway if you want to do that, look into lib/tclwebtest.tcl in the > proc ::tclwebtest::deal_with_field , appx. line 3079 I think deal_with_field is taking care of attributes within elements inside the <form> tag, right? Those are still allowed to use 'name' attributes. I'= m interested in changing the code which deals with the actual form element, which I think I found in the function ::tclwebtest::extract_forms_if_necessary : *set* a_form(name) [get_attribute $form_tag name] *set* a_form(id) [get_attribute $form_tag id] Thanks again for the pointer. I'll start working on the code and submit a patch soon. Vinod -- Vinod Kurup, MD [email protected] http://kurup.org ------=_Part_3376_17747538.1142631200457 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hey Til - Thanks for the quick response!<br><br><div><span class=3D"gmail_q= uote">On 3/16/06, <b class=3D"gmail_sendername">Tilmann Singer</b> <<a h= ref=3D"mailto:[email protected]">[email protected]</a>> wrote:</span><br><blockq= uote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 20= 4); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Anyway if you want to do that, look into lib/tclwebtest.tcl in the<br>proc = ::tclwebtest::deal_with_field , appx. line 3079</blockquote><div><br> I think deal_with_field is taking care of attributes within elements inside the <form> tag, right? Those are still allowed to use 'name' attributes. I'm interested in changing the code which deals with the actual form element, which I think I found in the function ::tclwebtest::extract_forms_if_necessary :<br> <pre> <b><font color=3D"#a020f0">set</font></b> a_form(name) [get_at= tribute $<font color=3D"#b8860b">form_tag</font> name]<br> <b><font = color=3D"#a020f0">set</font></b> a_form(id) [get_attribute $<font color=3D"= #b8860b"> form_tag</font> id]<br></pre> Thanks again for the pointer. I'll start working on the code and submit a p= atch soon.<br> <br> Vinod<br> </div><br> </div>-- <br>Vinod Kurup, MD<br><a href=3D"mailto:[email protected]">vinod@ku= rup.com</a><br><a href=3D"http://kurup.org">http://kurup.org</a> ------=_Part_3376_17747538.1142631200457-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642