why do you have the openting tag in english and the closing in spanish?

--- In [email protected], "Marcio Napoli" <[EMAIL PROTECTED]> 
wrote:
>
> Hi All,
> 
>  
> 
> I am having problems with collection, when i change the value of one
> registry to a new value i lost the old one. For example:
> 
>  
> 
> [Bindable] private var DATAPACKET: XML = <data>               
> 
> <row>
> 
>                   <date>17/01/2007</data>
> 
>                   <event>Event 01</evento>
> 
>                   <user>MARCOSA</usuario>
> 
>             </row>
> 
>  </data>
> 
>  
> 
> ((ICollectionView)
> (grid.dataProvider)).addEventListener(CollectionEvent.COLLECTION_CHANGE,
> changeData);
> 
>  
> 
> public function changeData(event: CollectionEvent): void {
> 
>       if (event.items.length > 0) {
> 
>             if (event.items[0] as PropertyChangeEvent) {
> 
>                   var pce: PropertyChangeEvent = event.items[0] as
> PropertyChangeEvent;
> 
>                   if (pce.kind == CollectionEventKind.UPDATE) {
> 
>                         trace(pce.source);      
> 
>                         trace(pce.target);
> 
> 
>                         trace(pce.property);          
> 
>                         trace(pce.oldValue);
> 
> 
>                         trace(pce.newValue);
> 
>                         trace(DATAPACKET.row[grid.selectedIndex]);
> 
>                   }
> 
>             }
> 
>       }
> 
> }
> 
>  
> 
> In my sample the attributes "pce.oldValue" and "pce.newValue" are null.
> 
> The "pce.source" is with new value and my var "datapacket" already
updated.
> 
> So, how can i get the old value?
> 
>  
> 
> Thanks,
> 
> Marcio Napoli
> 
> [EMAIL PROTECTED]
>


Reply via email to