Skip to main content
September 1, 2009
Question

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

  • September 1, 2009
  • 2 replies
  • 2920 views

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]

This topic has been closed for replies.

2 replies

September 3, 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.

September 7, 2009

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!

pziecina
Legend
September 1, 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

September 2, 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.

pziecina
Legend
September 2, 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.html, 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