This is Gibberish
http://localhost:8080/portal/tool/19a66248-561f-4421-80bd-2c5e213d5eb0?sakai.session=d94f9115-e678-43f1-00ad-fbe9b802348b
Add Main
Dashes become x’s
http://localhost:8080/portal/title/b61b3656-bb0b-4926-0051-0581b956e172?reset=true
var TREE_ITEMS = [
[‘My Workspace’,0,
[‘Home’,’http://localhost:8080/portal/page/dc0e247e-4822-4031-80d3-e2fea1975436?sakai.session=68b64974-8f78-42a1-80d8-461c68172910′,
[‘Message of the Day’,’http://localhost:8080/portal/tool/19a66248-561f-4421-80bd-2c5e213d5eb0?sakai.session=68b64974-8f78-42a1-80d8-461c68172910′],
[‘My Workspace Information’,’http://localhost:8080/portal/tool/faec4393-f522-418d-0096-b53af44e0868?sakai.session=68b64974-8f78-42a1-80d8-461c68172910′]
]
,
[‘Profile’,’http://localhost:8080/portal/page/d6b70f83-f1ae-42d3-8049-4e63bf89062d?sakai.session=68b64974-8f78-42a1-80d8-461c68172910′
]
If you wish to pass parameters within a URL, for example, “user=bob”, then you simply create an Action URL (which will cause the portlets processAction() method to fire) and invoke “setParameter(key, value)” on it.
An example,
Create your ActionURL object as you would do so normally.
ActionURL myURL = renderResponse.createActionURL();
then add your parameters,
myURL.setParameter(“user”, “bob”);
When testing in local host – use KSESSIONID for Sakai – could work for non-load balanced situations. In load balanced situations – must run separate servers for Sakai and portal.
http://maven.apache.org/maven-1.x/plugins/war/
If you need to copy the web.xml file in order to replace some filter tokens or simply perform some custom modification to it, simply write a pre-goal to the war:war-resources goal in which you perform the manipulation. Then set the maven.war.webxml property to point to your modified web.xml.