Copied to clipboard

Flag this post as spam?

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


  • Bill 43 posts 65 karma points
    Aug 06, 2012 @ 16:50
    Bill
    0

    UrlPicker - Recursive not working as expected

    Hi community!

    I am using a uComponents urlpicker field as an item on every node in a tree (field name Model.UrlPicker)

    I would expect Model._UrlPicker to give me a recursive value ie the parent / grandparent Model.UrlPicker if the current node doesn't have a UrlPicker value set. This works for other datatypes but not for UrlPicker

    Is this a bug? Do I have to write a recursive helper function to do this instead?

    Thanks

  • Bill 43 posts 65 karma points
    Aug 14, 2012 @ 17:28
    Bill
    0

    Anyone? Having difficulty getting responses to my posts :(

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Aug 14, 2012 @ 17:45
    Jeroen Breuer
    0

    I think that the url picker stores it's data as xml. Even if it's empty it will save some xml so it's probably never empty. That's why recursive won't work. Guess you need to write your own helper for that.

    Jeroen

  • Bill 43 posts 65 karma points
    Aug 14, 2012 @ 17:49
    Bill
    0

    Thanks for replying!

    I'll write a simple recursive method instead. Wanted to see if I was missing the point

     

    Cheers

     

Please Sign in or register to post replies

Write your reply to:

Draft