Alas their appears to be no way to do what I actually asked. I had to
work around it by keeping a PATH tracker as I create the structure tree
and pass this on the nodes when cliked.

Oh well, it works.


-----Original Message-----
From: Steve Martin [mailto:[EMAIL PROTECTED] 
Sent: 17 November 2003 17:35
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Displaying a structure.


Well done.

> -----Original Message-----
> From: Snake Hollywood [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2003 16:51
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Displaying a structure.
> 
> 
> Agh got it sorted.
> It's quite handy to have a GUI tool to build and populate
> structures and
> then dump it out to an XML file :-)
> 
> 
> -----Original Message-----
> From: Snake Hollywood [mailto:[EMAIL PROTECTED]
> Sent: 17 November 2003 15:35
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Displaying a structure.
> 
> 
> I have a structure I am passing to a function.
> 
> Attributes.struct
> 
> The function recursively calls itself to loop over a nested structure 
> and display a nice tree allowing me to edit strcutures and keys/values

> on the fly with my GUI, which I then export to an XML file.
> 
> My problem is that I need to output the current value of 
> attributes.struct so I can get the current position within the 
> structure of the selected key so I can update it. Using 
> StructFindKey() wont do because I may have the same KEY in multiple 
> structures and wont know which one to update, thus why I nee dthe 
> reference.
> 
> So for example, the current value of attributes.struct may be 
> "session.config.database" And I will be looping over the keys of this 
> struct, so my current output may be
> 
> Attributes.struct[key]
> Which evaluates to
> session.config.database[DSN]
> 
> 
> What I need to be able to pass around is the actual non explicit value

> of attributes.struct, so I need the actual string 
> "session.config.database".
> 
> Unforunately u cannot just output #attributes.struct# as this is not 
> valid, you need to implicitly specify a KEY as well.
> 
> Anyone got any ideas?
> 
> 
> Russ
> 
> 
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] For 
> human help, e-mail: [EMAIL PROTECTED]
> 
> 
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] For 
> human help, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to