Copied to clipboard

Flag this post as spam?

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


  • Adriano Fabri 459 posts 1602 karma points
    Sep 02, 2009 @ 11:06
    Adriano Fabri
    1

    Use XPath as parent nodeid

    It would be nice if this datatype could accept XPath as parent nodeid, like the Axendo Ultimate Picker does.

    AF

  • Ron Brouwer 273 posts 768 karma points
    Sep 02, 2009 @ 11:54
    Ron Brouwer
    0
  • fed 199 posts 70 karma points
    Sep 02, 2009 @ 11:57
    fed
    0

    No offense, but I would rather see the original project updated with support for this.. Instead of having two projects with different authors? I guess your project is based on the original and just updated to support XPath?

  • Marco Lusini 176 posts 1370 karma points
    Sep 02, 2009 @ 11:59
    Marco Lusini
    0

    Ron, if you share your mods, I'll be glad to add them to my package.

    Marco

  • fed 199 posts 70 karma points
    Sep 02, 2009 @ 12:00
    fed
    0

    btw, great work Marco really like the datatype..

  • dandrayne 1138 posts 2262 karma points
    Sep 02, 2009 @ 12:04
    dandrayne
    0

    Ditto, a real v4 lifesaver

  • Marco Lusini 176 posts 1370 karma points
    Sep 02, 2009 @ 12:06
    Marco Lusini
    0

    Thanks for your appreciation.

    BTW, since I use this on a lot of sites, I hope to be able to make it works also on the new 4.1 release...

  • fed 199 posts 70 karma points
    Sep 02, 2009 @ 12:11
    fed
    0

    "I don't know who created the TreeMultiPicker but this is based on his/her work."

    I'm getting really confused at what you are doing Ron, not sure I like it...

     

  • Ron Brouwer 273 posts 768 karma points
    Sep 02, 2009 @ 12:21
    Ron Brouwer
    0

    @fed I added that just to avoid problems.

    And i totaly agree on you that it would be better to have one solution!

    @Marco Lusini

    Where can i sent the mods?

  • Marco Lusini 176 posts 1370 karma points
    Sep 02, 2009 @ 12:29
    Marco Lusini
    0

    @Ron

    You could add the sources to your TreeMultiPicker XPath project. (I wish this forum would allow private messages, so that I could send you my mail OOB... :( ) 

  • Marco Lusini 176 posts 1370 karma points
    Sep 02, 2009 @ 12:35
    Marco Lusini
    0

    @Ron

    If you have an account on CodePlex, you could also submit a patch.

  • Ron Brouwer 273 posts 768 karma points
    Sep 02, 2009 @ 12:38
    Ron Brouwer
    0

    Source is added.

    Modified:

    • Added void getParentNodeIdFromXpath(string xpath): on line 54 in DataEditor
    • int parentNodeId = getParentNodeIdFromXpath(config[1]); on line 294 in DataEditor
    • removed the validation on the nodeid in PrevalueEditor

    If you have any question, let me know.

    Ron

  • Ron Brouwer 273 posts 768 karma points
    Sep 02, 2009 @ 12:41
    Ron Brouwer
    0

    As soon as your update is available let me know so this project can be deleted.

  • Marco Lusini 176 posts 1370 karma points
    Sep 02, 2009 @ 16:09
    Marco Lusini
    0

    OK, I added your mods to version 0.6. I added a runtime validation of parent node ID when expressed with an integer.

    Thanks,

    Marco

  • Dan 43 posts 72 karma points
    Sep 23, 2009 @ 10:01
    Dan
    0

    Howdy, really dig this package but I can't seem to set the parent node id using xpath at the moment, are there any examples people could share?

  • Ron Brouwer 273 posts 768 karma points
    Sep 23, 2009 @ 10:51
    Ron Brouwer
    0

    Check this package. the xpath works the same as this package.
    For this package you can use the sample shown there:

    http://our.umbraco.org/projects/axendo-ultimate-picker-xpath

    Ron

Please Sign in or register to post replies

Write your reply to:

Draft