I can't quite seem to recall on whether or not you can populate a
mx:TREE via a RemoteObject (which returns an ArrayOfStructs).
Its possible isn't it? ie i'm using cairngorm ModelLocator to bind the
view and remote together?
--
Regards,
Scott Barnes
http://www.mossyblog.com
Title: RE: [flexcoders] Flex Newbies Mail List
On the whole newbies list I don't think newbies should
feel dissuaded from posting to flexcoders; as the list matures, we establish
generations and tiers of people willing to invest their time helping those who
follow just a little behind
No love.
I ran this to try and reference all the links within the application
scope, but it returned just those properties of the application scope.
I am looking to reference the Links within all views/containers.:
All Views', all containers? Um, no, in that case, you'll need a global
registry, much like how ViewHelper's are registered by ID, etc.
However, I question why you need such sweeping changes? Why not toggle the
enabled/disabledness of each view when it needs to be?
- Original Message
Hi Everyone,
I have looked through old messages in this group and did not see
anything that addresses my question - or at least it was not clear
that it did.
Here is what I am trying to do.
Using the Cairngorm framework, I am making a remote call to my server
to retrieve something I wrote
Hi, Everyone
I want to be notified when user focus in the embed swf
file, and when focus out, this is my code:
object
classid=''
codebase=''
width='100%' height='100%'
id='Framset'
color=red>top.flash.tpBlr()
color=red>top.flash.tpFcs()
param name='src'
Hi,
Maybe try something like this:
mx:Tree nodeOpen=getNodes(event.node) /
you might want to store a reference to this node rather than using
contentMgmtTree.selectedItem.
So you script block might look like this:
public function getNodes( treeNode )
{
treeSelectedNode = treeNode;
Can anyone suggest how I might implement a 'logout' facility by
completely invalidating a users session within Flex?
From what I can deduce, Flex initially passes the JSESSIONID through
the flashproxy as a cookie, using it to construct the appropriate
headers for the subsequent http call. With a
Thank you for the response, but that produced the same results.
Other thoughts?
I assume that since my TreeNodeVO has a label attribute, that is all
that is really required? Is it having trouble understanding this VO?
Thanks again
Pat
--- In flexcoders@yahoogroups.com, Andrew Spaulding
I have a requirement for a custom data grid:
1. 1st column will be a link value. you click on it and it takes you
to a different view in a viewStack.
2. columns 2 through n-1 will be regular Strings
3. column n will be a checkbox.
What's the best approach for building such a custom data grid
Tracy,
I am still not able to get the results.
following is my HttpService and below that is the XML code and
function reading results from the service
..
mx:HTTPService id=posterinfo_srv url=http://x/.php;
fault=faultHandler(event.fault.faultstring, event.fault.faultcode)
I think the label property need to be at the top level of the treeNode.
So your example:
var tempNode:TreeNode = treeSelectedNode.addTreeNode(
treeNode.label,
treeNode );
Should work.
Remember when accessing the treeNode, use the
Because data calls are asynchronous, you can't use the result in the same
function that you call it, you must do it in a result handler.
Put this line in the result handler function:
var posterdata = posterinfo_srv.result.posters.poster;
Tracy
-Original Message-
From:
Yes you can bind the dataprovider of the mx:Tree
to the RemoteObject result. I am using Cairngorm too and returning array of VO.
Thanks,
Shahnavaz
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes
Sent: Sunday, August 14, 2005
I was wondering if Flex has the equivalent of the Struts
logic:iterate tag and the JSTL c:if tag to perform
conditional rendering?
I have alist of polymorphic objects that I need to both display and
allow updates to by the user. Each object (based on its type) may
have 1, 2, or 3 input fields. I
Hi,
The method swapDepths accepts a UIObject as a parameter and not a number.
Regards
Rajesh J
--- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED]
wrote:
You might try to manualy adjust your menu's depth to be the max depth :
menu.swapDepths(Number.MAX_VALUE)
I hope it
I thought it would work to sweep through the Stage and all containers.
I could sweep through the registered view, but I have nested views
where the links are visible.
It's not the views that need to be disabled, it's the link within the view.
On 8/15/05, JesterXL [EMAIL PROTECTED] wrote:
All
Yes. The Repeater tag offers this sort of functionality. Building each
element to render the correct number of input fields would be
encapsulated in the object itself, depending on its type.
Jeff
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
Hi Manish,
Thanx, that helped a lot.
Rajesh J
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
On 8/13/05, Rajesh Jayabalan [EMAIL PROTECTED] wrote:
I created my menu adjustMenuDepths from your blog thanks :-), but it
does have a problem in that
after the
There are a plethora of ways to enable/disable controls. Most controls and
forms repond to:
myObject.enabled = false;
And visually update to that effect, as well as no longer accepting input,
mouse or keyboard.
Links respond the same thing:
myLink.enabled = false;
However, I can't remember
Dynamic forms can be done. There's some articles out there that may help:
http://www.waldosmeets.com/index.cfm?entryID=546
http://www.macromedia.com/devnet/flex/articles/flexprimer_03.html
And the iteration::two book also talks about it.
http://www.iterationtwo.com/flexbook/index.html
Title: Dinamically adding itens to a grid
Hi all !
I'm new at the list and a new flex coder.
I'm trying to add GridRows to a Grid using the following code:
function addFilterCondition(){
var fieldName = new ComboBox();
var operation = new TextInput();
var condition
Title: Dinamically adding itens to a grid
Hello Michael,
You should use the DataProvider API to
get the databinding to fire.
HTH,
Allen
www.prismix.com/
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel Bertrand
Sent: 15 August 2005 19:25
sounds like a job for 2 custom cell renderers. Take a look at the
CheckCellRenderer example (i think its in the docs) for syntax
At 12:47 PM 8/15/2005, cruegger2000 wrote:
I have a requirement for a custom data grid:
1. 1st column will be a link value. you click on it and it takes you
to a
Title: Mensagem
Hi
Allen !
Thanks for your answer !
I
tried to use aDataGrid and it's property of type DataProvider but I didn't
have success. I got
a
message saying that this kind of container cannot display visual components.
I
will try do build my component in another way.
Hi
Malcolm,
Thanks
for your advice. Jeff's solutions worked well if you want to take a
look. I'm going to try to post my completed solution on some site.
Darius
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of MalcolmSent:
Hi,
My application uses multiple titlewindows, and I am storing the
reference of them in a arraylist, and creating a dynamic menu. Now in
the script how do I set the depth of the window so that the window can
be on the top. I cannot use setdepthabove since I do not know which
window is on the
Great, will definitely take a look, agreed,
we certainly need some sort of referenceThe dark art of Flex CFCs.
Malcolm
From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, 16 August 2005 6:13
AM
To:
Rajesh,
Because each title window has a parent you can simply get the top child with
the getChildAt() method and then set your target above that.
function popToTop( target : mx.core.UIObject )
{
var parent = target.parent;
var topSibling = parent.getChildAt( parent.numChildren -
Hi Rob,
That does not work.. in cases its hiding the window, and in some
cases it is not doing anything.
I am comparing the depth of all the windows that I have in the array
and then setting the window depth above the most highest one. and that
seems to work.
Regards
Rajesh J
--- In
If any of you have had any experience using an embedded database like
HyperSonic HSQLDB then you know how wonderful it is to have the power
of a SQL database that resides on the client. Less than 200K, it
performs complex SQL against text files allowing filtering, sorting,
joining and most
Hi,
Well did u read the source code of TitleWindow?
This is my swap up function:
private function swapObjUp( obj:mx.core.UIObject ){
var depth = ( obj[ modalWindow ] == undefined
)?DepthManager.kTop : DepthManager.kTopmost;
var o =
I forwarded your request to the Central Dev group for Ethan Malasky to
hopefully pick up. Since Central is hopefully the future of Flash, and
ultimately Flex on the desktop, things like this are perfect.
It just so happens SQL on the client was requested by multiple people
already there, so
Absolumont!
Tracy Spratt wrote:
Message
Im sure
Tarik will be happy to post
it on CFLEX.net.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, August
15, 2005 4:09
PM
To:
34 matches
Mail list logo