In clarification, I have these defined in my displaytag.properties

locale.provider=org.displaytag.localization.I18nStrutsAdapter
locale.resolver=org.displaytag.localization.I18nStrutsAdapter

Again, using the default resource bundle works for me. BUT my problem is where 
to specify the key
when I want to use a different bundle???

thanks

--- Piglet Java <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I'm using Struts, displaytag 1.1, tomcat 5.0.3 and java 5.
> 
> When the message I'm trying to display in the table header is in the default 
> resource bundle
> (resources.application) it is displaying properly. However when I moved the 
> message to another
> resource bundle (resources.application-jsp) with key "jsp" its not working 
> anymore.
> 
> So how could I specify in displaytag to look for the message in key "jsp"??
> 
> <message-resources parameter="resources.application" null="false"/>
> <message-resources key="jsp" parameter="resources.application-jsp" 
> null="false"/>             
> 
> I've tried the suggestions in the mailing list archive below but none worked 
> for me.
> 
>
http://www.mail-archive.com/search?q=Table%20Internationalization&[EMAIL 
PROTECTED]&start=0
> 
> Things I've tried
> 1. In my jsp page
> <fmt:setBundle basename="jsp" />
> 
> 2. In my action class
> Config.set(request, Config.FMT_LOCALIZATION_CONTEXT, "jsp"); 
> 
> any help is appreciated.
> 
> thanks,
> piglet
> 
> 
>  
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check. 
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 
> 



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to