Bad portlet parameter with uPortal 3
------------------------------------
Key: DISPL-637
URL: http://jira.codehaus.org/browse/DISPL-637
Project: DisplayTag
Issue Type: Bug
Components: HTML Generation
Affects Versions: 1.1.1, 1.2
Reporter: Mathieu LARCHET
Here is the bug :
Let's build a simple portlet URL :
<portlet:renderURL var="baseUrl">
<portlet:param name="id" value="toto" />
</portlet:renderURL>
<a href="${baseUrl}">Click here</a>
When I point my mouse over the link, I've someting like
http://portal.univ.fr/render.userLayoutRootNode.target.n25.uP?pltc_target=16.n25&pltp_id=toto&pltc_type=RENDER#n25
Now let's do this with displaytag :
<portlet:renderURL var="baseUrl" />
<d:table name="${itemList}" ...>
<d:column href="${baseUrl}" paramId="id" paramProperty="itemId" />
...
</d:table>
Here's the new URL :
http://portal.univ.fr/render.userLayoutRootNode.target.n25.uP?id=toto&pltc_target=16.n25&pltc_type=RENDER#n25
You can see that 'id' parameter is never portlet encoded (with a ptlp_ prefix),
and you can't get it in your portlet.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel