Dimitrios,
Please disregard my
request for further information. Clearly, it WAS a RTFM issue.
[Bindable].
Thanks again for the
initial response. It seems to be working perfectly.
Steve
From:
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Dimitrios
Gianninas
Sent: Monday,
September 18, 2006 7:02 AM
To:
[EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] limits to
function during 'callback' events?
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]ups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Steve Kellogg @
Project SOC
Sent: Sunday,
September 17, 2006 12:15 PM
To:
[EMAIL PROTECTED]ups.com
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='myCompletionFunction'" to the
operation. In the function, I simply say "currentState='myNewState'",
and that's it.
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
1401 14th
Street
Boulder,
Colorado
80302,
USA
Fax:
303.415.2597
E-Mail:
[EMAIL PROTECTED]com
|
AVIS
IMPORTANT |
WARNING |
|
Ce message
électronique et ses pièces jointes peuvent contenir des renseignements
confidentiels, exclusifs ou légalement privilégiés destinés au seul usage
du destinataire visé. L'expéditeur original ne renonce à aucun privilège
ou à aucun autre droit si le présent message a été transmis
involontairement ou s'il est retransmis sans son autorisation. Si vous
n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
par erreur, veuillez cesser immédiatement de le lire et le supprimer,
ainsi que toutes ses pièces jointes, de votre système. La lecture, la
distribution, la copie ou tout autre usage du présent message ou de ses
pièces jointes par des personnes autres que le destinataire visé ne sont
pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
électronique par erreur, veuillez en aviser
l'expéditeur. |
This
electronic message and its attachments may contain confidential,
proprietary or legally privileged information, which is solely for the use
of the intended recipient. No privilege or other rights are waived by any
unintended transmission or unauthorized retransmission of this message. If
you are not the intended recipient of this message, or if you have
received it in error, you should immediately stop reading this message and
delete it and all attachments from your system. The reading, distribution,
copying or other use of this message or its attachments by unintended
recipients is unauthorized and may be unlawful. If you have received this
e-mail in error, please notify the
sender. |