Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5350

livetable macro loading data issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 2.3.2
    • None
    • None
    • Ubuntu 10.04, Firefox
    • livetable
    • Unknown

    Description

      I have a space named Exercise04 and a class created in this space names OrganizationClass with 3 fields (name, contact, address).
      I have created 2 objects of the type OrganizationClass and they are named Tool and Muse.
      When i try to use a Live Table Macro in order to display these elements i do not get anything, which means the elements are not loaded in the page, even though they exist.

      The code I use is this

      #set($columns = ["name", "address", "contact"])
      #set($columnsProperties = {
      "name" :

      { "type" : "text" }

      ,
      "address" :

      { "type" : "text"}

      ,
      "contact" :

      { "type" : "text"}

      })
      #set($options = {
      "className":"Exercise04.OrganizationClass"
      })

      #livetable("Organizations" $columns $columnsProperties $options)

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              asrfel Stefan Abageru
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: