Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Tree sortNormalizer

    Hi,

    It would be nice if the default/built-in sort normalizer for the Tree class
    would support property names with periods (.) in their names. We use XML
    and unfortunately need to support elements with periods in their names.

    In the mean time, we've written our own normalizer (exact copy from ISC code),
    but we changed the following single line of code in our implementation.

    Changed to:
    Code:
    script.append("var prop = obj[", property, "];",
    instead of:
    Code:
    script.append("var prop = obj.", property, ";",
    Regards,

    #2
    We'll add this. I'm guessing your code should actually be this, however (added single quotes):

    Code:
    script.append("var prop = obj['", property, "'];",

    Comment


      #3
      That is correct ... I forgot the single quotes when I transcribed this onto the forums.

      Thanks,

      Comment


        #4
        FYI this change has been made to our internal codebase and will be part of the 7.0 final release

        Comment


          #5
          Thank you very much!

          Comment

          Working...
          X