I have changed the myfaces lib with jsf lib. Now i am getting the error :
javax.portlet.PortletException at com.bea.portlet.container.PortletRequestDispatcherImpl.include( PortletRequestDispatcherImpl.java:143) at org.apache.struts2.portlet.result.PortletResult.executeRenderResult( PortletResult.java:200) at org.apache.struts2.portlet.result.PortletResult.doExecute( PortletResult.java:91) at org.apache.struts2.dispatcher.StrutsResultSupport.execute( StrutsResultSupport.java:185) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult( DefaultActionInvocation.java:355) Truncated. see log file for complete stacktrace javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/view/index.jsp index.jsp:16:26: No property editor found for the bean " javax.el.ValueExpression". <h:panelGrid columns="3"> - index.jsp:17:29: No property editor found for the bean " javax.el.ValueExpression". <h:outputText value="Employee Id:" /> ------------ index.jsp:22:26: No property editor found for the bean " javax.el.ValueExpression". <h:outputText value="Back" /> ---- at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :247) at weblogic.servlet.internal.ServletStubImpl.onAddToMapException( ServletStubImpl.java:391) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :309) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java :42) Truncated. see log file for complete stacktrace weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/view/index.jsp index.jsp:16:26: No property editor found for the bean " javax.el.ValueExpression". <h:panelGrid columns="3"> - index.jsp:17:29: No property editor found for the bean " javax.el.ValueExpression". <h:outputText value="Employee Id:" /> ------------ index.jsp:22:26: No property editor found for the bean " javax.el.ValueExpression". <h:outputText value="Back" /> ---- at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java :296) at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200) at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java :235) at weblogic.servlet.internal.ServletStubImpl.onAddToMapException( ServletStubImpl.java:391) Truncated. see log file for complete stacktrace This message is thrown after my action method is called (execute). My JSP file : <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %> <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %> <f:view> <html> <!-- todo: make header variable --> <head> <title>JSF Integration Examples</title> </head> <body> Modify Employee <h:form> <h:panelGrid columns="3"> <h:outputText value="Employee Id:" /> </h:panelGrid> <h:outputLink> <h:outputText value="Back" /> </h:outputLink> </h:form> </body> </html> </f:view> On Thu, Mar 20, 2008 at 12:43 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > First of all, I'm not even sure if it's possible to use the portlet > and the jsf plugin at the same time. I have not tried, but there might > be issues with it if they try to do conflicting things in the > interceptors and the results. > > > struts.xml > > > > <package name="default" extends="portlet-jsf-default" > namespace="/view"> > > > > <action name="index" class="com.mycompany.HelloAction"> > > <interceptor-ref name="basicStack"/> > > <interceptor-ref name="jsfStack"/> > > <result name="success" type="jsf"/> > > <result>/WEB-INF/jsp/view/index.jsp</result> > > </action> > > </package> > > > > A couple of things here. You're extending portlet-jsf-default, which > still has the jsfStack as the default interceptor ref. Since you have > defined a "jsf" package that extends "portlet-jsf-default", you should > probably extend the "jsf" package instead. However, it's probably just > as easy configuring the correct interceptor stack and default > interceptor ref right there in the "portlet-jsf-default" package. In > addition, you're overriding the default interceptor stack in your > action definition, so it's not really using the portletDefaultStack, > even if you had configured your default interceptor stack correctly. > Unless you need to use different interceptors in your action, there's > no need configuring those interceptor-refs there. > > You could also try swapping the order of the portletDefaultStack and > the jsfStack and see if that makes a difference. > > Nils-H > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >