Hi,
I’m sending one url to the portlet using finishUrl parameter. When I tried to use the redirect to the url that I send in finishURL parameter, I saw that the &wmp_rt=render is removed from my URL, this and all the parameters that I sent after the taskId.
If I print the portletURL content, I’m able to see “&wmp_rt=render” and “showUnderAdmin” parameter. Also, I can see both parameters in the browser when I do the redirect. My problem is that when I try to get the URL in the portlet side, both parameters (“&wmp_rt=render” and “showUnderAdmin”) are missing from the URL.
Hi Vlad,
My problem, is not the url construction, but why the “&wmp_rt=render” and all the parameters after taskId are being removed from the url.
For clarification, this are all the steps that I’m doing:
All this steps are working fine, my problem is in step 3,when I get the url sent in finishUrl parameter, all the parameters after the taskid are missing.
I have tried to add all kind of parameters and it worked fine for me.
If you provide more details (code) about how you build the finishURL and redirectURL then maybe someone on the forum will spot the problem.
PS:
I can see that you do not set the BaseURL and Portlet parameters. Also, the host and port (http://localhost:8585) should not be present in the finish URL, the relative URL is enough.
Hi Vlad,
Sorry for take so long to answer.
My problem was that I wasn’t using the setTargetAction method when building my url. Thanks to your example I was able to fix it.