The purpose of the ViewLocator/ViewHelper was to allow
Commands to update one or many views based on successful execution of the
command. But with Data Binding being as powerful as it is (almost as powerful as
The Force itelf) it was determined that this was the best solution as it also
offered better de-coupling.
In the example you mentioned below, I dont see were
your need a ViewLocator/ViewHelper. You are simply doing component manipulation,
so the only thing you need is a smart component to handle all this. Unless the
reason you are asking for this is because you plan to put the pin/un-pin code in
a command. I would just put it straight into my smart
component.
<mx:Canvas>
<mx:Script>
public function pin(
comp:UIComponent ):void {
...
}
public function unpin(
comp:UIComponent ):void {
...
}
</mx:Script>
<mx:TileList>
</mx:TileList>
</mx:Canvas>
Hope that helps in some way, unless I am not fuilly
understanding what you mean.
Dimitrios
Gianninas
RIA
Developer
Optimal
Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian Holmes Sent: Friday, November 03, 2006 12:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?
Yes and no. We have hundreds of screens that we're putting
in pop ups for the most part that the user can get to by using an
application control bar navigation system. I want to give the user the ability
to pin screens to thier "desktop" when they choose to so they can customize
thier desktop with the applications they use most frequently. I have an array of
the of screen names that I bind to the TileList. When a user pins a screen to
thier desktop I wanted to just push it on the array and render the panel in the
array. Or vice versa when a user "un-pins" a screen. They're not very large
panels, mainly just small charts or other snippets of information. The actual
panel being rendered would be a small or mini view of the application they were
using, just enough to let them always know what's going on with that screen and
allowing buttons or links back into the screen or application. Does that make
more sense?
Right now I'd settle on just being able to
dynamically render panels.
Thanks alot Dimitrios, I really appreciate you trying to
help me out.
Brian. From: [EMAIL PROTECTED] Sent: Friday, November 03, 2006 8:17 AM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Cairngorm ViewHelper\ViewLoca So the user sees like 4 panels in a tilelist and you want
to make 3 disappear and only the selected one grow to full size? is that
it?
Dimitrios
Gianninas
RIA
Developer
Optimal
Payments Inc.
From: [EMAIL PROTECTED] Sent: Thursday, November 02, 2006 12:16 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Cairngorm ViewHelper\ViewLoca
Hi Dimitrios,
Thanks for the reply. I have a list of configurable
panels that I'm displaying in a TileList. The user needs to be able to choose
which ones he/she would like to see. Based off this gesture I need a way to look
up the appropriate panel and render it on thier screen. That's really what
I'm trying to do.
Thanks,
Brian..
From: [EMAIL PROTECTED] Sent: Thursday, November 02, 2006 7:49 AM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Cairngorm ViewHelper\ViewLoca We dont really advocate the use of the
ViewHelper/ViewLoca
Dimitrios
Gianninas
RIA
Developer
Optimal
Payments Inc.
From: [EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 12:23 PM To: [EMAIL PROTECTED] Subject: [flexcoders] Cairngorm ViewHelper\ViewLoca
Can someone point me
to an implementation of a cairngorm view helper \ view locator
example?
Thanks,
brian..
*** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. ***
*** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. ***
*** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. *** -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |