• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Recursive use of CFTREEITEM in CFC

Guest
Oct 24, 2006 Oct 24, 2006

Copy link to clipboard

Copied

I have set up a recursive function within a CFC to show a menu structure. For testing I used cfoutput - and it worked fine. Now I'm trying to use CFTREE and get always an error message telling me:"The tag (CFTREEITEM) must be nested inside a cftree tag. The CFFORM and CFTREE is in the CFM template, CFTREEITEM is invoked from the CFC. At this moment I can't imagine to get this working. May be there is a tricky way....
TOPICS
Advanced techniques

Views

897

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Oct 30, 2006 Oct 30, 2006
There is no need to query all menus menu by menu. Run one query for all menus and CFTREE does the rest. No recursion is needed, it's part of CFTREE!

Votes

Translate

Translate
Guest
Oct 30, 2006 Oct 30, 2006

Copy link to clipboard

Copied

LATEST
There is no need to query all menus menu by menu. Run one query for all menus and CFTREE does the rest. No recursion is needed, it's part of CFTREE!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation