-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: liferay-faces-3.1.3-ga4, liferay-faces-3.1.4-ga5, liferay-faces-3.2.4-ga5
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
LiferayURLGeneratorBaseImpl.generateURL() needs to handle the plid, refererGroupId, and portlet URL anchor parameters.
To handle the plid and refererGroupId parameters, this code needs to be added to LiferayURLGeneratorBaseImpl.generateURL():
// Possibly add the p_l_id parameter. String plid = parameterMap.get("p_l_id"); if (plid != null) { appendParameterToURL("p_l_id", plid, url); } // Possibly add the refererGroupId parameter. String refererGroupId = parameterMap.get("refererGroupId"); if (refererGroupId != null) { appendParameterToURL("refererGroupId", refererGroupId, url); }
Handling the portlet URL anchor parameter requires additional processing due to the fact that it is not a simple name=value URL parameter.