I'm curious, why do you need a custom URL builder for Liferay?

Nils-H

On Thu, Feb 5, 2009 at 9:12 PM, Torsten Krah
<tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> Hi.
> I did some rework to the struts2-portlet2-plugin to make it possible to hook
> in a custom URLBuilder.
>
> I declared a default one like this:
>
> <bean type="org.apache.struts2.portlet.util.PortletURLBuilder" name="default"
> class="Default" />
>
> My application e.g. wants to support liferay using a custom url builder.
>
> Using
>
> <bean type="org.apache.struts2.portlet.util.PortletURLBuilder" name="default"
> class=Custom />
>
> does not work because "default" is already loaded.
> How can i tell xwork, to inject my custom instance instead the default one?
> What the common way to do this?
>
> thx for help.
>
> Torsten
>
>

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

Reply via email to