Sorry, there was a typo in my previous post. It should be

in jsp
<display:column property="locationLabel" titleKey="label.location" 
sortable="true"/>


Again, thanks for your help.


From: Fei Zheng
Sent: Tuesday, July 29, 2008 7:04 PM
To: 'displaytag-user@lists.sourceforge.net'
Subject: display message property in titleKey?

There are what I have

in /src/displaytag.properties
locale.resolver=org.displaytag.localization.I18nSpringAdapter
locale.provider=org.displaytag.localization.I18nSpringAdapter

in /src/messages.properties
label.location=Location

in jsp
<display:column property="locationLabel" titleKey="label.lcation" 
sortable="true"/>

in Spring dispatcher.xml
<bean id="localeChangeInterceptor" 
class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
<property name="paramName" value="ctry"/>
</bean>

<bean id="localeResolver" 
class="org.springframework.web.servlet.i18n.SessionLocaleResolver"/>

In the tomcat log,
Error: Attribute titleKey invalid for tag column according to TLD


Have read http://displaytag.sourceforge.net/10/i18n.html, but couldn't figure 
out how to make it work.

Thanks in advance for your help!



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to