[jboss-user] [JBoss Portal] - Re: Custom mapper for cms

thomas.heute@jboss.com do-not-reply at jboss.com
Mon Dec 18 06:19:15 EST 2006


in portal-cms-sar/META-INF/jboss-service.xml you will find where the default command mapper is defined:


  | <mbean
  |       code="org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate"
  |       name="portal:commandFactory=Delegate,path=content"
  |       xmbean-dd=""
  |       xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
  |       <xmbean/>
  |       <attribute name="Path">/content</attribute>
  |       <depends
  |          optional-attribute-name="DelegatingFactory"
  |          proxy-type="attribute">portal:commandFactory=Delegating</depends>
  |       <depends
  |          optional-attribute-name="DelegateFactory"
  |          proxy-type="attribute">portal:commandFactory=CMSObject</depends>
  |    </mbean>
  | 


Here you can replace it by a command mapper of your choice.

You will see that the tragetWindowRef is defined in the mbean: portal:commandFactory=CMSObject

You can choose to replace this command factory instead of the whole command mapper.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994619#3994619

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994619



More information about the jboss-user mailing list