Hi guys, 

The problem I'm having is as follows : 

I have a combobox that holds information on different countries and
when this is updated by the user (ie they pick a new country) a region
combo box is then automatically updated. 

The countries XML file holds information for the combobox with the
country and the location of a new XML file which holds all the
information on its regions as follows :

<?xml version="1.0" encoding="utf-8"?>
     <item>
          <label>Spain</label>
          <data>xml/spain.xml</data> 
     </item>

A similar XML file has the regions of Spain with certain available
dates of staying and this is linked to a DateChooser control and this
is where I'm running into difficulties. 

<?xml version="1.0" encoding="utf-8"?>
        <item>
                <label>Somewhere in Spain</label>
                <data>new Date(2008,7,17)</data> 
        </item> 

When this date is passed into the ArrayCollection it doesn't seem to
be associated with the data value in the comboBox yet it seems to work
fine when the new XML file is referenced?

Any comments or thoughts are appreciated. 

Cheers
David

Reply via email to