Fórum
How to use i18L with parameters?
Rafał Mojza, modificado 9 Anos atrás.
How to use i18L with parameters?
New Member Postagens: 6 Data de Entrada: 06/02/14 Postagens Recentes
Hello,
is its possible to use the el expression i18L with parameters? I know its possible in js but how can i do this in JSF?
For expamle if i had a "Hello {0}" text to parse.
Thanks in advance,
Rafał Mojza
is its possible to use the el expression i18L with parameters? I know its possible in js but how can i do this in JSF?
For expamle if i had a "Hello {0}" text to parse.
Thanks in advance,
Rafał Mojza
Neil Griffin, modificado 9 Anos atrás.
RE: How to use i18L with parameters?
Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
Hi Rafał,
The i18n EL keyword has a replace method that you should be able to use to pass a parameter. We have working example in our jsf2-login-portlet demo.
Kind Regards,
Neil
The i18n EL keyword has a replace method that you should be able to use to pass a parameter. We have working example in our jsf2-login-portlet demo.
Kind Regards,
Neil
Rafał Mojza, modificado 9 Anos atrás.
RE: How to use i18L with parameters?
New Member Postagens: 6 Data de Entrada: 06/02/14 Postagens Recentes
Hi Neil,
I was thinking about somethink dedicated because replace got some limitations, but this will do.
Thanks,
Rafał Mojza
I was thinking about somethink dedicated because replace got some limitations, but this will do.
Thanks,
Rafał Mojza