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

Don't display tags for items not in the livetable

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 7.4
    • LiveTable
    • None
    • Unknown

    Description

      For example in the attached screenshot the LT is deifned as:

      #set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount", "rating", "recommended"])
      #set($columnsProperties = {
        "name" : { "type" : "text", "link" : "view" },
        "summary" : { "type" : "text" },
        "category" : { "type" : "list" },
        "authors" : {'html': true},
        "doc.creationDate" : { "type" : "date" },
        "doc.date" : { "type" : "date" },
        "rating" : { 'html' : true, 'filterable' : false, 'sortable' : false},
        "recommended" : { 'type' : "hidden" }
      })
      #set($options = { 
         "tagCloud":true,
         "className":"ExtensionCode.ExtensionClass",
         "selectedColumn":"doc.creationDate",
         "defaultOrder":"desc",
         "translationPrefix" : "extension.repository.",
         "rowCount": 30,
         "extraParams" : "&recommended=1"
      })
      #livetable("recommendedextensions" $columns $columnsProperties $options)
      

      Note the usage of the extraParams to filter out some extensions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: