Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Invoking JSF page from a Liferay class ?
Hi,
I am using Liferay 5.2.2
Invoking a JSP page from Liferay code works fine but Invoking a XHtml page from Liferay code does not work.
What is the way to do it?
For e.g.
How can I return an .XHtml page from a class that implements Liferay's ConfigurationAction class ?
I am using Liferay 5.2.2
Invoking a JSP page from Liferay code works fine but Invoking a XHtml page from Liferay code does not work.
What is the way to do it?
For e.g.
public class ActionImpl implements ConfigurationAction {
public void processAction(PortletConfig arg0, ActionRequest arg1,
ActionResponse arg2) throws Exception {
}
public String render(PortletConfig arg0, RenderRequest arg1,
RenderResponse arg2) throws Exception {
return "/pages/some.jsp"; [b] // works fine[/b]
return "/pages/some.xhtml"; [b] // does not work ( as the request does not pass through the FacesServlet )[/b]
}How can I return an .XHtml page from a class that implements Liferay's ConfigurationAction class ?
Hi,
I have quite similar question. Is it possible to integrate JSF with portlet configuration page?
Thanks,
Paweł Zięba
I have quite similar question. Is it possible to integrate JSF with portlet configuration page?
Thanks,
Paweł Zięba
We don't have any examples -- but I would recommend that you use GenericLiferayFacesPortlet instead of GenericFacesPortlet in the <portlet-class> of your portlet.xml descriptor.