Re: [xwiki-users] LiveTable column titles

2010-02-19 Thread Jeremie BOUSQUET
Thanks ! :)

2010/2/19 Jerome Velociter 

> On 19/02/10 16:47, Jeremie BOUSQUET wrote:
> > Hello,
> >
> > I'd like to ask for a precision ... Will it replace the translation  page
> > feature, or be another possibility (or maybe will we have to give a
> > translation property name to have old behaviour ?)
>
> The strategy will be :
>
> - If a column displayName option is passed, this is the name that wins
> - If not, and if a translation prefix is passed, then it used
> - and if not, the column "technical name" is used (doc.title for example)
>
> Jerome.
> >
> > Thanks,
> > Jeremie
> >
> > 2010/2/19 Jerome Velociter
> >
> >> On 18/02/10 15:04, Josh wrote:
> >>> Guillaume Lerouge wrote:
>  Hi Joshua,
> 
>  On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
>  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@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> 
> 
> 
> >>> ___
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LiveTable column titles

2010-02-19 Thread Jerome Velociter
On 19/02/10 16:47, Jeremie BOUSQUET wrote:
> Hello,
>
> I'd like to ask for a precision ... Will it replace the translation  page
> feature, or be another possibility (or maybe will we have to give a
> translation property name to have old behaviour ?)

The strategy will be :

- If a column displayName option is passed, this is the name that wins
- If not, and if a translation prefix is passed, then it used
- and if not, the column "technical name" is used (doc.title for example)

Jerome.
>
> Thanks,
> Jeremie
>
> 2010/2/19 Jerome Velociter
>
>> On 18/02/10 15:04, Josh wrote:
>>> Guillaume Lerouge wrote:
 Hi Joshua,

 On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
 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@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LiveTable column titles

2010-02-19 Thread Jeremie BOUSQUET
Hello,

I'd like to ask for a precision ... Will it replace the translation  page
feature, or be another possibility (or maybe will we have to give a
translation property name to have old behaviour ?)

Thanks,
Jeremie

2010/2/19 Jerome Velociter 

> On 18/02/10 15:04, Josh wrote:
> > Guillaume Lerouge wrote:
> >> Hi Joshua,
> >>
> >> On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
> >> 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@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>
> >>
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LiveTable column titles

2010-02-19 Thread Jerome Velociter
On 18/02/10 15:04, Josh wrote:
> Guillaume Lerouge wrote:
>> Hi Joshua,
>>
>> On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
>> 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@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LiveTable column titles

2010-02-18 Thread Josh
Guillaume Lerouge wrote:
> Hi Joshua,
> 
> On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
> 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.

-Joshua

> You're done :-)
> 
> Guillaume
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> 
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LiveTable column titles

2010-02-18 Thread Vincent Massol

On Feb 18, 2010, at 10:53 AM, Guillaume Lerouge wrote:

> Hi,
> 
> On Thu, Feb 18, 2010 at 10:19 AM, Vincent Massol  wrote:
> 
>> 
>> On Feb 18, 2010, at 9:59 AM, Guillaume Lerouge wrote:
>> 
>>> Hi Joshua,
>>> 
>>> On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
>>> 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
>>> 
>>> You're done :-)
>> 
>> I agree with Joshua that we should have to go through i18n. It should be a
>> feature but not mandatory.
>> 
> 
> I think Joshua's problem was more about having to create keys in the core.
> Since the current solution only involves wiki pages I think his problem is
> solved. Let's wait for his feedback.

yes but the pb isn't fixed (what you suggested is a workaround). This is a 
current important limitation that I've hit myself at several occasions.

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LiveTable column titles

2010-02-18 Thread Guillaume Lerouge
Hi,

On Thu, Feb 18, 2010 at 10:19 AM, Vincent Massol  wrote:

>
> On Feb 18, 2010, at 9:59 AM, Guillaume Lerouge wrote:
>
> > Hi Joshua,
> >
> > On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
> > 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
> >
> > You're done :-)
>
> I agree with Joshua that we should have to go through i18n. It should be a
> feature but not mandatory.
>

I think Joshua's problem was more about having to create keys in the core.
Since the current solution only involves wiki pages I think his problem is
solved. Let's wait for his feedback.

Guillaume


> Thanks
> -Vincent
>
> > Guillaume
> >
> >
> >> Joshua Rieken
> >> System Software Developer
>
> ___
> 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


Re: [xwiki-users] LiveTable column titles

2010-02-18 Thread Vincent Massol

On Feb 18, 2010, at 9:59 AM, Guillaume Lerouge wrote:

> Hi Joshua,
> 
> On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
> 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
> 
> You're done :-)

I agree with Joshua that we should have to go through i18n. It should be a 
feature but not mandatory.

Thanks
-Vincent

> Guillaume
> 
> 
>> Joshua Rieken
>> System Software Developer

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LiveTable column titles

2010-02-18 Thread Guillaume Lerouge
Hi Joshua,

On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
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

You're done :-)

Guillaume


> Joshua Rieken
> System Software Developer
>
> Reynolds and Reynolds
> 6700 Hollister | Houston, Texas 77040
> office 713.718.1800 ext. 72459 | mobile 806.584.3004
> joshua_rie...@reyrey.com
>
> MAKING BUSINESS BETTER.
>
> NOTE: The information contained in this e-mail is personal and confidential
> and may be protected by the attorney-client privilege and/or the work
> product doctrine. It is for the sole use of the intended recipient. Any
> review, reliance, or distribution by others or forwarding without express
> permission is strictly prohibited. If you are not the intended recipient,
> please contact the sender and delete all copies.
>
>
>
> ___
> 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] LiveTable column titles

2010-02-17 Thread Rieken, Joshua
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?

Joshua Rieken
System Software Developer

Reynolds and Reynolds
6700 Hollister | Houston, Texas 77040
office 713.718.1800 ext. 72459 | mobile 806.584.3004
joshua_rie...@reyrey.com

MAKING BUSINESS BETTER.

NOTE: The information contained in this e-mail is personal and confidential and 
may be protected by the attorney-client privilege and/or the work product 
doctrine. It is for the sole use of the intended recipient. Any review, 
reliance, or distribution by others or forwarding without express permission is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users