[ACFUG Discuss] cftree

2006-12-04 Thread Jeff Howard

Hey all,

I've not used this control before but I was wanting to use it for a document
control application I am developing.

I am having an issue with however that I'm hoping someone can help with.  My
tree is either expanded or collapsed but I can't seem to get it to work like
a true tree control where when you click on a folder it expands or
collapses.  Is this an issue with CFTree or am I just overlooking
something.  I tried experimenting with the 'expand' parameter but it has no
effect on the function of the tree.  It either makes the tree expanded and
unable to collapse on 'yes' or collapsed and unable to expand when set to
'no'.

Any insight would be greatly appreciated.

Thanks in advance.

Jeff Howard



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] cftree

2006-12-04 Thread Teddy Payne

Here is a flash form way of how AS Fusion handled documents:

http://www.asfusion.com/projects/fileexplorer/

I use it to manage my file directory easier than Wndows Explorer for my web
related tasks.

Teddy


On 12/4/06, Jeff Howard [EMAIL PROTECTED] wrote:


Hey all,

I've not used this control before but I was wanting to use it for a
document control application I am developing.

I am having an issue with however that I'm hoping someone can help with.
My tree is either expanded or collapsed but I can't seem to get it to work
like a true tree control where when you click on a folder it expands or
collapses.  Is this an issue with CFTree or am I just overlooking
something.  I tried experimenting with the 'expand' parameter but it has no
effect on the function of the tree.  It either makes the tree expanded and
unable to collapse on 'yes' or collapsed and unable to expand when set to
'no'.

Any insight would be greatly appreciated.

Thanks in advance.

Jeff Howard

-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com/
-





--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] cftree

2006-12-04 Thread Charlie Arehart
Jeff, a couple places to start to help would be to ask what version of CF
you are using, and if CFMX or above, whether you are using the
format=Flash or the older (default) java applet-based approach.
 
Better still, though, have you tried the samples that are provided with CF
in the Getting Started Experience? Assuming you installed those and/or the
docs, there are examples of both types, and more trees (XML and object) at:
 
serverCFIDE/gettingstarted/experience/snippets/Tags/cftree/
 
They work fine for me and do demonstrate the expansion of folders that
you're asking about.  If you don't have them installed, let me know and I'll
email you the 2 example files (they stand alone) off-list.
 
/Charlie
http://www.carehart.org/blog/  

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard
Sent: Monday, December 04, 2006 10:32 AM
To: discussion@acfug.org
Subject: [ACFUG Discuss] cftree


Hey all,
 
I've not used this control before but I was wanting to use it for a document
control application I am developing. 
 
snip 



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-

attachment: image002.jpg


Re: [ACFUG Discuss] cftree

2006-12-04 Thread Jeff Howard

Thanks.  I'll take a look at this and see if it suits my needs.  The
documents aren't actual files but stored in a DB and displayed in a browser
page.  That's why I was trying to use the cftree control and a query to
mimic a real file system.

I did however figure out what my problem with the cftree tag was.
Apparently if you use cftree in flash format the folders don't expand or
collapse.  I'm looking into whether or not doing it in xml format will suit
my needs.

I did notice that the cftagstore has a couple of different tree controls
there.  Has anyone had any experience with any custom tag tree controls?
Any recommendations if so?

Thanks again,
Jeff Howard


On 12/4/06, Teddy Payne [EMAIL PROTECTED] wrote:


Here is a flash form way of how AS Fusion handled documents:

http://www.asfusion.com/projects/fileexplorer/

I use it to manage my file directory easier than Wndows Explorer for my
web related tasks.

