[jboss-user] [JBoss Portal] - Re: Can i remove

2007-04-18 Thread [EMAIL PROTECTED]
Hey Antoine, would you mind to write documentation about command mappers and 
URL mappers ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038484
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Can i remove

2007-04-17 Thread littlefish
THX! it is cool!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038207
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Can i remove

2007-04-17 Thread Antoine_h
Wiki is at : 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ChangeRootPathAndPrefixOfUrl

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Can i remove

2007-04-17 Thread Antoine_h
Hello,

This is an extract of my installation procedure, for this.

To change the root path of the url.
>From (classic) : http://localhost:8080/portal/portal/default/
To : 
http://localhost:8080/myPortalContextRoot/myDefaultCommand/myDefaultPortalName/ 
(defined at 070319).

a) Prefix for : Portal Context Root (first "portal" in classic url)
In the file : \deploy\jboss-portal.sar\portal-server.war\WEB-INF\jboss-web.xml
Replace the context root item to : 
/myPortalContextRoot
The cms coded url can then be : 
http://localhost:8080/myPortalContextRoot/cms_root_code/cms_repository_path/...

b) Prefix for : PortalObjects commands (PortalObject Commands and url factories)
(second "portal" in classic url)
The PortalObjects commands are used to call a page or window, with parameters 
in the url.
In the file : \deploy\jboss-portal.sar\META-INF\jboss-service.xml
b1) Command factory
Switch off the service : name="portal:commandFactory=Delegate,prefix=portal"
Replace the déclaration with a new one, with modification :
 - modify the name to : 
name="portal:commandFactory=Delegate,prefix=myDefaultCommand"
 - modify the prefix item to : myDefaultCommand
b2) Url factory
Switch off the service : name="portal:urlFactory=PortalObject"
Replace the déclaration with a new one, with modification :
 - modify the prefix item to : myDefaultCommand

c) The portal prefix
(the "default" prefix, in third position in the classic url)
This prefix is set in the portal description, default-object.xml file.
The one provide by JBoss portal, and in yours.
The item is : myDefaultPortalName
Also in the default-object.xml file, see the definition of the default page :
The name of the default page and the value item of the property of default 
object of the portal :
the item : portal.defaultObjectName

And see this forum and jira posts to set it as the default portal of multiple 
portals : http://jboss.org/index.html?module=bb&op=viewtopic&t=104612
and 
http://jira.jboss.com/jira/browse/JBPORTAL-1324?watch=true

for a pb with not using "default" as the default portal name.

make a wiki of this ?
how to create a subject in the wiki ?


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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user