[xwiki-users] Reserved names for fields in livetables
When using a field named "title" in a live table the caption for that field in the livetables header displays as "Browser Title Bar Text". If I change the name for that field then it displays correctly. Is this is a bug or are there reserved names that cant be used as fieldnames in livetables? Below is the macro code that I am using to create the livetable: #set($collist = ["council", "region","title", "description"]) #set($colprops = { "council" : { "type" : "list" , "size" : 1, "link" : "view"}, "region" : { "type" : "text" , "size" : 10, "link" : "view"}, "title" : { "type" : "text" , "size" : 20, "link" : "none"}, "description" : { "type" : "text" , "size" : 10, "link" : "none"} }) #set($options = { "className":"Tenders.TendersClass", "tagCloud" : true, "rowCount": 10 }) #livetable("Tenders" $collist $colprops $options) Radek Rekas
Hi Radek, On Wed, Dec 23, 2009 at 1:11 AM, Radek Rekas <[email protected]>wrote:
When using a field named "title" in a live table the caption for that field in the livetables header displays as "Browser Title Bar Text". If I change the name for that field then it displays correctly.
Is this is a bug or are there reserved names that cant be used as fieldnames in livetables?
Some translations are reserved names. Either you should change the name or use the livetable's translation prefix property and register a matching translation page somewhere on your wiki. Guillaume
Below is the macro code that I am using to create the livetable: #set($collist = ["council", "region","title", "description"]) #set($colprops = { "council" : { "type" : "list" , "size" : 1, "link" : "view"}, "region" : { "type" : "text" , "size" : 10, "link" : "view"}, "title" : { "type" : "text" , "size" : 20, "link" : "none"}, "description" : { "type" : "text" , "size" : 10, "link" : "none"} }) #set($options = { "className":"Tenders.TendersClass", "tagCloud" : true, "rowCount": 10 }) #livetable("Tenders" $collist $colprops $options)
Radek Rekas _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
participants (2)
-
Guillaume Lerouge -
Radek Rekas