Forums de discussion
[Primefaces] Making a permissionUrl
antoine caron, modifié il y a 11 années.
[Primefaces] Making a permissionUrl
New Member Envoyer: 1 Date d'inscription: 08/06/12 Publications récentes
Hello,
I work for IT&L@bs (Orange Business Services France).
During the preparation of training courses that includes all the basic content that is required to understand and work with Primefaces in portlet environment, we found a bug in creation of permissionUrl during a Resource Phase.
Component: liferay-faces-portal
Method getPermissionsURL(FacesContext, UIComponent) in PermissionsURLRenderer class should use
instead of
Best Regards,
Antoine Caron
I work for IT&L@bs (Orange Business Services France).
During the preparation of training courses that includes all the basic content that is required to understand and work with Primefaces in portlet environment, we found a bug in creation of permissionUrl during a Resource Phase.
Component: liferay-faces-portal
Method getPermissionsURL(FacesContext, UIComponent) in PermissionsURLRenderer class should use
ExternalContext externalContext = liferayFacesContext.getExternalContext();
MimeResponse mimeResponse = (MimeResponse) externalContext.getResponse();
PortletURL portletURL = mimeResponse.createRenderURL();
instead of
L115 : RenderResponse renderResponse = liferayFacesContext.getPortletRenderResponse();
L117 : PortletURL portletURL = renderResponse.createRenderURL();
Best Regards,
Antoine Caron
Neil Griffin, modifié il y a 11 années.