I am using Struts 1.2.7, BTW.
 
Todd Farmer
 

 



From: [EMAIL PROTECTED] on behalf of Farmer, Todd
Sent: Mon 3/27/2006 9:14 AM
To: [email protected]
Subject: [displaytag-user] I18n in DisplayTag w/Struts

Hi,
 
I apologize for being unable to identify the root cause of my problem using the mail archives and online documentation - I'm sure there is an answer out there that I am unable to identify.
 
My problem is pretty simple - I am unable to use the titleKey attribute of the <display:column> tag to retrieve the column name from my Struts resource bundle.  I have added the following line to my displaytag.properties file:

locale.resolver=org.displaytag.localization.I18nStrutsAdapter

I am running this application on JRun 4 (which has other problems I have worked through with the assistance from the FAQs).  Logging gives me the following:
 
- LocaleResolver initialized to org.displaytag.I18nStrutsAdapter.
- Unable to instantiate the configured I18nResourceProvider due to a java.lang.NoClassDefFoundError exception: null.  Falling back to default implementation.
 
Because I am running JRun 4, I had to repackage the .jar file after removing the <example> tags from the TLDs.  I haven't had any other problems with this, and I checked to make sure the org.displaytag.localizationI18nStrutsAdapter.class was included in the jar file I created.  I suspect that the problem is rather a missing dependency used by that class, but I haven't yet identified it.
 
I'm continuing to work on researching this issue myself, but wanted to ask in case anybody else had dealt with this issue and could point me in the direction of resources that might help me.  I would certainly appreciate it!
 
Thanks!
 
 
Todd Farmer
 

 

Reply via email to