I have had loads of problems with cftree - including client issues
with incorrect java versions etc etc

We replaced any cftrees we had with cf_treecontrol from:

http://www.cftagstore.com/tags/cftreecontrol.cfm

It costs $40 but is well worth it.

Cheers

Simon

On Wed, 21 Jul 2004 10:25:39 -0400, Mike Nimer <[EMAIL PROTECTED]> wrote:
> The problem is CFTREE now builds the tree based on what you say using the
> parent attribute, not the position of the child tags. And unfortunately with
> that change we can't guess which "Projects" parent you meant. But there is a
> solution, there is a display attribute you can use. What you need is to
> define unique value/parent combo's but use the display attribute so they
> render with the same name in the tree.
>
> Also there is a hotfix available for cftree/cfform, if you haven't already
> you should install that as well. It has some other fixes for cfform (alerts
> in order, etc..)
>
> --------------------
> <cftree name="test1">
>     <cftreeitem value="2003">
>     <cftreeitem value="2003Projects" display="Projects" parent="2003">
>     <cftreeitem value="2003 Project 1" parent="2003Projects">
>     <cftreeitem value="2003 Project 2" parent="2003Projects">
>     <cftreeitem value="2004">
>     <cftreeitem value="2004Projects" display="Projects" parent="2004">
>     <cftreeitem value="2004 Project 1" parent="2004Projects">
>     <cftreeitem value="2004 Project 2" parent="2004Projects">
> </cftree>
> --------------------
>
> hth,
> ----nimer
>
>   _____
>
> From: Michael Schlei [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 20, 2004 6:09 PM
> To: CF-Talk
> Subject: cftreeitem Duplicate Parent Name Problem
>
>
> I recently upgraded Coldfusion from 6.0 to 6.1 (was forced to do so after
> upgrading the server to Windows Server 2003).  Now, I'm having problems with
> cftreeitems being put in the wrong place in the cftree control.  The
> following code shows an example of the problem:
>
> <cftree ..>
>
> <cftreeitem value="2003">
>
> <cftreeitem value="Projects" parent="2003">
>
> <cftreeitem value="2003 Project 1" parent="Projects">
>
> <cftreeitem value="2003 Project 2" parent="Projects">
>
> <cftreeitem value="2004">
>
> <cftreeitem value="Projects" parent="2004">
>
> <cftreeitem value="2004 Project 1" parent="Projects">
>
> <cftreeitem value="2004 Project 2" parent="Projects">
>
> </cftree>
>
> In 6.0, this code worked perfectly and placed the 2004 projects in the
> Projects folder under 2004.  But in 6.1, this no longer works - the 2004
> projects are placed in the projects folder under 2003 - Coldfusion cannot
> properly handle the duplicate parent name in different sections of the tree.
> I would hope that there is a fix for this, as the cftree control is of no
> use to me the way it is now.  By the way, I have already installed the
> following hotfix from Macromedia, which has done nothing to solve this
> problem:
> http://www.macromedia.com/support/coldfusion/ts/documents/cfform_hotfix.htm
> .  Any assistance would be much appreciated.  Thank you for your time.
>   _____
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to