I would like to suggest a little changing to the JetspeedL10NTag class. The
idea is to use JetspeedLocalizationService getLocale(Rundata) method to
obtain the localized key string.
...
public int doStartTag() throws JspException
{
JetspeedRunData data = (JetspeedRunData)
pageContext.getAttribute(JspService.RUNDATA, PageContext.REQUEST_SCOPE);
JetspeedLocalizationService jls = (JetspeedLocalizationService)
TurbineServices.getInstance().getService(LocalizationService.SERVICE_NAME);
try
{
ConcreteElement result = null;
try
{
result = new StringElement(Localization.getString(this.key,
jls.getLocale(data)));
...
I've tried it and seems to work. What do you think about it?
Regards,
Fabio Latrofa
Questa e-mail e' stata verificata dal sistema di antivirus della Siva S.P.A.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]