Copied to clipboard

Flag this post as spam?

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


  • singer777 69 posts 80 karma points
    Oct 27, 2011 @ 00:06
    singer777
    0

    uComponents Umbraco Version

    Is there an old version of uComp that works for 4.0.2.1? All of the CodePlex notes show 4.5+. Can someone confirm for me?

    Also, can you clarify what an XPath Expression is for that field on a new uComponents data type? Is that regular 'ol XSLT?

    My goal is to make a dropdown list that is populated by nodes. What would the expression be for that? Is it a simple XSLT list of nodes?

    Thank you!

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Oct 27, 2011 @ 00:13
    Lee Kelleher
    1

    Hi Jonathan,

    uComponents is only available for Umbraco v4.5.2+ (it utilises API improvements, thus not backwards compatiable).

    As for the XPath expression... that really depends on your content structure and document-type name/alias.

    For example, it could be as simple as:

    //*[@isDoc]

    or something more complex, using the $currentPage parameter:

    $currentPage/ancestor-or-self::*[@level = 1]/*[@isDoc]

    ... it really depends on what you want? Check out the documentation for the XPath CheckBoxList for more details.

    Cheers, Lee.

  • singer777 69 posts 80 karma points
    Oct 27, 2011 @ 00:18
    singer777
    0

    Lee, thanks so much! So nice to get such a quick answer!

Please Sign in or register to post replies

Write your reply to:

Draft