[jboss-user] [JBoss Portal] - Re: response.createRenderUrl() always returns

Antoine_h do-not-reply at jboss.com
Fri Sep 8 17:26:53 EDT 2006


to manage your own mapping between url and page/window, and manage the parameter your way, you should write your own url mapping service.

You can look at the CMSPortlet object that works with it's own mapping for url like ...portal/content/myFile.html and rely on the CMS repository to get the file.

see the doc, about the CMS and the prefix of the url for files in the cms repository. there is an explaination about this... and that is a good start.

then look at services like : 
portal:urlFactory=CMSObject
and 
"portal:commandFactory*"
or portal:commandFactory=CMSObject
(these are defined in a jboss-service.xml file, in meta-inf folder)

and classes such as CMSObjectURLFactory and CMSObjectCommandFactory 

portal 2.4 has been enhanced for managing this : for what I have just seen, you should be able to manage several prefixes, with several window target.

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

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



More information about the jboss-user mailing list