Another issue: The button “enregistrer et fermer” (save and close) doesn’t work sometimes (I’m still in xwiki editing mode and I must refresh page to make it work).
To test html issue in live table:
- add a property “test” test (test: String) inXWiki.XWikiUsers
- edit a user in object mode: add some html code in “test” property:
<a href="mailto:prenom.nom@no-spam.fr">prenom.nom@no-spam.fr</a>
save it
- in sandbox page, paste this code:
{{velocity}}
#set($columns = ["_avatar", "first_name", "last_name", "email","test", "doc.creationDate", "_actions"])
#set($columnsProperties = {
"_avatar" : { "type" : "none", "link" : "none", "html" : "true", "sortable":false },
"first_name" : { "type" : "text" , "size" : 20, "link" : "view"},
"last_name" : { "type" : "text", "link" : "view"},
"email" : { "type" : "text", "html" : "true"},
"test" : { "type" : "text", "html" : "true"}
})
#set($options = {
"className":"XWiki.XWikiUsers",
"translationPrefix" : "xe.userdirectory.",
"tagCloud" : true,
"rowCount": 10
})
#livetable("userdirectory" $columns $columnsProperties $options)
{{velocity}}
- display live table display html code none interpreted: