[Logo] Mentawai Forum - Mentawai Web Framework
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 

Forum Read-Only! Check the new site and forum here!

displaytag and i18n  XML
Forum Index -> General Comments
Author Message
rickquade



Joined: 05/10/2006 18:27:25
Messages: 6
Offline

Has anyone tried to hook displaytag's i18n to mentawai? I'm using the standard mentawai i18n support with good results. I tried to use the standard displaytag i18n using titleKey but it isn't working. I'd rather tie it to mentawai if possible anyway. Thanks, Rick
IceW0lf


[Avatar]

Joined: 16/03/2006 08:33:38
Messages: 1546
Location: Brasília
Offline

Try this...

Code:
<c:set var="id"><mtw:i18n key="id"/></c:set>


Code:
<h1 align="center">${title}</h1>
          <display:table   name="lista" sort="list" defaultsort="1" pagesize="5"
                           requestURI="dbActionDispTag.mtw" export="true" decorator="exemplos.Decorando">
              <display:column property="userId" title="${id}"  sortable="true" style="width: 580px"/>
              <display:column titleKey="Chumbado" href="brain.jsp" property="userNome" style="width: 580px" />           
              <display:column property="userId" title="Opções "style="width: 580px" />           
              
          </display:table>
 


I get from this post:
http://forum.mentaframework.org/posts/list/1111.page

Leiber Wallace
Voixy ::: Soluções em Telecomunicações
 
Forum Index -> General Comments
Go to:   
Powered by JForum 2.1.6 © JForum Team