how to use entitylabels somewhere else

2010-06-17 Thread Matthieu Bollot
Hi, Is there a way to use entitylabels in a groovy ? I've got a genericValue that contains a result, for example a workEffort with workEffortTypeId:ROUTING that I can get with myRow['workEffortTypeId'] And I want to get the string of WorkEffortType.description.ROUTING from workEffortEntityLabels

Re: how to use entitylabels somewhere else

2010-06-17 Thread Matthieu Bollot
Le jeudi 17 juin 2010 à 18:05 +0200, Matthieu Bollot a écrit : Hi, Is there a way to use entitylabels in a groovy ? I've got a genericValue that contains a result, for example a workEffort with workEffortTypeId:ROUTING that I can get with myRow['workEffortTypeId'] And I want to get the

Re: how to use entitylabels somewhere else

2010-06-17 Thread Adam Heath
Matthieu Bollot wrote: Hi, Is there a way to use entitylabels in a groovy ? I've got a genericValue that contains a result, for example a workEffort with workEffortTypeId:ROUTING that I can get with myRow['workEffortTypeId'] myRow.workEffortTypeId is better. And I want to get the string of

Re: how to use entitylabels somewhere else

2010-06-17 Thread Scott Gray
GenericValues implement LocalizedMap, simply using value.get(description, locale) should return the localized description. Regards Scott On 18/06/2010, at 4:30 AM, Adam Heath wrote: Matthieu Bollot wrote: Hi, Is there a way to use entitylabels in a groovy ? I've got a genericValue that