Nicolás Echániz wrote: > > Hi, > > I'm trying to do the following: > > I have 2 select1 fields, one for country (pais), the other for city > (ciudad). > > When the document is loaded requested, I generate a list of countries > (in an instance), but not of cities. > > My idea is to use the xforms-value-changed event on the first select1 > so that I can get the cities from a database lookup using the > submitted country ID. > > The example is quite simple and it's partially working (on > Mozilla+XForms). > > The form does get submitted when I select a country and the server app > returns the updated instance data. I've checked this with Allan > Beaufour's XForms Buddy. > > The problem is that although everything seems fine up to this point, > the cities select doesn't show the newly received options. > > Am I missing something? > This is a bug that is in the mozilla xforms processor where itemsets are not dynamically updated. My Mozzie project http://www.sourceforge.net/projects/mozzie fixes this issue. Eventually the code will hopefully appear back into the main truck of the mozilla project.Received on Saturday, 11 February 2006 00:15:22 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:01:57 GMT