I want to override the framework's built in TextProvider with my own.  I 
understand that I need to add mine as a bean in my strut.xml, but something 
about the precise mechanics is eluding me.  

For starters, this is from struts-default.xml

   <bean type="com.opensymphony.xwork2.TextProvider" name="xwork1" 
class="com.opensymphony.xwork2.TextProviderSupport" scope="default" />
    <bean type="com.opensymphony.xwork2.TextProvider" name="struts" 
class="com.opensymphony.xwork2.TextProviderSupport" scope="default" />

And my struts.xml bean element:

    <bean type="com.opensymphony.xwork2.TextProvider" name="myProvider " 
class="com.mycompany.struts2.MyTextProviderSupport" scope="default" />


This doesn't appear to get my provider injected into the framework.  What am I 
doing wrong?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to