]
Julien Viet resolved JBPORTAL-1312.
-----------------------------------
Resolution: Cannot Reproduce Bug
Urgent --- Issue creating a Portlet with JSF
--------------------------------------------
Key: JBPORTAL-1312
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1312
Project: JBoss Portal
Issue Type: Release
Security Level: Public(Everyone can see)
Components: Portal Core, Portal Portlet
Affects Versions: 2.4.1 Final
Environment: Windows
Reporter: Vijaya Kumar Aalati
Assigned To: Julien Viet
Priority: Blocker
Original Estimate: 2 weeks
Remaining Estimate: 2 weeks
Hi,
I am trying to use JSF to develop a portlet and when I load the Portlet in a page I get
an error which says:
javax.portlet.PortletException: Org.apache.jasper.JasperException:Exception in JSP
And this exception points to the line in the JSP where the <f:view> tag is defined.
I have pasted the code in my JSP below. Could some one please tell me what is wrong with
it and why I am getting the error.
I am extending the GenericPortlet to write my own Portlet class. I hope this should not
be an issue, correct? In my own Portlet class that I wrote, I am setting the
response.setContentType("text/html"). Would this cause any issue?
Thanks much,
Vijay
<%@ page language="java" session="true" %>
<%@ page import = "java.util.HashMap" %>
<%@ page import = "javax.swing.*" %>
<%@ page import = "javax.portlet.PortletSession" %>
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix="portlet" %>
<portlet:defineObjects/>
<portlet:actionURL var="loginAction">
<portlet:param name="command" value="doLogin" />
</portlet:actionURL>
<f:view>
</f:view>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: