[Repoze-dev] Implementing multi-dropdown deform widget

2010-12-26 Thread Tim Knapp
Hi, I've been hammering away at a deform widget that consists of 2-3 dropdown menus that are much like the 'cascading' jquery plugin, i.e. you choose a value in the first menu and an ajax call is made to a url that returns the values for the subsequent menu and the same for the 3rd one. So far

Re: [Repoze-dev] Implementing multi-dropdown deform widget

2010-12-26 Thread Chris McDonough
On Mon, 2010-12-27 at 16:32 +1300, Tim Knapp wrote: Hi, I've been hammering away at a deform widget that consists of 2-3 dropdown menus that are much like the 'cascading' jquery plugin, i.e. you choose a value in the first menu and an ajax call is made to a url that returns the values for

Re: [Repoze-dev] Implementing multi-dropdown deform widget

2010-12-26 Thread Tim Knapp
Just to rephrase things a little better - I noticed in the source code of a number of deform widgets that it uses 'field.oid', which seems to be related to the order that a widget appears on the form. So if I ensure the template for my new widget assigns an 'id' of field.oid, is this what deform