[Zope3-dev] Re: [Zope3-Users] z3c.form 1.0.0 released!

2007-06-03 Thread David Pratt
One form demo might be a simple form that relates the input from one 
field to another in the form. For example two dropdown lists where 
second dropdown is based on what choice in first dropdown. The need for 
something like this is fairly common for apps I believe.


Regards
David


Stephan Richter wrote:

On Wednesday 30 May 2007 12:27, David Pratt wrote:

Another form related demo might show how to effectively use a data
source with a large number of choices in a select list (like choosing a
  user in a select list from all users on the site) using an ajax widget
where you can start typing and it will begin narrowing the choices -
much like the way live search works (and without generating all options
in the form).


Yeah, there are some demos related to AJAX-features that could be done. Roger 
is already working on AJAX-related demos, including live search and input 
validation.


Regards,
Stephan

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] files missing from trunk

2007-06-03 Thread Michael Haubenwallner

Fresh checkouts from trunk are broken:

today zodbcode and RestrictedPython were moved to 'satellite's.

They are still missing / not available through svn:externals.

Michael

--
http://www.zope.org/Members/d2m
http:/planetzope.org

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Re: [Checkins] SVN: z3c.form/trunk/src/z3c/form/ HTML element ids containing dots are not very good, because then the

2007-06-03 Thread Gary Poster


On Jun 3, 2007, at 12:58 PM, Stephan Richter wrote:


Log message for revision 76258:
  HTML element ids containing dots are not very good, because then the
  element#id CSS selector does not work and at least in firefox the
  attribute selector (element[attr=value]) does not work for the id
  either.

  Thus I converted the entire codebase to use dashes in ids  
instead. I am
  sorry if this causes some test-fixing issues for some of you, but  
making

  this change sooner rather than later is better in the long run.

  I am going to test this some more now.


Hey.  I've only had limited time to look at the new package(s) but  
what I've seen so far looks good.  I hope to give it a whirl soon.


You may want to check about the browser compatibility of having ids  
and names different.  I know I used to have IE problems when I did  
this.  I tried to Google for verification.  I think you'll find some  
here:


http://channel9.msdn.com/wiki/default.aspx/ 
Channel9.InternetExplorerProgrammingBugs


Look for the section titled META tags improperly register them  
selfs as an ID with document.getElementById(), specifically the  
*second* example.  AFAIK, this would be an IE6 thing; I don't have  
much hands-on pain knowledge with IE7.


In fact, HTML 4 does regard name and id to be in the same namespace  
for anchor tags (see http://www.w3.org/TR/html4/struct/links.html,  
12.2.3) and even requires that they be identical (example is in the  
section).  The IE bug, apparently, is to assume that this constraint  
holds for all name attributes, such as form fields.


So, what you did is technically correct.  However, if you want your  
code to be used be folks who care about supporting IE6 and JS, I  
believe you will want your names and ids to be identical.


I've rung this alarm bell before in other contexts, but this is the  
first time I was able to find corroboration.


Gary
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] files missing from trunk

2007-06-03 Thread Martijn Pieters

On 6/3/07, Michael Haubenwallner [EMAIL PROTECTED] wrote:

Fresh checkouts from trunk are broken:

today zodbcode and RestrictedPython were moved to 'satellite's.

They are still missing / not available through svn:externals.


Other parts are also broken in the same manner. I assumed that a SVN
trunk checkout was no longer the way one is supposed to work on
Zope3..

--
Martijn Pieters
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com