[Arp] Differences between the TrunkModelLocatorandChristophe'sARPX ModelLocator?

Keith Takayesu ktakayesu at bank-banque-canada.ca
Fri Mar 3 07:58:14 PST 2006


Aha! Now THIS is exactly where I was going. 

Our main data model will consist of an XML object. In our views, each
tab/screen may only show data from a node of that object. Each of these
screens may implement a custom V2 component comprised of MX components
that will display attributes or sub-nodes from that node.

One of these components will be displaying the results of an
availability check, which may take a while to run, so we want this
component to update as data comes in.

-----Original Message-----
From: Arp-bounces at ariaware.com [mailto:Arp-bounces at ariaware.com] On
Behalf Of nyls @ Home
Sent: March 3, 2006 10:48 AM
To: 'General List for Ariaware RIA Platform users and developers'
Subject: Re: [Arp] Differences between the
TrunkModelLocatorandChristophe'sARPX ModelLocator?



And you could even bind TextInput's/ TextArea' s to a XML node.. 

Why I am saying this .. I'm working on an app where there needs to be
some dynamic forms.  a form description can be

<item type='TextInput'>some text </item>
<item type='TextInput'>some more text </item>
<item type='TextArea'><span>some html</span></item>
<item type='Tree'><item label='test'><item label='test'/ ></item></item>

it would be so cool to bind every node to it's own component ..  and off
course when the component is edited / changed the model is also
automatically updated .. -> oejeeh ;> binding rules ... 

I am wondering if Christophe is also using the ML this way ?? 

nyls



-----Oorspronkelijk bericht-----
Van: Arp-bounces at ariaware.com [mailto:Arp-bounces at ariaware.com] Namens
Jed Wood
Verzonden: vrijdag 3 maart 2006 15:26
Aan: General List for Ariaware RIA Platform users and developers
Onderwerp: Re: [Arp] Differences between the Trunk
ModelLocatorandChristophe'sARPX ModelLocator?

Or it could be XML (Tree, Menu), or a RecordSet (List, ComboBox,  
DataGrid). If you're using V2 components, how else would you store  
your data? If it were just a string or a single object, you're likely  
not using it for one of those V2 components, no?

-Jed



On Mar 3, 2006, at 8:07 AM, Keith Takayesu wrote:

> Hmm, that's neat, but I guess that means that your model then has
> to be
> an array to be used as the dataProvider. That would be a pain, unless
> there is a way to build in a mapping from your model to a dataProvider
> array.
>
>
> -----Original Message-----
> From: Arp-bounces at ariaware.com [mailto:Arp-bounces at ariaware.com] On
> Behalf Of nyls @ Home
> Sent: March 3, 2006 3:22 AM
> To: 'General List for Ariaware RIA Platform users and developers'
> Subject: Re: [Arp] Differences between the Trunk ModelLocator
> andChristophe'sARPX ModelLocator?
>
>
> I think the great difference (extra) is that it supports binding a  
> model
> to a MM V2 components.
>
> Something like:
> modelLocator. getInstance().addBinding(MODEL.NAV, xmlTreeComponent,
> "dataProvide");
>
>
> nyls
>
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Arp-bounces at ariaware.com [mailto:Arp-bounces at ariaware.com] Namens
> Keith Takayesu
> Verzonden: donderdag 2 maart 2006 20:53
> Aan: General List for Ariaware RIA Platform users and developers
> Onderwerp: [Arp] Differences between the Trunk ModelLocator and
> Christophe'sARPX ModelLocator?
>
> I came across an older posting that had a link to Christophe's
> ModelLocator.
> http://ariaware.com/pipermail/arp_ariaware.com/2006-February/ 
> 001131.html
>
> This one is markedly different than the one in Trunk, but there was no
> example of it's usage.
>
> Can someone (maybe Christophe?) explain how to use this version of
> ModelLocator, and what are the differences.
>
> Blue Skies,
> Keith
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
>
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com
> http://ariaware.com/mailman/listinfo/arp_ariaware.com


_______________________________________________
Arp mailing list
Arp at ariaware.com
http://ariaware.com/mailman/listinfo/arp_ariaware.com



_______________________________________________
Arp mailing list
Arp at ariaware.com
http://ariaware.com/mailman/listinfo/arp_ariaware.com



More information about the Arp mailing list