ah..the example was there already:

<bean type="org.apache.struts2.convention.ActionNameBuilder"
name="MyActionNameBuilder" class="example.SultansOfSwingNameBuilder"/>
<constant name="struts.convention.actionNameBuilder"
value="MyActionNameBuilder"/>

I guess I was listening to Dire Straits when I added that :)

musachy

On Sun, Jun 7, 2009 at 9:04 AM, Musachy Barroso<musa...@gmail.com> wrote:
> you should be able to (unless there is a bug of course), doing
> something like this:
>
> <bean type="org.apache.struts2.convention.ActionConfigBuilder"
> name="mybuilder" class="MyBuilderClassHere"/>
> <constant name="struts.convention.actionConfigBuilder" value="mybuilder"/>
>
> I will add this to the doc.
>
> musachy
>
> On Sun, Jun 7, 2009 at 7:05 AM, Jerome ROBERT<jrm.rob...@gmail.com> wrote:
>> Hi,
>> It is said in the documentation (
>> http://cwiki.apache.org/WW/convention-plugin.html#ConventionPlugin-Overwritingpluginclasses)
>> that the plug-in can be extended by overriding its classes using (for
>> example) the constant "struts.convention.actionConfigBuilder" to provide a
>> new implementation. I tried to do so but it seems it has not effect, the
>> value is simply ignored (i could not find references to this constant in the
>> source code either.)
>> am I missing something ?
>>
>> Jerome.
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to