Do you
have locale available within the jx?? Otherwise you should try a print
statement in your _javascript_ file. If this returns nothing, that explains a
lot.
print('Locale=' + Locale.getDefault().getLanguage());
Robby
-----Oorspronkelijk bericht-----I have tried it but toString(Locale locale) is just NOT invoked and a null value is returned.
Van: Rice Yeh [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 8 september 2006 10:33
Aan: [email protected]
Onderwerp: Re: Is it supported to passing parameters to a method in an jexl _expression_ in CTemplate?
Rice
On 9/8/06, Robby Pelssers, AGP < [EMAIL PROTECTED]> wrote:Why don't you just do following ?<fd:label>${country.toString(locale)}</fd:label>Robby-----Oorspronkelijk bericht-----
Van: Rice Yeh [mailto:[EMAIL PROTECTED]]
Verzonden: vrijdag 8 september 2006 8:48
Aan: [email protected]
Onderwerp: Is it supported to passing parameters to a method in an jexl _expression_ in CTemplate?Hi,
Is it supported to passing parameters to a method in an jexl _expression_ in CTemplate. I try the following _expression_, it is not supported.
Is there other way?
<fd:label>${country.toString(${locale})}</fd:label>
Regards,
Rice
