That's some messed up stuff right there
authorAndy Allan <andy@gravitystorm.co.uk>
Thu, 15 Sep 2011 16:22:59 +0000 (17:22 +0100)
committerAndy Allan <andy@gravitystorm.co.uk>
Thu, 15 Sep 2011 16:22:59 +0000 (17:22 +0100)
net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml

index b41576f..b5ee71c 100644 (file)
       [Bindable(event="factory_set")]
       protected function get choices():ArrayCollection {
           if ( _choices == null ) {
+              trace("factory is "+ _factory);
+              trace("processing choices for "+ _factory.key); // or .direcction
+              trace("factory is now "+ _factory);
               _choices = new ArrayCollection();
               for each ( var choice:Choice in ChoiceEditorFactory(_factory).choices )
+                  trace("added item: "+choice.value);
                   _choices.addItem(choice);
               _choices.addItem(createUnsetChoice());
           }