You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jiří Chaloupka <ko...@chalu.cz> on 2009/03/13 09:51:19 UTC
ajax:tabPanel and localization
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
Re: ajax:tabPanel and localization
Posted by Mileidys Gonzalez <mi...@i-frontier.net>.
Maybe u means the AjaxTags...
http://ajaxtags.sourceforge.net/
Re: ajax:tabPanel and localization
Posted by Jiří Chaloupka <ko...@chalu.cz>.
I am not sure what do you mean. tablib is used from stadard ajaxtags
distribution
Jiri
Alvaro Gomez napsal(a):
> What is url for download tablib the ajax?
>
>
> -----Mensaje original-----
> De: Jirí Chaloupka [mailto:konf@chalu.cz]
> Enviado el: Viernes, 13 de Marzo de 2009 02:51 a.m.
> Para: Struts Users Mailing List
> Asunto: ajax:tabPanel and localization
>
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: ajax:tabPanel and localization
Posted by Alvaro Gomez <ag...@ss.sertracen.com.sv>.
What is url for download tablib the ajax?
-----Mensaje original-----
De: Jirí Chaloupka [mailto:konf@chalu.cz]
Enviado el: Viernes, 13 de Marzo de 2009 02:51 a.m.
Para: Struts Users Mailing List
Asunto: ajax:tabPanel and localization
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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org