Re: [xwiki-users] Reserved names for fields in livetables

2009-12-23 Thread Guillaume Lerouge
Hi Radek,

On Wed, Dec 23, 2009 at 1:11 AM, Radek Rekas radek.re...@evalua.com.auwrote:

 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Reserved names for fields in livetables

2009-12-22 Thread Radek Rekas
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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users