I am trying to dynamically create radio buttons within a
radiobuttongroup (which is dynamically being created). This appears
to work.
But, when I try to get the data out of the dynamically created
RadioButtonGroup, I get undefined. I can tell that the group exists
because I can see that
You need to pass the data as a variable to the popup.
In your app Script tag do this:
mx:Script
var dataPassed;
function showWindow(modal) {
var popup = mx.managers.PopUpManager.createPopUp(_root,
LogonWindow, modal, {deferred: true});
popup.dataPassed = //(whatever you want to pass);
}
in the ASDoc. You'll see the
methods you
should use. Tree.dataProvider should provide you with the root of
the tree.
Matt
_
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of jwaknitz
Sent: Wednesday, May 04, 2005 12:53 PM
To: flexcoders
Anyone know how I would be able to go through nodes of a tree using a
button? My tree has two levels and I would like to be able to go
through just the child nodes for each parent node. Can anyone show
me
some code to do this? I'm stumped.
I'm dynamically adding nodes to the tree.
Ya, I got something similar to this working. Just added a function
on the Change event of the ComboBox.
Just make sure in the function you set the send function to the http
service.
mx:ComboBox id=ComboBx change=changeCombo()/
function changeCombo(){
service.url = ComboBx.currentItem.data;
Tracy
-Original Message-
From: jwaknitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 1:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Radio Button Custom Component
I'm using a repeater to grab a component that makes a radiobutton
each time
I'm using a repeater to grab a component that makes a radiobutton
each time.
When the app is displayed, there are 7 radiobuttons. The problem
is, they are not in the same group. They are all individually
checkable. I went into the component and gave the radiobutton a
groupName=group1.
)
width={this.width-6}/
/mx:Repeater
/mx:VBox
Tracy
-Original Message-
From: jwaknitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 1:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Radio Button Custom Component
I'm using a repeater
Hello,
I was wondering if there is anyway to grab the name of a node to test
against it not using an XML object. I'm using data right from an HTTP
service and don't want it to be in XML format either. Any ideas? I
know it can be done quickly with XML but that would mean remaking my
entire
Hello, I am having problems with the ComboBox component. I want to
use the xml:
render_choice
response_label ident=A
material
mattextLess than $200/mattext
/material
/response_label
response_label ident=B
material
mattext$201-$400/mattext
/material
10 matches
Mail list logo