1

For e.g. If i am in the page: https://qa-some-server.net/miportal/group/pmas/my-business/accounts/holdings?categoryLevel=3

from one of the jsf portlet, if a link is clicked, it navigates to page a like below with parameters containing namespace :

https: //qa-some-server.net/miportal/group/pmas/my-business/accounts/holdings?_CustodianHoldings_WAR_pmasreportsportlet_categoryLevel=3

_CustodianHoldings_WAR_pmasreportsportlet_ - name space prepends to parameter name categoryLevel

But what i want is - https://qa-some-server.net/miportal/group/pmas/my-business/accounts/holdings?categoryLevel=2

How to hack and get this behaviour ?? ... (Please no alternate approaches. For my application design, this is the only way.) Please let me know if this url parameters can be modified through any means. I tried friendly url mapping, no luck. may be i did wrong. or can this be altered using liferay hook or ext plugin ?? if so pls give me some inputs, so that i can give it a try.

4

1 に答える 1

0

以下の方法でこのパラメータを categoryLevel=3 に設定して確認できますか?

String yourRenderURL = yourRenderURL.toString();
HttpUtil.setParameter(yourRenderURL, categoryLevel, 3);

この助けを願っています!

于 2013-10-11T04:58:14.603 に答える