[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1312) Urgent --- Issue creating a Portlet with JSF

Julien Viet (JIRA) jira-events at lists.jboss.org
Wed Jul 11 05:06:31 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1312?page=comments#action_12368541 ] 
            
Julien Viet commented on JBPORTAL-1312:
---------------------------------------

it would be great to know if that is due to a bad usage of JSF or is a problem in portal. It looks like it is the first issue. Thanks Pavel.

> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list