Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kurniawan Kurniawan 202 posts 225 karma points
    Nov 02, 2010 @ 03:14
    Kurniawan Kurniawan
    0

    umbraco tree hyrarchy

    Hi all, currently i am developing a custom section umbraco and use custom tree.

    i have able to assign a task by implement iTaskReturnUrl.

    but i want it to apply for all my child node. which currently only has a delete action on right click.

    is it possible so there is a create action as well on child node similar in yhe content section?

    how do i add another action for the tree node? any reference ?

  • Kurniawan Kurniawan 202 posts 225 karma points
    Nov 02, 2010 @ 08:39
    Kurniawan Kurniawan
    0

    i hv found the solution. to make it as parent i have to assign xNode.source = treeservice....

    but i still don't understand about xnode.source.
    what it is for?

    thx

  • Leon Jollans 41 posts 65 karma points
    Nov 02, 2010 @ 12:21
    Leon Jollans
    0

    the tree node's source is the url used to load the tree contents and structure. That url will provide the app and tree aliases along with the node's id and so on so umbraco can pick the tree handler from the database, tell it to render with whatever context you passed it and and send the nodes back to you. It's then the responsibility of the ITree class loaded to attach the appropriate IActions to each node, such as ActionNew.Instance, or your custom actions.

Please Sign in or register to post replies

Write your reply to:

Draft