Hello Jacek,

local means that the portal comes from a deployment made from a war file
global means that the portal is stored in the database

The current code that maps a URL to a portal object is located in the 
CommandMapper which maps a URL to a command.

URLs like /a/b/c are called friendly URLs and there is a mapper which maps such 
URLs to the RenderPageCommand which the page name equals to the path of the 
page coming from the url.

It is prefixed by local or global in order to differenciate the space in which 
the object live.

URLs like index.html&.... are called canonical and can carry more informations 
and are used for complex commands that needs lot of parameters like invoking a 
process action and such. For understand these commands you should like at or 
the CanonicalCommandMapper which performs that task.

Note that anyone is capable to implement its command mapper and you shold be 
capable to use it.

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to