[Zope3-dev] Re: [Checkins] SVN: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py The label for the list items widgets could not point to the field, because

Kamal Gill kamal.gill at adaptivewave.com
Wed Apr 5 16:14:22 EDT 2006


Hmm, I'm inclined to doubt whether IE expects the id and name  
attributes to be identical.  Distinct values for id and name  
shouldn't be a problem, afaik.

See http://msdn.microsoft.com/workshop/author/forms/formsoverview.asp

  - Kamal

--
Kamal Gill - kamal.gill at adaptivewave.com
http://www.adaptivewave.com
Content Management Made Simple



On Apr 5, 2006, at 1:03 PM, Gary Poster wrote:

>
> On Apr 5, 2006, at 3:42 PM, Stephan Richter wrote:
>> Modified: Zope3/trunk/src/zope/app/form/browser/itemswidgets.py
>> ===================================================================
>> --- Zope3/trunk/src/zope/app/form/browser/itemswidgets.py	 
>> 2006-04-05 19:34:34 UTC (rev 66578)
>> +++ Zope3/trunk/src/zope/app/form/browser/itemswidgets.py	 
>> 2006-04-05 19:42:44 UTC (rev 66579)
>> @@ -518,6 +518,7 @@
>>          rendered_items = self.renderItems(value)
>>          return renderElement(self.tag,
>>                               name=self.name + ':list',
>> +                             id=self.name,
>>                               multiple='multiple',
>>                               size=self.size,
>>                               contents="\n".join(rendered_items),
>
>
> FWIW, I seem to recall that IE doesn't handle form fields whose  
> `id` and `name` are different very well.  Can anyone verify, from  
> memory or otherwise?
>
> Gary
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/kamal.gill% 
> 40adaptivewave.com
>





More information about the Zope3-dev mailing list