struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiří Chaloupka <k...@chalu.cz>
Subject ajax:tabPanel and localization
Date Fri, 13 Mar 2009 08:51:19 GMT
Hi,
I need to use localization in ajax tab, but it is not rendered.
When I use:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="ajax" uri="/tags/ajax" %>
....
<div id="tabPanelWrapper">
<ajax:tabPanel id="tabPanel${now}">
    <ajax:tab caption="%{getText('tab.list')}" baseUrl="List.action" 
defaultTab="true" />
    <ajax:tab caption="%{getText('tab.filter')}" baseUrl="Filter.action" />
</ajax:tabPanel></div>

then the localization is not rendered and as lage there is completely 
"${getText('tab.list')}" text.
Is tehre any way how to localize the label or have I use generated 
javascript instead of ajax tag?

Thanks, Jiri

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message