Re: Xwork Question - how to Inject another instance than default

2009-02-06 Thread Torsten Krah
Am Freitag, 6. Februar 2009 06:59:30 schrieb Nils-Helge Garli Hegvik: > I'm curious, why do you need a custom URL builder for Liferay? To support the "custom" window states POP_UP and EXCLUSIVE liferay does provide. Made the Helper a singleton instance injected into the PortletURLRenderer (misse

Re: Xwork Question - how to Inject another instance than default

2009-02-05 Thread Nils-Helge Garli Hegvik
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 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: > > class="Default" />

Re: Xwork Question - how to Inject another instance than default

2009-02-05 Thread Musachy Barroso
In the future please post these questions to the user list, this list is for the development of Struts itself. //ooops musachy On Thu, Feb 5, 2009 at 3:25 PM, Musachy Barroso wrote: > You first define a bean with a different name, and then find a setting > that is the implementation "switch" and

Re: Xwork Question - how to Inject another instance than default

2009-02-05 Thread Musachy Barroso
You first define a bean with a different name, and then find a setting that is the implementation "switch" and set it your bean name, like: note that on the bean the "type" is the Struts interface and the "class" is the actual implementation. musachy On Thu, Feb 5, 2009 at 3:12 PM, Torsten

Xwork Question - how to Inject another instance than default

2009-02-05 Thread Torsten Krah
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: My application e.g. wants to support liferay using a custom url builder. Using does not work because "default" is already loaded. How can i tell xwo