[JBoss JIRA] Created: (JBPORTAL-1312) Urgent --- Issue creating a Portlet with JSF
by Vijaya Kumar Aalati (JIRA)
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
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
19 years
[JBoss JIRA] Created: (JBAOP-436) Empty Constructor Chain on Generated Advisor Mode
by Flavia Rainone (JIRA)
Empty Constructor Chain on Generated Advisor Mode
-------------------------------------------------
Key: JBAOP-436
URL: http://jira.jboss.com/jira/browse/JBAOP-436
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.alpha5
Reporter: Flavia Rainone
Constructor chain is null if we add a binding like the following one:
AdviceBinding binding = new AdviceBinding("!execution(* org.jboss.test.aop.dynamicgenadvisor.POJO->@org.jboss.test.aop.dynamicgenadvisor.NewAnnotation(..))", null);
binding.addInterceptor(DummyInterceptor.class);
AspectManager.instance().addBinding(binding);
The error is also reproducible with this pointcut expression: "execution(org.jboss.test.aop.dynamicgenadvisor.POJO->*(..))"
But not with "execution(org.jboss.test.aop.dynamicgenadvisor.POJO->new(..))".
What happens is that initializeConstructorChain doesn't create a constructor chain, probably due to some inner mechanism of generated class advisors.
--
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
19 years