Probably, you have not selected the first item before clicking on a button.
That's why new item has not been added. See this:
var parentXML : XML = XML(tree.selectedItem);
var newItemXML : XML = item label=My Leaf isBranch=true /;
tree.dataDescriptor.addChildAt(parentXML, newItemXML,
May be so. But I want to find relevant workaround. Unfortunately, I have no
possibility to switch the platform.
On Tue, Jul 1, 2008 at 4:08 PM, valdhor [EMAIL PROTECTED] wrote:
I don't use Flex 2.0.1 (I use Flex 3).
I ran your app in Flex 3 and it works fine - ie. no exception is thrown.
You're right :)
But still no exception, it works fine under HF1 and HF3.
-Josh
On Thu, Jul 3, 2008 at 2:51 AM, Sergey Kovalyov
[EMAIL PROTECTED] wrote:
May be so. But I want to find relevant workaround. Unfortunately, I have
no possibility to switch the platform.
On Tue, Jul 1, 2008 at
I don't use Flex 2.0.1 (I use Flex 3).
I ran your app in Flex 3 and it works fine - ie. no exception is thrown.
Could this be a bug in Flex 2.0.1?
--- In flexcoders@yahoogroups.com, Sergey Kovalyov
[EMAIL PROTECTED] wrote:
Hi All!
When I add a new item to the tree node and then open this
I'm not getting an exception, tried in 2.0.1HF1 and HF3. I'm not getting any
change on screen though.
On Tue, Jul 1, 2008 at 11:08 PM, valdhor [EMAIL PROTECTED] wrote:
I don't use Flex 2.0.1 (I use Flex 3).
I ran your app in Flex 3 and it works fine - ie. no exception is thrown.
Could this
I add an Alert.show, and delete the CALL function, like this:
var atClass:Object = new Object();
atClass.atcls = ComboBox(event.target).selectedItem.data;
Alert.show(atClass[atcls],ALERT);
//gateway.call(cys.getStudents, new Responder(onResult, onFault),
atClass); //line 51
It can show the data
Is the gateway property defined?
Other than that... from the code you have shown, I don't have a clue. ;-)
Mike
On Mon, Jun 9, 2008 at 9:39 AM, xaero [EMAIL PROTECTED] wrote:
I add an Alert.show, and delete the CALL function, like this:
var atClass:Object = new Object();
atClass.atcls =
Thank you Steve!
--- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote:
If (dataProvider[i].hasOwnProperty(someValue)
dataProvider[i].someValue != null)
{
}
HTH
Steve
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf
If (dataProvider[i].hasOwnProperty(someValue)
dataProvider[i].someValue != null)
{
}
HTH
Steve
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: 17 February 2007 00:48
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
if (dataprovider[i].someValue == null){
...
}
--- In flexcoders@yahoogroups.com, napearson99 [EMAIL PROTECTED] wrote:
I often get this error and I usually know why. Does anyone know how
to check for a null reference?
i.e.
if (dataprovider[i].someValue is null){
dothis();
}
Where
What if the property.someValue does not exist? How do I check if the
reference to dataprovider[i].someValue property is null?
my dataprovider is an arraycollection and holds different objects.
Some objects have .someValue property and some do not. When i try to
step through it it doesn't like
Does anyone know? This would help me immensely.
--- In flexcoders@yahoogroups.com, napearson99 [EMAIL PROTECTED] wrote:
What if the property.someValue does not exist? How do I check if the
reference to dataprovider[i].someValue property is null?
my dataprovider is an arraycollection and
Some objects have .someValue property and some do not.
It sounds like the objects in your dataProvider are instances of various
non-dynamic classes, where some of the classes declare a someValue
property and others don't.
Is this correct? If so, you don't ant to write code like
if
THANK YOU..
its always nice to have another pair of eyes when dealing with this
syntax!!!
My current dev. tool is nothing like this...
Roger
--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:
Is catalog misspelled?
categories = event.result.catelog.category;
14 matches
Mail list logo