so far i was in the impression that the portletApi:encodenamespace encodes the parameter, based on the portletid. but this scenario proves that its not only based on the portletid.. but also follows some other logic...
i have a portlet that conditional includes either a.jsp or b.jsp. I have a variable var on both the jsp. the variable is encoded... but then the encoding is different on both of them..
also.. wondering.. how are the variables in the themes encoded??
Joined: Jun 01, 2006
I hope this caters to your requirement. But if i have the following components in my portal page then i use the following to retrieve the id.