Teddy


 On 12/4/06, Jeff Howard [EMAIL PROTECTED] wrote:

  Hey all,

 I've not used this control before but I was wanting to use it for a
 document control application I am developing.

 I am having an issue with however that I'm hoping someone can help
 with.  My tree is either expanded or collapsed but I can't seem to get it to
 work like a true tree control where when you click on a folder it expands or
 collapses.  Is this an issue with CFTree or am I just overlooking
 something.  I tried experimenting with the 'expand' parameter but it has no
 effect on the function of the tree.  It either makes the tree expanded and
 unable to collapse on 'yes' or collapsed and unable to expand when set to
 'no'.

 Any insight would be greatly appreciated.

 Thanks in advance.

 Jeff Howard

 -
 To unsubscribe from this list, manage your profile @
 
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com/
 -




--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org
-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com/
-




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] cftree

2006-12-04 Thread Teddy Payne

Jeff,
As for the CFTree not expanding or expanding, the example that I sent you
does both and allows for CFTree to populated dynamically in a flash form
from a database.

So in short, CFTree does have the technology.

Teddy


On 12/4/06, Charlie Arehart [EMAIL PROTECTED] wrote:


 Jeff, a couple places to start to help would be to ask what version of CF
you are using, and if CFMX or above, whether you are using the
format=Flash or the older (default) java applet-based approach.

Better still, though, have you tried the samples that are provided with CF
in the Getting Started Experience? Assuming you installed those and/or the
docs, there are examples of both types, and more trees (XML and object) at:

serverCFIDE/gettingstarted/experience/snippets/Tags/cftree/

They work fine for me and do demonstrate the expansion of folders that
you're asking about.  If you don't have them installed, let me know and
I'll email you the 2 example files (they stand alone) off-list.

/Charlie
http://www.carehart.org/blog/

 --
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Jeff
Howard
*Sent:* Monday, December 04, 2006 10:32 AM
*To:* discussion@acfug.org
*Subject:* [ACFUG Discuss] cftree


 Hey all,

I've not used this control before but I was wanting to use it for a
document control application I am developing.

snip

-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com/
-





--
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-

attachment: image002.jpg


Re: [ACFUG Discuss] cftree

2006-12-04 Thread Jeff Howard

Thanks Charlie.  I'm using CFMX 7.  I was using Ben Forta's book and Adobe's
online documentation to try and understand the control and neither mentions
any issue with using flash format.  I experimented with using different
formats and found that it works fine in html and xml format.  I appreciate
the help though.

Thanks again.  I truly value the insight everyone here provides.

Jeff Howard


On 12/4/06, Charlie Arehart [EMAIL PROTECTED] wrote:


 Jeff, a couple places to start to help would be to ask what version of CF
you are using, and if CFMX or above, whether you are using the
format=Flash or the older (default) java applet-based approach.

Better still, though, have you tried the samples that are provided with CF
in the Getting Started Experience? Assuming you installed those and/or the
docs, there are examples of both types, and more trees (XML and object) at:

serverCFIDE/gettingstarted/experience/snippets/Tags/cftree/

They work fine for me and do demonstrate the expansion of folders that
you're asking about.  If you don't have them installed, let me know and
I'll email you the 2 example files (they stand alone) off-list.

/Charlie
http://www.carehart.org/blog/

 --
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Jeff
Howard
*Sent:* Monday, December 04, 2006 10:32 AM
*To:* discussion@acfug.org
*Subject:* [ACFUG Discuss] cftree


 Hey all,

I've not used this control before but I was wanting to use it for a
document control application I am developing.

snip

-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com/
-





-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-

attachment: image002.jpg


RE: [ACFUG Discuss] cftree

2006-12-04 Thread Charlie Arehart
I realize you're responding to Teddy's note and not mine, but when you say
Apparently if you use cftree in flash format the folders don't expand or
collapse, I have to interject in disagreement. The example I showed did use
a Flash tree and did have expanding folders.
 
In fact, on closer inspection, I see that it does something not obvious from
the docs. It shows the Expand attribute (in CFTreeItem) being something that
takes a yes/no value FOR EACH LEVEL of the tree.
 
I've provided below a cut-down version of that example for you or anyone to
try. Again, it's stand-alone (relies on no other files nor databases, as it
build an in-page query):
 
!--- Build query of random data. ---
cfscript
 recordSize = 10;
 depts = listToArray(Accounting,Finance);
 deptsLen = arrayLen(depts);
 managers = listToArray(Jim,Sue);
 managersLen = arrayLen(managers);
 Users = Rodd,MAX,Dexter,vicente,August,DeWayne,Ban-Kheong,young,Aries;
 usersLen = listLen(users);
 
 st = structnew();
 for(i=1; i lte managerslen; i=i+1)
 {
  st[managers[i]] = structNew();
  st[managers[i]].manager = managers[i];
  st[managers[i]].dept = depts[randrange(1,deptslen)];
 }
 
 qdata = queryNew(dept,manager,name,nameid);
 for(i=1; i lt recordSize; i=i+1)
 {
  queryAddRow(qData);
  querySetCell(qdata, name, ListGetAt(users, randrange(1,usersLen) ));
  querySetCell(qdata, nameid, i);
  m = st[managers[randRange(1,managersLen)]];
   querySetCell(qdata, manager, m.manager );
   querySetCell(qdata, dept, m.dept);
 }
/cfscript
 
cfquery name=users dbtype=query
 select dept,manager,name
 from qdata
 order by dept,manager,name
/cfquery
 
cfform name=form1 format=flash width=500 height=400
  cftree
   format=flash
   Name=tree1
 
   cftreeitem value=dept,manager,name
display=dept,manager,name
query=users queryasroot=no
img=COMPUTER,FOLDER,CD expand=Yes,no,no
  /cftree
/cfform

 
 
/Charlie
http://www.carehart.org/blog/  

 


  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard
Sent: Monday, December 04, 2006 11:07 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] cftree


Thanks.  I'll take a look at this and see if it suits my needs.  The
documents aren't actual files but stored in a DB and displayed in a browser
page.  That's why I was trying to use the cftree control and a query to
mimic a real file system. 
 
I did however figure out what my problem with the cftree tag was.
Apparently if you use cftree in flash format the folders don't expand or
collapse.  I'm looking into whether or not doing it in xml format will suit
my needs. 
 
I did notice that the cftagstore has a couple of different tree controls
there.  Has anyone had any experience with any custom tag tree controls?
Any recommendations if so?
 
Thanks again,
Jeff Howard

 
On 12/4/06, Teddy Payne [EMAIL PROTECTED] wrote: 

Here is a flash form way of how AS Fusion handled documents:
 
http://www.asfusion.com/projects/fileexplorer/
 
I use it to manage my file directory easier than Wndows Explorer for my web
related tasks.
 
Teddy

 
On 12/4/06, Jeff Howard  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote: 


Hey all,
 
I've not used this control before but I was wanting to use it for a document
control application I am developing.
 
I am having an issue with however that I'm hoping someone can help with.  My
tree is either expanded or collapsed but I can't seem to get it to work like
a true tree control where when you click on a folder it expands or
collapses.  Is this an issue with CFTree or am I just overlooking something.
I tried experimenting with the 'expand' parameter but it has no effect on
the function of the tree.  It either makes the tree expanded and unable to
collapse on 'yes' or collapsed and unable to expand when set to 'no'. 
 
Any insight would be greatly appreciated.
 
Thanks in advance.
 
Jeff Howard

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com/  
- 




-- 
cf_payne /
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org  http://www.acfug.org/ 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
http://www.acfug.org/?fa=login.edituserform  

For more info, see http://www.acfug.org/mailinglists
http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com/  
- 




RE: [ACFUG Discuss] cftree

2006-12-04 Thread Charlie Arehart
Since I can't tell if you're going to respond to my later note, do you
realize there is no issue with using Flash format? It does support folders
and their expand/collapse. If you're saying that you're happy with the other
formats, that's cool. Just want to make sure no one concludes that the Flash
forms don't support what you want.
 
