On 18/02/10 15:04, Josh wrote:
Guillaume Lerouge wrote:
> Hi Joshua,
>
> On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
> <Joshua_Rieken(a)reyrey.com>wrote;wrote:
>
>> I am using the LiveTable macro to build a table similar to the one in
>> XWiki.Tableview. I have custom columns and I want to display a column's
>> "pretty name" as its header, but I can't find a way to pass a
column
"pretty
>> name" in the column properties or
otherwise set the column header. The
only
>> way I've found to set this column
header pretty name is to pass a
>> translationPrefix option in the table options.
>>
>> Is there any way to set the column headers to a "pretty name" without
>> changing / creating translation keys in the core?
>>
>
> Yes.
>
> - Create a page named something like "Space.LivetableTranslations"
> - In this page, add your keys in the following way:
> prefix_columntitle=Column title nice translation
> - Go to the administration, in the Programming section, and add
> "Space.LivetableTranslations" in the "internationalization
document
bundles"
field& save
Ah, excellent. Thanks.
I do agree with Vincent that this should not be mandatory. It would be
nice to have a "name" parameter or something similar in the column
options.
Done. This will be possible starting with XE 2.3M1
See
http://jira.xwiki.org/jira/browse/XWIKI-4912
Regards,
Jerome.
-Joshua
You're done :-)
Guillaume
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org