Hello,

I am using a sub class of CMSPortlet, and the /content/... url does not work.
I have no parameter passed to the doView method. The parameter "path" is null 
in the render request.

I have checked many thing.
the configuration of the CMSObjectCommandMapper in the jboss-service.xml is 
updated to send the request to my window :
<mbean
  |          code="org.jboss.portal.core.cms.CMSObjectCommandMapper"
  |          name="portal:mapper=CMSObject"
  |          xmbean-dd="org/jboss/portal/core/cms/CMSObjectCommandMapper.xml">
  |       <attribute name="Prefix">content</attribute>
  |         <!-- AHG : original
  |       <attribute 
name="TargetWindowRef">default.default.DefaultCMSPortletWindow</attribute>
  |       -->
  |       <attribute 
name="TargetWindowRef">default.defaultPage.SWPalCoreSimpleHtmlPagesMenuWindow</attribute>
  |       <depends optional-attribute-name="Mapper" 
proxy-type="attribute">portal:mapper=PrefixDelegating</depends>
  |       <depends optional-attribute-name="CMSService" 
proxy-type="attribute">portal:service=CMS</depends>
  |    </mbean>

if the url is wrong (no file exist), I get an exception from the 
CMSObjectCommandMapper, saying it can't find the file.
if the file exists, the CMSObjectCommandMapper run with no message, but no 
parameter at all are set in the render request (that is executed for shure).

I have looked at the code of the CMSObjectCommandMapper : can't see what's 
wrong.

how can I debug this ?
some advice ?
overload the CMSObjectCommandMapper to add some debug info ?
better idea ?

Also : where can I find info, examples, etc... on the CommandMapper chain of 
responsability ?

Thanks,

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to