/Charlie
http://www.carehart.org/blog/  

 


  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard
Sent: Monday, December 04, 2006 11:30 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] cftree


Thanks Charlie.  I'm using CFMX 7.  I was using Ben Forta's book and Adobe's
online documentation to try and understand the control and neither mentions
any issue with using flash format.  I experimented with using different
formats and found that it works fine in html and xml format.  I appreciate
the help though. 
 
Thanks again.  I truly value the insight everyone here provides.
 
Jeff Howard

 
On 12/4/06, Charlie Arehart [EMAIL PROTECTED] wrote: 

Jeff, a couple places to start to help would be to ask what version of CF
you are using, and if CFMX or above, whether you are using the
format=Flash or the older (default) java applet-based approach.  snip 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-

attachment: image002.jpg


Re: [ACFUG Discuss] cftree

2006-12-04 Thread Jeff Howard

Ok Charlie, this is where you can just go ahead and call me an idiot.  I
just got back from a late lunch and read this and I tried your example.  It
worked fine.  My problem was user error and the sad thing is I was the
user.  Apparently in Flash format you must click the arrow next to the
folder icon and not the folder icon.

Feel free to start the bashing as I'm ashamed of myself right now.
embarrassment=on

Thanks again for the help and sorry to bother you.

Jeff


On 12/4/06, Charlie Arehart [EMAIL PROTECTED] wrote:


 I realize you're responding to Teddy's note and not mine, but when you
say Apparently if you use cftree in flash format the folders don't expand
or collapse, I have to interject in disagreement. The example I showed did
use a Flash tree and did have expanding folders.

In fact, on closer inspection, I see that it does something not obvious
from the docs. It shows the Expand attribute (in CFTreeItem) being something
that takes a yes/no value FOR EACH LEVEL of the tree.

I've provided below a cut-down version of that example for you or anyone
to try. Again, it's stand-alone (relies on no other files nor databases, as
it build an in-page query):

!--- Build query of random data. ---
cfscript
 recordSize = 10;
 depts = listToArray(Accounting,Finance);
 deptsLen = arrayLen(depts);
 managers = listToArray(Jim,Sue);
 managersLen = arrayLen(managers);
 Users = Rodd,MAX,Dexter,vicente,August,DeWayne,Ban-Kheong,young,Aries;
 usersLen = listLen(users);

 st = structnew();
 for(i=1; i lte managerslen; i=i+1)
 {
  st[managers[i]] = structNew();
  st[managers[i]].manager = managers[i];
  st[managers[i]].dept = depts[randrange(1,deptslen)];
 }

 qdata = queryNew(dept,manager,name,nameid);
 for(i=1; i lt recordSize; i=i+1)
 {
  queryAddRow(qData);
  querySetCell(qdata, name, ListGetAt(users, randrange(1,usersLen) ));
  querySetCell(qdata, nameid, i);
  m = st[managers[randRange(1,managersLen)]];
   querySetCell(qdata, manager, m.manager );
   querySetCell(qdata, dept, m.dept);
 }
/cfscript

cfquery name=users dbtype=query
 select dept,manager,name
 from qdata
 order by dept,manager,name
/cfquery

cfform name=form1 format=flash width=500 height=400
  cftree
   format=flash
   Name=tree1

   cftreeitem value=dept,manager,name
display=dept,manager,name
query=users queryasroot=no
img=COMPUTER,FOLDER,CD expand=Yes,no,no
  /cftree
/cfform


/Charlie
http://www.carehart.org/blog/



 --
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Jeff
Howard
*Sent:* Monday, December 04, 2006 11:07 AM
*To:* discussion@acfug.org
*Subject:* Re: [ACFUG Discuss] cftree


 Thanks.  I'll take a look at this and see if it suits my needs.  The
documents aren't actual files but stored in a DB and displayed in a browser
page.  That's why I was trying to use the cftree control and a query to
mimic a real file system.

