|
Hi,
Can you post the full error message and stacktrace to the
list so we can help you? But to you what u need, use data binding! A powerful
thing it is.
1) Create a variable on your
ModelLocator:
class ModelLocator {
public var someState:String =
"";
}
2) Then bind that variable to the state of the
view:
<bla:SomeView
currentState="{ModelLocator.someState}"/>
3) Once the command completes, then change the value of the
variable:
ModelLocator.someState =
'someViewState';
Hope that helps!
Dimitrios
Gianninas
RIA
Developer
Optimal
Payments Inc.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg @ Project SOC Sent: Sunday, September 17, 2006 12:15 PM To: [email protected] Subject: [flexcoders] limits to function during 'callback' events?
Hello, I've run into a problem that I hope
someone can help me with. When using WebServices, I'm needing
to change the VIEWSTATE of the application when an operation completes, so I
tried to attach "result='myCompletionFunctio When I try to run this, I'm getting
errors saying some elements could not be created because they're already
parented, and a host of other random errors. My GUESS is that the 'result' event
of an operation is performed at an interrupt-like level where I don't have the
same priviledges that I have during other areas of my application. That's
fine, but the problem is that I can't seem to find any documentation as to
what's restricted, and when, and how to get around it. Can anyone point me to the proper
documentation on why these events don't allow
ViewStates? Can anyone point me to (or suggest)
a solution? Best
regards, Steve Steve
Kellogg Peak8
Solutions 80302,
Fax:
303.415.2597 E-Mail:
[EMAIL PROTECTED]
-- 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 __,_._,___ |
- RE: [flexcoders] limits to function during 'ca... Dimitrios Gianninas
- RE: [flexcoders] limits to function durin... Steve Kellogg @ Project SOC
- RE: [flexcoders] limits to function durin... Steve Kellogg @ Project SOC
- RE: [flexcoders] limits to function d... Dimitrios Gianninas

