View Full Version : Passing parameters to portal pages

02-10-2006, 03:01 AM
Hello All,

I am not sure that this forum is the right place to ask my question but all the other forums seem to be less suitable than this one.

To the problem: I defined a new portal page and display a portlet that is filled with dials. Everything works well: the page, the portlet, the dials and the xaction. I want to link to this page via a drill url from another portal page. The portlet has an outer param defined and if i click on the page with the drill url the source param is passed correctly, I can see the value (a country btw.) in the URL. This value should be used as an input parameter for the new portlet.

I am using this URL as the drill url but the passed parameter isnt used as the input parameter for the underlying xaction. The default value is used each time and the value in the URL is ignored.


Can somebody explain what I am missing here? Is it possible to link directly to a portal page and pass a value to the underlying xaction?

Regards and thanks for your help

02-14-2006, 09:57 AM
Hello All,

I got it working. If anyone else has a similar problem here is the solution. After reading the portal jsr-168 specification and searching the JBoss portal forums my knowledge about portals increased. Sorry for posting my question.

This link works


You have to define ctrl:id=window.default.$YOUR_PORTLET and ctrl:type=[action|render] and then you can pass your parameters to the portlet.


05-11-2006, 06:32 AM
Thanks for posting that info!