I did however figure out what my problem with the cftree tag was.
Apparently if you use cftree in flash format the folders don't expand or
collapse.  I'm looking into whether or not doing it in xml format will suit
my needs.

I did notice that the cftagstore has a couple of different tree controls
there.  Has anyone had any experience with any custom tag tree controls?
Any recommendations if so?

Thanks again,
Jeff Howard


On 12/4/06, Teddy Payne [EMAIL PROTECTED] wrote:

 Here is a flash form way of how AS Fusion handled documents:

 http://www.asfusion.com/projects/fileexplorer/

 I use it to manage my file directory easier than Wndows Explorer for my
 web related tasks.

 Teddy


  On 12/4/06, Jeff Howard  [EMAIL PROTECTED] wrote:

   Hey all,
 
  I've not used this control before but I was wanting to use it for a
  document control application I am developing.
 
  I am having an issue with however that I'm hoping someone can help
  with.  My tree is either expanded or collapsed but I can't seem to get it to
  work like a true tree control where when you click on a folder it expands or
  collapses.  Is this an issue with CFTree or am I just overlooking
  something.  I tried experimenting with the 'expand' parameter but it has no
  effect on the function of the tree.  It either makes the tree expanded and
  unable to collapse on 'yes' or collapsed and unable to expand when set to
  'no'.
 
  Any insight would be greatly appreciated.
 
  Thanks in advance.
 
  Jeff Howard
 
  -
  To unsubscribe from this list, manage your profile @
  
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink http://www.fusionlink.com/
  -




 --
 cf_payne /
 Adobe Certified ColdFusion MX 7 Developer
 Atlanta CFUG (ACFUG): http://www.acfug.org
 

Re: [ACFUG Discuss] cftree

2006-12-04 Thread Precia

That sounds more like a UI error.  Wonder why our Flash developers didn't
think like that.  Makes since to click on the folder and see it open up.

Precia


On 12/4/06, Jeff Howard [EMAIL PROTECTED] wrote:


Ok Charlie, this is where you can just go ahead and call me an idiot.  I
just got back from a late lunch and read this and I tried your example.  It
worked fine.  My problem was user error and the sad thing is I was the
user.  Apparently in Flash format you must click the arrow next to the
folder icon and not the folder icon.

Feel free to start the bashing as I'm ashamed of myself right now.
embarrassment=on

Thanks again for the help and sorry to bother you.

Jeff


On 12/4/06, Charlie Arehart [EMAIL PROTECTED] wrote:

  I realize you're responding to Teddy's note and not mine, but when you
 say Apparently if you use cftree in flash format the folders don't expand
 or collapse, I have to interject in disagreement. The example I showed did
 use a Flash tree and did have expanding folders.

 In fact, on closer inspection, I see that it does something not obvious
 from the docs. It shows the Expand attribute (in CFTreeItem) being something
 that takes a yes/no value FOR EACH LEVEL of the tree.

 I've provided below a cut-down version of that example for you or anyone
 to try. Again, it's stand-alone (relies on no other files nor databases, as
 it build an in-page query):

 !--- Build query of random data. ---
 cfscript
  recordSize = 10;
  depts = listToArray(Accounting,Finance);
  deptsLen = arrayLen(depts);
  managers = listToArray(Jim,Sue);
  managersLen = arrayLen(managers);
  Users =
 Rodd,MAX,Dexter,vicente,August,DeWayne,Ban-Kheong,young,Aries;
  usersLen = listLen(users);

  st = structnew();
  for(i=1; i lte managerslen; i=i+1)
  {
   st[managers[i]] = structNew();
   st[managers[i]].manager = managers[i];
   st[managers[i]].dept = depts[randrange(1,deptslen)];
  }

  qdata = queryNew(dept,manager,name,nameid);
  for(i=1; i lt recordSize; i=i+1)
  {
   queryAddRow(qData);
   querySetCell(qdata, name, ListGetAt(users, randrange(1,usersLen) ));

   querySetCell(qdata, nameid, i);
   m = st[managers[randRange(1,managersLen)]];
querySetCell(qdata, manager, m.manager );
querySetCell(qdata, dept, m.dept);
  }
 /cfscript

 cfquery name=users dbtype=query
  select dept,manager,name
  from qdata
  order by dept,manager,name
 /cfquery

 cfform name=form1 format=flash width=500 height=400
   cftree
