W dniu 15 lutego 2010 17:33 użytkownik CRANFORD, CHRIS <chris.cranf...@setech.com> 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: <bean class="org.demo.MyTextProvider" name="myTextProvider" type="com.opensymphony.xwork2.TextProvider"/> <constant name="struts.xworkTextProvider" value="myTextProvider"/> if you want to also use your implementation for framework's messages define another constant (remember to put all framework messages into) <constant name="system" value="myTextProvider" /> But that will work from version 2.1.7 of xwork (Struts 2.1.8). You can try to define your own ActionSupport and implement as it is right now http://svn.opensymphony.com/svn/xwork/trunk/core/src/main/java/com/opensymphony/xwork2/ActionSupport.java Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org