RE: i18n database backed

2010-02-15 Thread CRANFORD, CHRIS
Lukasz - I have configured the bean in struts.xml as follows: Aside from configuring this bean with the tag above, is there any other settings or changes I need to make to my struts.xml configuration allowing this provider to be used when I use and getText() methods? Chris -Original Me

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 15:15 użytkownik CRANFORD, CHRIS napisał: > Lukasz - > > I have configured the bean in struts.xml as follows: > >  type="com.opensymphony.xwork2.TextProvider" >  name="seek" >  class="com.setech.seek.struts2.i18n.TextProviderSupport" > /> > > Aside from configuring this bean

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS napisał: > Yes they are.  In fact, all my actions are based on a custom common action > called SeekBaseAction which extends ActionSupport. So, just define TextProvider as mentioned by me and should work! Regards -- Łukasz http://www.lenar

RE: i18n database backed

2010-02-15 Thread CRANFORD, CHRIS
k -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Monday, February 15, 2010 8:38 AM To: Struts Users Mailing List Subject: Re: i18n database backed W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS napisał: > Yes they are.  In fact, all my actions

Re: i18n database backed

2010-02-15 Thread Lukasz Lenart
W dniu 15 lutego 2010 17:33 użytkownik CRANFORD, CHRIS napisał: > 2.1.6 > > I cannot move to 2.1.8 yet without impact to a few other things sadly :(. I made a small mistake, you have to define your own bean and then define two constants in struts.xml: if you want to also use your implementat

[Q] JavaTemplate Plugin

2010-02-15 Thread Hoying, Ken
I would like to make use of the JavaTemplate Plugin in order to improve my applications performance. However, I do have "ajax" themed tags, as well as, some of my own theme tags. I perfectly realize that the any non "simple" theme tags would not be able to take advantage of the performance imp

[Q] TabbedPanel changes in 2.1.8.1??

2010-02-15 Thread Hoying, Ken
I am in the process of upgrading from Struts 2.0.11.1 to 2.1.8.1 and am having some issues with the TabbedPanel. Previously, I had customized how the TabbedPanel looks by setting the templateCssPath attribute to the location of a CSS file that was a copy of the provided TabContainer.css with my

Re: JavaTemplate Plugin

2010-02-15 Thread Chris Pratt
Yes, I believe that is the case. If you use the Java Templates plugin it switches the Templating Engine to Java. Since there are no themes defined in the Java Template Engine other than simple, you're out of luck if you want to mix themed and non-themed content. (*Chris*) On Fri, Feb 12, 2010

[Q] Enable Freemarker template caching

2010-02-15 Thread Hoying, Ken
I am finding the text regarding the enablement of Freemarker template caching in the performance tuning document (http://struts.apache.org/2.1.8.1/docs/performance-tuning.html) to be a bit confusing. The document states: As of Struts 2.0.10, setting the property struts.freemarker.templatesCach

Re: [Q] Enable Freemarker template caching

2010-02-15 Thread Dale Newfield
Hoying, Ken wrote: In Struts versions prior to 2.0.10, you had to copy the /template directory from the Struts 2 jar in your WEB_APP root to utilize Freemarker's built in chaching mechanism in order to achieve similar results. And I think as a result of following this old advice I've now got ol

javassist problem -- 2.2.0 maven plugin?

2010-02-15 Thread Jan T. Kim
Dear All, I've run into the problem that the javassist package contained in xwork-2.1.6.jar clashes with the javassist package contained in jboss. According to https://issues.apache.org/jira/browse/WW-3308 this problem is fixed in struts 2.2.0. Are there any maven plugins around that take advantag

Re: [Q] Enable Freemarker template caching

2010-02-15 Thread Wes Wannemacher
If you are using struts 2.0.9 or earlier, then you will have to copy the template directory out of the struts2-core jar file into your web-app. (Off the top of my head, I can't remember if you copy it to context-root, context-root/WEB-INF, context-root/WEB-INF/classes, but I'm sure that's in the do

Re: [Q] Enable Freemarker template caching

2010-02-15 Thread Oscar
Hi to all, i have a doubt about struts 2. Is possible to write ognl expressions on struts.xml . Let's say, something like wildcards but instead wildcards build the value of result with some attribute from request or a value of session, that's possible? THanks in regard -- Oscar

OpenId login open source project

2010-02-15 Thread Saeed Iqbal
Good Morning again Guys I have worked on OpenId and Facebook Connect The first project of mine on openid is now out and its open source on http://code.google.com/p/remove-registration/ Feel free to comment please. Thanks, -saeed -- Saeed Iqbal Independant Consultant J2EE - Application Archite