format=flash
Name=tree1

cftreeitem value=dept,manager,name
 display=dept,manager,name
 query=users queryasroot=no
 img=COMPUTER,FOLDER,CD expand=Yes,no,no
   /cftree
 /cfform


 /Charlie
 http://www.carehart.org/blog/



  --
 *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Jeff
 Howard
 *Sent:* Monday, December 04, 2006 11:07 AM
 *To:* discussion@acfug.org
 *Subject:* Re: [ACFUG Discuss] cftree


  Thanks.  I'll take a look at this and see if it suits my needs.  The
 documents aren't actual files but stored in a DB and displayed in a browser
 page.  That's why I was trying to use the cftree control and a query to
 mimic a real file system.

 I did however figure out what my problem with the cftree tag was.
 Apparently if you use cftree in flash format the folders don't expand or
 collapse.  I'm looking into whether or not doing it in xml format will suit
 my needs.

 I did notice that the cftagstore has a couple of different tree controls
 there.  Has anyone had any experience with any custom tag tree controls?
 Any recommendations if so?

 Thanks again,
 Jeff Howard


 On 12/4/06, Teddy Payne [EMAIL PROTECTED]  wrote:
 
  Here is a flash form way of how AS Fusion handled documents:
 
  http://www.asfusion.com/projects/fileexplorer/
 
  I use it to manage my file directory easier than Wndows Explorer for
  my web related tasks.
 
  Teddy
 
 
   On 12/4/06, Jeff Howard  [EMAIL PROTECTED]  wrote:
 
Hey all,
  
   I've not used this control before but I was wanting to use it for a
   document control application I am developing.
  
   I am having an issue with however that I'm hoping someone can help
   with.  My tree is either expanded or collapsed but I can't seem to get it 
to
   work like a true tree control where when you click on a folder it expands 
or
   collapses.  Is this an issue with CFTree or am I just overlooking
   something.  I tried experimenting with the 'expand' parameter but it has 
no
   effect on the function of the tree.  It either makes the tree expanded and
   unable to collapse on 'yes' or collapsed and unable to expand when set to
   'no'.
  
   Any insight would be greatly appreciated.
  
   Thanks in advance.
  
   Jeff Howard
  
   -
   To unsubscribe from this list, manage your profile @
   
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform
  
   For more info, see http://www.acfug.org/mailinglists
   

RE: [ACFUG Discuss] cftree

2006-12-04 Thread Charlie Arehart
Yeah, I'm with Precia saying it sounds like a mistake on the flash form UI
designer's part. Anyway, as for bashing, you shouldn't hear any of that
here. We've all been there. I myself may press when I sense my point isn't
being heard (as in this case), but it's all in the hope of helping solve the
problem, that's all. :-)  And no bother, either. Really, that's what the
list is here for.
 
/Charlie
http://www.carehart.org/blog/  

 


  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Howard
Sent: Monday, December 04, 2006 3:10 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] cftree


Ok Charlie, this is where you can just go ahead and call me an idiot.  I
just got back from a late lunch and read this and I tried your example.  It
worked fine.  My problem was user error and the sad thing is I was the user.
Apparently in Flash format you must click the arrow next to the folder icon
and not the folder icon. 
 
Feel free to start the bashing as I'm ashamed of myself right now.
embarrassment=on
 
Thanks again for the help and sorry to bother you.
 
Jeff 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-

attachment: image002.jpg