Yeah, there are definitely some challenges in bringing a system like that to 
Pivot. For one, JavaFX and Flex support only a single scripting/expression 
language, whereas Pivot supports many. Realistically, I think we would need 
support from the classes in javax.script to do this.

However, there may still be something we can do. Let's give it some thought.

G

On Aug 23, 2010, at 2:27 PM, Noel Grandin wrote:

> Hmm, I'll try and dig out the references, but loosely speaking, the
> JavaFX binding system is based on the Adam property system developed
> by Adobe.
> 
> This is the only reference I could find.
> http://stlab.adobe.com/group__property__model.html
> There should be a whitepaper somewhere, but I can't seem to find it
> right now (probably because supper is waiting for me about 10m
> away....)
> 
> However, both JavaFX and Adam are DSLs, so they have more power at
> their disposal than a pure library approach.
> 
> 
> On Mon, Aug 23, 2010 at 20:15, Greg Brown <[email protected]> wrote:
>> That's a great question. As you have discovered, this isn't currently 
>> possible. For now, you'll need to manually wire up an event listener and set 
>> the "enabled" property yourself. We may be able to add support for this at 
>> some point in the future, but it will require some thought as to how best to 
>> approach it. Suggestions are welcome.
>> 
>> On Aug 23, 2010, at 10:44 AM, Duto wrote:
>> 
>>> 
>>> Hello,
>>> 
>>> I want to use the new dynamic data binding model of pivot 2.0 to enable a
>>> PushButton when there is a selected Item on TableView: What's the best issue
>>> to do that.
>>> The problem is that the enabled property of PushButton need true or false
>>> value and there is not boolean propertie on ListView to know if item is
>>> selected or not.
>>> 
>>> Duto
>>> 
>>> 
>>> --
>>> View this message in context: 
>>> http://apache-pivot-users.399431.n3.nabble.com/Question-of-new-dynamic-data-binding-model-of-pivot-2-0-tp1292820p1292820.html
>>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>> 
>> 

Reply via email to