And what if Object would not be generic Object but rather class
DataProviderContainer { [Bindable]public var dataProvider:ArrayCollection;}
I assume your dynamic property dataProvider on Object is not bindable.
Roman Protsiuk
Software Engineer/Engineering Team Lead
http://under.in.ua
Kyiv,
I was looking into a problem similar to this a few days ago. I
noticed in the Repeater.as framework code, that it ignores changes to
the dataProvider collection that are of type
CollectionEventKind.UPDATE. Thus, if you modify an item in the
underlying data provider, the repeater will not update.
Hi,
On Thu, May 28, 2009 at 1:45 PM, luvfotography
ygro...@all-digital-links.com wrote:
How do I get databinding to work in textinput?
I think you have the idea of databinding a little backwards. Basically, the
bound variable ('userName' in your example) is used to bring data *in*.
In
On Thu, May 28, 2009 at 11:15 PM, luvfotography
ygro...@all-digital-links.com wrote:
How do I get databinding to work in textinput?
In this example below, I have a TextInput defined with the text bound to
{userName}, when I run the app, and enter text into the TextInput field, I
would like
The display won't change unless you have a separate process watching the
data to see if it changes (ala ajax). Your display will change when the
application/class reads the data only. If you are concerned that the
data will be inconsistent during a file read, or in other words, read
while a file
It works if you switch the second text field so it looks like this:
mx:Text
id=tab2
text=({nbItems}) {labels.label.(@loc == locale)} /
So it seems as though somehow the compiler gets confused by the deeper XML
parsing, and bypasses the subsequent binding call. Maybe somebody else has a
better
One more thing on this, since it only sets the binding to nbItems if that is
done before the XML parsing, you could hack around the apparent bug in the
following ugly manner:
mx:Text
id=tab2
text={(nbItems 0 ? '' : '') + labels.label.(@loc == locale)} ({nbItems}) /
This sets the binding
[Bindable]
public class ORLocationVO extends EventDispatcher
{
//...
}
May do the trick.
-Josh
On Tue, Jun 10, 2008 at 11:04 AM, donvoltz [EMAIL PROTECTED] wrote:
Can someone help me to determine what I am doing wrong. I have a
custom component that contains a datagrid. I am trying to
If personalData is a class itself, its class definition should also declare
[Bindable], or emptstatus should be [Bindable] at least. Bindable is not
recursive, and does not propagate.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markflex2007
Sent: Friday, December
From: Tianzhen Lin [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, December 28, 2007 12:22:51 PM
Subject: RE: [flexcoders] data binding question for Cairngorm?
If personalData is a class itself, its class definition should also declare
[Bindable], or emptstatus should
PersonVO itself must be Bindable.
- Original Message -
From: Mark Shen [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, December 28, 2007 6:45 PM
Subject: Re: [flexcoders] data binding question for Cairngorm?
but I already have the following code in ModelLocator
Subject: Re: [flexcoders] data binding question for Cairngorm?
PersonVO itself must be Bindable.
- Original Message -
From: Mark Shen [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, December 28, 2007 6:45 PM
Subject: Re: [flexcoders] data binding question for Cairngorm?
but I
@yahoogroups.com
Subject: Re: [flexcoders] data binding question for Cairngorm?
yes.
I have the code
[Bindable]
public class PersonVO implements IValueObject
{
public var firstname:String;
..
}
But I still have the error.
Mark
- Original Message
From: Muzak [EMAIL PROTECTED
: [flexcoders] data binding question for Cairngorm?
yes.
I have the code
[Bindable]
public class PersonVO implements IValueObject
{
public var firstname:String;
...
}
But I still have the error.
Mark
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders
I think that since there is no argument to the function, binding does
not know when to execute.
Try:
text={getTotal(cost1.text,cost2.text)}
private function getTotal(cost1:String,cost2:string):Number{
return (number(cost1) + Number(cost2));
Tracy
you can't put a databinding expression in the middle of a script block. Try
this instead:
mx:LinkButton label={extLink} data={extLinkURL}
click=loadXternalURL(LinkButton(event.currentTarget).data as String)
id=LinkBtn2 /
HTH,
Sam
---
We're Hiring!
I would expect you to only get that warning if you're using binding with the
MXML property... if you're not using binding, then it shouldn't care (it'll
just initialize the value at the time of instantiation). Does your MXML look
like this:
mx:Label text={arrayObj[0]} /
I'm guessing you're
I have a list of Array Collections I need to bind to, but it will only
let me declare one [Bindable] tag. All subsequent declerations give me
a compile time error.
Show us the code.
Also, subject lines using words like 'ASAP' and 'NOW' and 'PLEASE!?!?!' don't
help. Everyone wants their
On Monday 02 Apr 2007, iko_knyphausen wrote:
mx:XMLListCollection id=xlcUsers filterFunction=filterUser
source={xmlSetup.lastResult.USER}/
What if you have the HTTPService result handler copy lastResult into some
other variable, and bind to that instead ?
--
Tom Chiverton
Helping to
Binding directly to lastResult is hard to debug. I advise using a
result handler function to set an instance variable, and bind to that.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of iko_knyphausen
Sent: Monday, April 02, 2007
] On
Behalf Of Valy Sivec
Sent: Tuesday, March 27, 2007 9:49 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Data binding will not be able to detect
changes... ?
Per my knowledge for Array and XMLList data binding won't detect data
changes. I suggest you use XMLListCollection and the warning
AM
Subject: Re: [flexcoders] Data binding will not be able to detect changes... ?
the whole model is bindable..
[Bindable]
public class MyModel implements ModelLocator {
...
...
public var DALocationsXML: XMLList;
...
On 3/27/07, Tom Chiverton tom.chiverton@ halliwells. com wrote:
On Tuesday 27
On Tuesday 27 Mar 2007, Greg Morphis wrote:
How can I knock this warning out?
[Bindable]
--
Tom Chiverton
Helping to advantageously restore cutting-edge platforms
on: http://thefalken.livejournal.com
This email is sent for and on behalf of
the whole model is bindable..
[Bindable]
public class MyModel implements ModelLocator {
...
...
public var DALocationsXML:XMLList;
...
On 3/27/07, Tom Chiverton [EMAIL PROTECTED] wrote:
On Tuesday 27 Mar 2007, Greg Morphis wrote:
How can I knock
It's because the .default node is not bindable (it's an anonymous element of
an xml object). Doesn't the warning mention something about not implementing
the IEventDispatchable (or other!) interface?
What is the best practice for this?
I know you could point a bindable property to that node
:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Data binding will not be able to detect
changes... ?
Nah, the full warning is
Data binding will not be able to detect changes to XMLList default,
need an XML instance.
I'll give that a shot though...
On 3/27/07, slangeberg
On Tuesday 20 Mar 2007, madhukiranm wrote:
[Bindable] tag before the declaration of the variable (in both MXML
and Custom Component). Everything works fine except when the variable
In the custom component, have you given it a default value, eg:
[Bindable]
public var
In fact Julien
You have to care about it, the basic steps to using kind solution you it a
must to not using like this.
For example here's a property way to that.
public class myModel extends Model
{
[bindable]
public var connected:Boolean;
}
You could
Thanks for the reply Igor,
I made the appropriate changes and the warning disappeared :)
On 2/23/07, Igor Costa [EMAIL PROTECTED] wrote:
In fact Julien
You have to care about it, the basic steps to using kind solution you it a
must to not using like this.
For example here's a property way
On Sunday 14 January 2007 20:57, jason_panko wrote:
Any suggestions?
Mark the data provider variable [Bindable].
--
Tom Chiverton
Helping to simultaneously monetize synergistic patterns
This email is sent for and on behalf of Halliwells
I've never ran the php example but it sounds like you're missing a
[Bindable] meta data tag on your dataProvider1 variable.
I also corssposted this to the weborb list.
You'll get the best support on weborb here:
http://tech.groups.yahoo.com/group/flashorb/
On 1/14/07, jason_panko [EMAIL
Are you relying on knowing when the 0th
element of image changes? If not you can ignore the warning. If you
do care you may need to write your own collectionChange event handler on the
XMLListCollection to update correctly.
From: flexcoders@yahoogroups.com
I think we made that change between beta3
and release so if things are working for you now I believe youre set. But
your preferred choice is preferred by us too I think J
Matt
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of nwebb
Sent: Tuesday,
Thanks Matt :]Much appreciated.On 9/20/06, Matt Chotin [EMAIL PROTECTED] wrote:
I think we made that change between beta3
and release so if things are working for you now I believe you're set. But
your preferred choice is preferred by us too I think
No, source is a compile-time flag. You'll want to look into HTTPService
for dynamically loading this stuff.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sam
Sent: Thursday, December 15, 2005 1:02 PM
To: flexcoders@yahoogroups.com
Hi Chris. It sounds like you mostly got this working; are you saying
you're getting stuck on selectedIndex part of it?
But in general ya... I would an mx:RemoteObject, with a method where
upon completion have a result=resultHandler(event.result) that assigns
the resulting data to a local
36 matches
Mail list logo