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

Can't create tree with tag mm:treenode of DWCS4 on Mac OS

Guest
Aug 31, 2009 Aug 31, 2009

Hi all,

I try to migrate my extension from Windows to Mac. I create a tree in the floater. In Windows, it display well. But in Mac, it display nothing.

Please give me some help.

Thanks

Window

     Tree_windows.JPG

Mac

     Tree_Mac.JPG

[Moved to Dreamweaver extensions forum by moderator]

TOPICS
Extensions
3.0K
Translate
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
LEGEND ,
Sep 01, 2009 Sep 01, 2009

Hi

This is a know problem on the mac, and I have yet to read a solution to it. You may wish to contact Simon on this post - http://forums.adobe.com/thread/459712?tstart=30, and ask if he found an answer to the problem, (if he did can you post his reply here, please?).

PZ

Translate
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
Guest
Sep 01, 2009 Sep 01, 2009

Hi PZ,

I knowed your answer, Simon and I are in the same project, we had not find the answer to resolve this issue. i doubt if DW support treenode on MAC?

we are migrating our system from Windows to MAC, but met this issue, the tree on Windows is ok, but it can not display on MAC. Could you please help us to have a solution? thanks.

Translate
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
LEGEND ,
Sep 02, 2009 Sep 02, 2009

Hi Frank

I only have an old mac book with mx2004 installed, and almost never develop on the mac anymore.

One way that may(?) get you an answer is to post a comment about the problem on the documentation page at -  http://help.adobe.com/en_US/Dreamweaver/10.0_Extending/WS5b3ccc516d4fbf351e63e3d117f53d6718-7ff3.htm..., the comment link is at the bottom of the page.

The problems with mm.treenode, have existed since the mx version and one solution (then), was to use getMenuTree(), the usage was -

var menuXMLPath = dw.getMenuFile();

I do not know if this will still work though, it was an undocumented feature anyway and never appeared in the documentation, as far as I know.

PZ

Translate
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
Guest
Sep 02, 2009 Sep 02, 2009

Hi PZ,

Thank you very much for your suggestion.

I tested method getMenuFile(), it can return correct result on Windows or Mac.

But this method getMenuTree(), it isn't a correct method, DW doesn't support it.

Thanks!

Translate
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
Guest
Sep 03, 2009 Sep 03, 2009

Try adding a single <mm:treecolumn> right after your <mm:treecontrol> tag so that you have one column in there. The docs say it's optional but on the mac it appears you need at least one column to contain all the nodes. You don't have to add any attributes to the treecolumn if you don't want any labels for the column.

Translate
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
Guest
Sep 06, 2009 Sep 06, 2009
LATEST

Thanks, ChrisBank.
According to your suggestion, tree displays OK on Mac OS. 
Could you tell me which document to describe usage of tag about tree on Mac OS?
Thanks!

Translate
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