RenderKitId and ViewHandler in JSF1.2

I've been reading the JSF 1.2 spec, and I am a bit confused about how the ViewHandler interacts with the view's renderKitId.
From the JSF 1.2 Final Draft (May 2006), Section 9.4.20 (f:view) indicates that the renderKitId attribute is set in this order:
1) user supplied value
2) Application.getDefaultRenderKitId if not null
3) RenderKitFactory.HTML_BASIC_RENDER_KIT
Section 7.5.1 (View Handler) indicates that the ViewHandler .createView calls .calculateRenderKitId "to find out which renderKitId should be used for rendering the view."
Section 2.4.2.2 (Configure the Desired RenderKit) indicates "the default ViewHandler must call calculateRenderKitId() on itself and set the result into the UIViewRoot's renderKitId property."
Does this mean that it is the responsibility of the default ViewHandler .calculateRenderKitId method to follow the steps described in section 9.4.20 for determining the renderKitId to put on the UIViewRoot?
I'm trying to figure this out because I want to know how a custom ViewHandler should act.
I created a ViewHandler implementation for JSF 1.1_01 which delegated everything except .calculateRenderKitId. In .calculateRenderKitId, I determine the type of device that is connecting. If it is a "telnet device" (actually a server sitting between the telnet emulator and the application), I return the renderKitId for a telnet RenderKit. Otherwise, I would delegate (which, in the default case, the default-render-kit-id in faces.config.xml would be used).
I'm trying to figure out how similar functionality would work with JSF 1.2. Ideally, a user-supplied value for the f:view renderKitId should be used if present. Only if it is not present should I check for the telnet device, and, if not, then delegate.
But if my understanding of the JSF 1.2 spec is correct, I would be "interjecting" myself in the middle of the standard processing.

Some people have indicated that they have had success making custom component out of existing components by using a delegation strategy for rendering, decodes, etc.
Alternatively you might need to override the state saving and restore methods to overcome your problems with your existing code.
Another possibility is to use a page fragment, if you are using Facelets or another templating library which supports it.

Similar Messages

  • JSF 1.0 and Portlet API

    Does JSF and Portlet API works together?
    Can we use JSF 1.0 for portlet JSP development?

    JSF 1.0 does include a number of changes specifically to support writing portlets with the JSR 168 API. We didn't quite have time to get that support in "out-of-the-box", but we did make JSF sufficiently configurable that one could add JSR 168 support simply by dropping in a bonus JAR! (If memory serves, that JAR needed to apply decorators to FacesContextFactory and ViewHandler, but my memory is a bit foggy at the moment.)
    -- Adam Winer (EG member)

  • SAP WCEM Salestransactions Item Extension.

    Hi
    I'm trying to get Custom field into Checkout Page of SalesOrder.  I've done necessary implementation by extending ItemBeanImpl and Viewhandler classes.  I've also implemented BAdi in the back end to send data to Web-shop.  I've also updated the UI-Repository & factory-config xml.  Inspite of all these the data is not coming to front end.  It is displaying a message 500 internal server error in the output text.
    Can anybody help me out finding a solution for it?
    Regards
    Karteek

    Hi Karteek
    Like what Denis, you would have to check the log in the NWA of your runtime system. I hope you will be able to get there. Check under Developer Traces and you should be able to pick up what the issue is. 
    If you cannot figure out what is wrong, please provide details of the log so we can be able to help .
    As an alternative to the solution, you can use extension fields/data and provide the necessary extensions and implement the BADI in your backend system to provide the necessary data. I have done this only in the scenario where you are using the backend cart rather than the java cart.
    Regards,
    Brian

  • How to create a view(Component Tree)?

    After I look at the source codes of the RestoreViewPhase.java and ViewHandler,I find that "createView" only to get an instance of the UIViewRoot class,and not add any children at all.So I want to know how JSF can get the component Tree from the "createView" method?

    In fact if the first time a page is accessed, the component tree is only complete AFTER the render response. I must agree that this is lousy. In fact Smile supports a non-JSP model where the component tree is constructed at createView() time. Which allows you to do some initialisation for your new page/screen.
    In the JSP model you have to go through managed beans or setup context upfront, which you don't want because you want the init code for a screen be coded together with that screen.
    In fact I'm still looking for a way to stick with the spirit of the specs, but have a common way to have some 'event handler' that allows you to setup some context when a new screen is accessed.
    Dimitry D'hondt. (http://smile.sourceforge.net)

  • JSF Datatable - Any difference with JSF1.1 and JSF 1.2

    In my project there are lot of Datatables, which retrieve data from the database and display it to the user. For each datatable, the columns are not fixed. I want to create some kind of component that can be reusable.
    It is basically a JSF portlet. Now i have to use RAD 6. RAD 6 supports only JSF1.1. I have to migrate this to RAD7 in the near future. Are there any differences between the Datatable in JSF 1.1 and JSF 1.2?
    I had this approach in mind.
    a) Create the datatable programmatically and put the contents to panelgrid. This way the jsp code will be minimized. Is it a good option.? Are the APIs same in both the versions?
    b) Is it possible to create a custom datatable which can take some key as input. Then based on the key the datatable can be populated with as many columns as desired.
    Please let me know if there are any other good options.
    ~Anitha.

    Doublepost. Please don't use the back button to edit a topic, you're going to repost it. Use the edit button. Continue here: [http://forums.sun.com/thread.jspa?threadID=5336694].

  • NWDS + NWAS 7.2 and JSF1.2

    Hello,
    I've built an JSF1.2 application and changed the context root in properties of my dynamic web project. But i can't reach my application under the path I wish. How can I do this ? Do you have an example ?
    Any hints would be appreciated
    Best regards,
    heinrich

    Solved the problem by creating an application.xml in META-INF in EAR DC with entry for context root.
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="5"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
         <module>
              <web>
                   <web-uri>vendor.comtestui~web.war</web-uri>
                   <context-root>testjsf</context-root>
              </web>          
         </module>
    </application>

  • How to download JSF1.2 API and Documentation ?

    How to download JSF1.2 API and documentations to reference when we are in offline?
    Thanks
    Joe

    Just download Sun JSF 1.2? Unzip it and you'll find the API doc in /javadocs and the TLD doc in /tlddocs.
    http://javaserverfaces.deva.java.net

  • More strange error jsf1.2 (jsf-1.2_04-b01-RC1) and Tomcat 6.0.9

    Hi!
    This error is not a good one. I'm note sure I underdstand it, Do I have a conflict somewhere? I have downloaded jsf-1.2_04-b01-RC1 and jstl1.2.jar. I'm using java 6 and linux.
    Anyone have any hints?
    2007-feb-23 22:46:49 org.apache.catalina.core.StandardContext listenerStart
    ALLVARLIG: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1642)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:455)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
         at java.lang.Thread.run(Thread.java:619)/Perty

    Hi.
    I had similar problem with the Tomcat 6.0.10 and JSF 1.1.
    As there is no answer to this thread I want to share the solution with others.
    In my case the problem gone after removing el-api.jar from the WEB-INF/lib directory of my webapp. Tomcat 6 already contains the el-api.jar in the lib directory.
    Also I do not know if it is the solusion for the JSF 1.2.

  • Weblogic 10 and JSF1.2

    Hi,
    I found few threads in the forum on jsf with weblgoic 10 but they didn't solve my problem.
    I am deploying a web application which uses jsf1.2_01 (due to certain limitations with our environment , i have to use only this version) on weblogic 10 server. Getting below error while deploying the app on the server.
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_01-b04-FCS) for context '/SVCWeb'
    Feb 6, 2012 1:46:29 AM com.sun.faces.spi.InjectionProviderFactory getProviderInstance
    SEVERE: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
    Feb 6, 2012 1:46:29 AM com.sun.faces.spi.InjectionProviderFactory createInstance
    WARNING: JSF1033: Resource injection is DISABLED.
    Feb 6, 2012 1:46:34 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_01-b04-FCS) for context '/SVCWeb'
    Feb 6, 2012 1:46:34 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_01-b04-FCS) for context '/SVCWeb'
    Feb 6, 2012 1:46:34 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_01-b04-FCS) for context '/SVCWeb'
    When I hit the the application url , getting the below error in the server logs:
    <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@3c49760 - appName: 'SVCWeb', name: 'SVCWeb.war', context-path: '/SVCWeb'] Root cause of ServletException.
    java.lang.IllegalStateException: Servlet response already use stream, Writer not possible
    at org.ajax4jsf.webapp.FilterServletResponseWrapper.getWriter(FilterServletResponseWrapper.java:207)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:163)
    at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
    at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    I dont want to use weblogic's implementation of jsf. How can I run my application with the jsf-impl jars which are deployed as part of my war .
    Pleae advice.
    Edited by: 912482 on Feb 6, 2012 12:30 AM

    On some servers it is. Maybe it does not help in your case, but an example configuration looks as:
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd" version="1.2">
        <application>
            <message-bundle>userinterface.resources.messagebundle</message-bundle>
            <locale-config>
                <supported-locale>en</supported-locale>
                <supported-locale>nl</supported-locale>
            </locale-config>
            <view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>
        </application>
    </faces-config>in the web.xml you have to configure the org.ajax4jsf.VIEW_HANDLERS property in you want to use facelets
    <context-param>
            <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
            <param-value>com.sun.facelets.FaceletViewHandler</param-value>
    </context-param>

  • OutputLabel and line breaks doesn't work - Is there a hack for JSF1.2?

    Hello,
    I use JSF 1.2 and Facelets to generate a form automatically. This works so far well. But if I have a label with line breaks, JSF does not convert the line breaks into �
    � tags. Is there a hack to convert line breaks into �
    � tags?
    A little example
    Code:
    <h:outputLabel value="#{component.label}" for="#{component.id}" />
    <h:inputText value="#{component.value}" id="#{component.id}" />component.label = �First Line\nSecond Line�
    component.value = "UserInput"
    This is rendered to:
    First Line Second Line      [UserInput]
    Instead of:
    First Line        [UserInput]
    Second Line One possible solution is to disable �escape�. But this is a bad solution because there are umlauts and angle brackets (�<�,�>�) in some texts for my labels. Does anyone know a better solution?
    Regards
    Martin

    Hi Raymond,
    thanks for your tip. It is a very good idea. But while testing I have found a little problem. with "pre". JSF renders labels like this:
    <label> <---- notice this line break
    Text</label>All labels start with a line break in the HTML code. So all labels start with a line break in the browser too if I use CSS with the "pre" option :(
    Regards
    Martin
    Message was edited by:
    mwinandy

  • JSF1.2 and validation

    Hi,
    I am a newbie to JSF, but I noticed (based on the book I am going though) that validation and validation messages are much better handled in 1.2, in comparison to 1.1. For example, you now get:
         Amount: Validation Error: Value is required.
    Instead of simply just an error. Assuming, of course, you set up a label. However, when I attach my own validation function, this does not happen. This leads me to the conclusion that either my validation classes need to do something before I can access this functionality or the common validation functions/convertors are poorly designed and are concatenating the label/field name. So my question is how do I get the message to print the label for my validation function?
    Thanks.

    Not too sure I want to override every possible error message that can come from the standard validators. What I want is a little explanation. What decides that the message is going to stick a label into the validation message. If it is the validator/convertor then, in my opinion, this is bad design. This is something that the message or messages component should do, not the convertor/validator.
    In fact, that is what I want to do. By what you are suggesting, it seems the only way is to override that message so it does not put the field name in is to override the messages.

  • Resetting the JSF Portlet State in weblogic portal 10.3 and JSF1.2

    Hi ,
    I have a Registration JSF Portlet. It has two pages, “Registration home Page" and " Registration confirm Page". After I,enter the Registration details on " Registration home Page" and click submit, I will get a " Registration confirm Page". Add this JSF Portlet on a page in weblogic portal 10.3. Now visit some other page and comeback to the page on which I added the JSF Portlet, I will see that it is showing " Registration confirm Page", i.e the state is retained.
    My problem is... I want to see " Registration home Page " everytime you visit the page. how can be achieved in weblogic portal 10.3.
    Can any one help me out with this problem ..
    Thanks,
    Ram

    My approach was to programmatically redirect to the page again with _nfpb=false. I do this in the handlePostbackData() method in the portlet's backing file.
    redirectUrl = redirectUrl.replaceAll("_nfpb=true", "_nfpb=false");          
    PortletBackingContext.getPortletBackingContext(request).sendRedirect(redirectUrl);
    Matthias Rohe
    [email protected]
    Edited by: user7964913 on 29.09.2010 04:06

  • Replacement for validator and valueChangeListener attributes in JSF1.2

    Is there a replacement for these now deprecated attributes (in JSF 1.2 according to the proposed final draft). Or is the onlyl solution to use i.e. the f:validate tag and implement the Validator Interface. In this case Validation Methods inside Beansn are gone... right? Why?

    Hello,
    You can tell to JSF that you fields are required only if the submit button was responsible for submiting the form :
    <h:form id="rmName">
    <h:selectOneMenu value="#{mybean.selectedCountry}" valueChangeListener="#{mybean.countryVLC}"
    onchange="this.form.submit();" >
    <f:selectItem itemName="select" itemValue=""/>
    <f:selectItems value="#{mybean.countriesMap}"/>
    </h:selectOneMenu>
    <h:inputText required=”#{!empty param[‘frmName:btnSave’]}” binding="#{mybean.mobileNo}"></h:inputText>
    <h:commandButton id="btnSave" value="btnSave"></h:commandButton>
    </h:form>

  • What are the differences between JSF1.1 and JSF 1.2

    As I am using JSF 1.1 version wanted to know what are the new features 1.2 version is providing.

    Read the release notes.

  • JSF Navigation issue with Webcenter OC4J and Open Portal JSF Bridge

    Hi All,
    I was wondering if anybody had experienced the same issue as per below:
    I have a problem using the Open Portal JSF Portlet Bridge within a oracle webcenter OC4J. I have a trivial application with 2 jsps. The first has a single button, which when pushed navigates to the second screen.
    This app works fine as a stand alone web app and also via the Oracle Faces Bridge using the OC4J. However, when I deploy using the jsfportletbridge 1.1.4 (I'm using the JSF 1.1) - it will not navigate from the first page. It simply refreshes the first page when clicked.
    It looks like there is a problem with navigation. I have traced out the application (which I will include in full below), however the entries which looked relevant were (this occured after the first page was rendered):
    07/06/05 23:49:19 [DEBUG] StateManagerImpl - Begin restoring view in session for viewId /hello.jsp
    07/06/05 23:49:19 [DEBUG] StateManagerImpl - Session Available, but View State does not exist for viewId: /hello.jsp
    07/06/05 23:49:19 [TRACE] LifecycleImpl - Creating new view '/hello.jsp'
    My gut feel is that state is not being retained between requests, so it is just recreating the same view, however I'm at a loss to explain why
    Attached below are the files used & trace log:
    Chris,
    hello.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <f:view>
    <h:form>
    <h:commandButton value="commandButton1" action="success"/>
    <h:messages/>
    </h:form>
    </f:view>
    world.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>world</title>
    </head>
    <body><h:form>
    <h:outputText value="Hello World"/>
    </h:form></body>
    </html>
    </f:view>
    faces-config
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <navigation-rule>
    <from-view-id>/hello.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/world.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    </web-app>
    portlet.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
    http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <description>JSF Sample Portlet</description>
    <portlet-name>jsfsampleportlet</portlet-name>
    <display-name>JSF Sample Portlet</display-name>
    <!-- You must use this Portlet implementation class -->
    <portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>
    <!-- This is a required parameter and must point to the first page of the JSF Application -->
    <init-param>
    <description>Portlet init view page</description>
    <name>com.sun.faces.portlet.INIT_VIEW</name>
    <value>/hello.jsp</value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    <portlet-mode>EDIT</portlet-mode>
    <portlet-mode>HELP</portlet-mode>
    </supports>
    <portlet-info>
    <title>JSF Sample Portlet</title>
    <short-title>jsfsampleportlet</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    Log Trace:
    07/06/05 23:48:10 [DEBUG] ApplicationFactoryImpl - Created ApplicationFactory
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - Created Application instance
    07/06/05 23:48:10 [DEBUG] ApplicationFactoryImpl - Created Application instance com.sun.faces.application.ApplicationImpl@dc1165
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - set ActionListener Instance to com.sun.faces.application.ActionListenerImpl@177cbf7
    07/06/05 23:48:10 [DEBUG] NavigationHandlerImpl - Created NavigationHandler instance
    07/06/05 23:48:10 [DEBUG] NavigationHandlerImpl - Created NavigationHandler instance
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - set NavigationHandler Instance to com.sun.faces.application.NavigationHandlerImpl@1efda65
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - set PropertyResolver Instance to com.sun.faces.el.PropertyResolverImpl@7c329d
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - set StateManager Instance to com.sun.faces.application.StateManagerImpl@6d006c
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - set VariableResolver Instance to com.sun.faces.el.VariableResolverImpl@36b7cc
    07/06/05 23:48:10 [DEBUG] ViewHandlerImpl - Created ViewHandler instance
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - set ViewHandler Instance to com.sun.faces.application.ViewHandlerImpl@10b4509
    07/06/05 23:48:10 [DEBUG] ViewHandlerImpl - Delegating to 'com.sun.faces.application.ViewHandlerImpl@10b4509'
    07/06/05 23:48:10 [DEBUG] ApplicationImpl - set ViewHandler Instance to com.sun.faces.portlet.ViewHandlerImpl@da1b43
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type PortletComponent class com.sun.faces.portlet.PortletComponent
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Column class javax.faces.component.UIColumn
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Command class javax.faces.component.UICommand
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Data class javax.faces.component.UIData
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Form class javax.faces.component.UIForm
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Graphic class javax.faces.component.UIGraphic
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlCommandButton class javax.faces.component.html.HtmlCommandButton
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlCommandLink class javax.faces.component.html.HtmlCommandLink
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlDataTable class javax.faces.component.html.HtmlDataTable
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlForm class javax.faces.component.html.HtmlForm
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlGraphicImage class javax.faces.component.html.HtmlGraphicImage
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlInputHidden class javax.faces.component.html.HtmlInputHidden
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlInputSecret class javax.faces.component.html.HtmlInputSecret
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlInputText class javax.faces.component.html.HtmlInputText
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlInputTextarea class javax.faces.component.html.HtmlInputTextarea
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlMessage class javax.faces.component.html.HtmlMessage
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlMessages class javax.faces.component.html.HtmlMessages
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlOutputFormat class javax.faces.component.html.HtmlOutputFormat
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlOutputLabel class javax.faces.component.html.HtmlOutputLabel
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlOutputLink class javax.faces.component.html.HtmlOutputLink
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlOutputText class javax.faces.component.html.HtmlOutputText
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlPanelGrid class javax.faces.component.html.HtmlPanelGrid
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlPanelGroup class javax.faces.component.html.HtmlPanelGroup
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlSelectBooleanCheckbox class javax.faces.component.html.HtmlSelectBooleanCheckbox
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlSelectManyCheckbox class javax.faces.component.html.HtmlSelectManyCheckbox
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlSelectManyListbox class javax.faces.component.html.HtmlSelectManyListbox
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlSelectManyMenu class javax.faces.component.html.HtmlSelectManyMenu
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlSelectOneListbox class javax.faces.component.html.HtmlSelectOneListbox
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlSelectOneMenu class javax.faces.component.html.HtmlSelectOneMenu
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.HtmlSelectOneRadio class javax.faces.component.html.HtmlSelectOneRadio
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Input class javax.faces.component.UIInput
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Message class javax.faces.component.UIMessage
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Messages class javax.faces.component.UIMessages
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.NamingContainer class javax.faces.component.UINamingContainer
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Output class javax.faces.component.UIOutput
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Panel class javax.faces.component.UIPanel
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.Parameter class javax.faces.component.UIParameter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.SelectBoolean class javax.faces.component.UISelectBoolean
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.SelectItem class javax.faces.component.UISelectItem
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.SelectItems class javax.faces.component.UISelectItems
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.SelectMany class javax.faces.component.UISelectMany
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.SelectOne class javax.faces.component.UISelectOne
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added component of type javax.faces.ViewRoot class javax.faces.component.UIViewRoot
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.BooleanConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.ByteConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.CharacterConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.DoubleConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.FloatConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.IntegerConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.LongConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.ShortConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.BooleanConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.ByteConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.CharacterConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.DoubleConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.FloatConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.IntegerConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.LongConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.ShortConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.BigDecimalConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.BigIntegerConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.BooleanConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.ByteConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.CharacterConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.DoubleConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.FloatConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.IntegerConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.LongConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of class type javax.faces.convert.ShortConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.BigDecimal and class javax.faces.convert.BigDecimalConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.BigInteger and class javax.faces.convert.BigIntegerConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Boolean and class javax.faces.convert.BooleanConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Byte and class javax.faces.convert.ByteConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Character and class javax.faces.convert.CharacterConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.DateTime and class javax.faces.convert.DateTimeConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Double and class javax.faces.convert.DoubleConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Float and class javax.faces.convert.FloatConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Integer and class javax.faces.convert.IntegerConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Long and class javax.faces.convert.LongConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Number and class javax.faces.convert.NumberConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added converter of type javax.faces.Short and class javax.faces.convert.ShortConverter
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added validator of type javax.faces.DoubleRange class javax.faces.validator.DoubleRangeValidator
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added validator of type javax.faces.Length class javax.faces.validator.LengthValidator
    07/06/05 23:48:10 [TRACE] ApplicationImpl - added validator of type javax.faces.LongRange class javax.faces.validator.LongRangeValidator
    07/06/05 23:48:10 [DEBUG] LifecycleFactoryImpl - Created Default Lifecycle
    07/06/05 23:48:10 [TRACE] LifecycleFactoryImpl - Created LifecycleFactory com.sun.faces.portlet.LifecycleFactoryImpl@1776f79
    07/06/05 23:48:11 [TRACE] LifecycleImpl - Created Lifecycle com.sun.faces.portlet.LifecycleImpl@bc9065
    07/06/05 23:48:11 [TRACE] LifecycleFactoryImpl - Added LifecycleId DEFAULT
    07/06/05 23:48:11 [TRACE] LifecycleFactoryImpl - Returned com.sun.faces.portlet.LifecycleImpl@bc9065 for lifecycleId DEFAULT
    07/06/05 23:48:11 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    07/06/05 23:48:53 [TRACE] FacesPortlet - Begin FacesPortlet.init()
    07/06/05 23:48:53 [TRACE] FacesPortlet - End FacesPortlet.init()
    07/06/05 23:48:53 [TRACE] FacesPortlet - Begin FacesPortlet.render()
    07/06/05 23:48:53 [TRACE] FacesPortlet - Retrieved facesContextFactory com.sun.faces.portlet.FacesContextFactoryImpl@1c6395b
    07/06/05 23:48:53 [TRACE] FacesPortlet - Retrieved lifecycleFactory com.sun.faces.portlet.LifecycleFactoryImpl@1776f79
    07/06/05 23:48:53 [DEBUG] FacesPortlet - lifecycleId null
    07/06/05 23:48:53 [TRACE] LifecycleFactoryImpl - Returned com.sun.faces.portlet.LifecycleImpl@bc9065 for lifecycleId DEFAULT
    07/06/05 23:48:53 [TRACE] FacesPortlet - Retrieved lifecycle from lifecycleFactory com.sun.faces.portlet.LifecycleImpl@bc9065
    07/06/05 23:48:53 [TRACE] ExternalContextImpl - Created ExternalContext com.sun.faces.portlet.ExternalContextImpl@df8f81
    07/06/05 23:48:53 [TRACE] FacesContextFactoryImpl - Created FacesContext com.sun.faces.portlet.FacesContextImpl@19e7719
    07/06/05 23:48:53 [TRACE] FacesPortlet - Begin executing RenderResponse phase
    07/06/05 23:48:53 [DEBUG] LifecycleImpl - render(com.sun.faces.portlet.FacesContextImpl@19e7719)
    07/06/05 23:48:53 [TRACE] LifecycleImpl - restore(com.sun.faces.portlet.FacesContextImpl@19e7719,false)
    07/06/05 23:48:53 [DEBUG] ViewHandlerImpl - Created new view for /hello.jsp
    07/06/05 23:48:53 [DEBUG] ViewHandlerImpl - Locale for this view as determined by calculateLocale en_US
    07/06/05 23:48:53 [DEBUG] ViewHandlerImpl - RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
    07/06/05 23:48:53 [DEBUG] LifecycleImpl - Created new ViewRoot with View Id/hello.jsp
    07/06/05 23:48:53 [TRACE] LifecycleImpl - phase(RENDER_RESPONSE 6,com.sun.faces.portlet.FacesContextImpl@19e7719)
    07/06/05 23:48:53 [DEBUG] LifecycleImpl - Begin RenderResponsePhase
    07/06/05 23:48:53 [DEBUG] LifecycleImpl - About to render view /hello.jsp
    07/06/05 23:48:53 [DEBUG] ViewHandlerImpl - About to render view /hello.jsp
    07/06/05 23:48:53 [WARN] ViewHandlerImpl - Unable to determine FaceServlet mapping for servlet path 'null'.
    07/06/05 23:48:53 [DEBUG] ViewHandlerImpl - URL pattern of the FacesServlet executing the current request null
    07/06/05 23:48:53 [DEBUG] ViewHandlerImpl - Found no URL patterns mapping to FacesServlet
    07/06/05 23:48:53 [TRACE] ViewHandlerImpl - Before dispacthMessage to newViewId /hello.jsp
    07/06/05 23:48:53 [TRACE] ExternalContextImpl - dispatchMessage(/hello.jsp)
    07/06/05 23:48:53 [DEBUG] ExternalContextImpl - response content type text/html
    07/06/05 23:48:53 [TRACE] ApplicationImpl - Created component javax.faces.HtmlForm
    07/06/05 23:48:53 [TRACE] FormRenderer - Begin encoding component _id0
    07/06/05 23:48:53 [TRACE] ViewHandlerImpl - Action URL:wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal&wsrp-secureURL=false&wsrp-navigationParameters=&wsrp-navigationalState=com.sun.faces.portlet.VIEW_ID%3D%252Fhello.jsp/wsrp_rewrite
    07/06/05 23:48:53 [TRACE] ApplicationImpl - Created component javax.faces.HtmlCommandButton
    07/06/05 23:48:53 [TRACE] ButtonRenderer - Begin encoding component _id1
    07/06/05 23:48:53 [TRACE] ButtonRenderer - End encoding component _id1
    07/06/05 23:48:53 [TRACE] ApplicationImpl - Created component javax.faces.HtmlMessages
    07/06/05 23:48:53 [TRACE] MessagesRenderer - End encoding component _id2
    07/06/05 23:48:53 [TRACE] ViewHandlerImpl - Begin writing state to response for viewId/hello.jsp
    07/06/05 23:48:53 [TRACE] ViewHandlerImpl - End writing state to response for viewId/hello.jsp
    07/06/05 23:48:53 [TRACE] FormRenderer - End encoding component _id0
    07/06/05 23:48:53 [DEBUG] StateManagerImpl - Begin creating serialized view for /hello.jsp
    07/06/05 23:48:53 [DEBUG] StateManagerImpl - End creating serialized view /hello.jsp
    07/06/05 23:48:53 [TRACE] ViewHandlerImpl - After dispacthMessage to newViewId /hello.jsp
    07/06/05 23:48:53 [DEBUG] LifecycleImpl - End RenderResponsePhase
    07/06/05 23:48:53 [TRACE] LifecycleImpl - save(com.sun.faces.portlet.FacesContextImpl@19e7719,false)
    07/06/05 23:48:53 [TRACE] FacesPortlet - End executing RenderResponse phase
    07/06/05 23:48:53 [TRACE] FacesPortlet - End FacesPortlet.render()
    07/06/05 23:49:19 [TRACE] FacesPortlet - Begin FacesPortlet.processAction()
    07/06/05 23:49:19 [TRACE] ExternalContextImpl - Created ExternalContext com.sun.faces.portlet.ExternalContextImpl@1fee2b4
    07/06/05 23:49:19 [TRACE] FacesContextFactoryImpl - Created FacesContext com.sun.faces.portlet.FacesContextImpl@d5cfd6
    07/06/05 23:49:19 [TRACE] FacesPortlet - Begin Executing phases
    07/06/05 23:49:19 [DEBUG] LifecycleImpl - execute(com.sun.faces.portlet.FacesContextImpl@d5cfd6)
    07/06/05 23:49:19 [TRACE] LifecycleImpl - restore(com.sun.faces.portlet.FacesContextImpl@d5cfd6,true)
    07/06/05 23:49:19 [DEBUG] ViewHandlerImpl - Created new view for /hello.jsp
    07/06/05 23:49:19 [DEBUG] ViewHandlerImpl - Locale for this view as determined by calculateLocale en_US
    07/06/05 23:49:19 [DEBUG] ViewHandlerImpl - RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
    07/06/05 23:49:19 [DEBUG] LifecycleImpl - Created new ViewRoot with View Id/hello.jsp
    07/06/05 23:49:19 [TRACE] LifecycleImpl - phase(RESTORE_VIEW 1,com.sun.faces.portlet.FacesContextImpl@d5cfd6)
    07/06/05 23:49:19 [DEBUG] LifecycleImpl - Begin RestoreViewPhase
    07/06/05 23:49:19 [WARN] ViewHandlerImpl - Unable to determine FaceServlet mapping for servlet path 'null'.
    07/06/05 23:49:19 [DEBUG] ViewHandlerImpl - URL pattern of the FacesServlet executing the current request null
    07/06/05 23:49:19 [DEBUG] StateManagerImpl - Begin restoring view in session for viewId /hello.jsp
    07/06/05 23:49:19 [DEBUG] StateManagerImpl - Session Available, but View State does not exist for viewId: /hello.jsp
    07/06/05 23:49:19 [TRACE] LifecycleImpl - Creating new view '/hello.jsp'
    07/06/05 23:49:19 [DEBUG] ViewHandlerImpl - Created new view for /hello.jsp
    07/06/05 23:49:19 [DEBUG] ViewHandlerImpl - Using locale from previous view en_US
    07/06/05 23:49:19 [DEBUG] ViewHandlerImpl - Using renderKitId from previous view HTML_BASIC
    07/06/05 23:49:19 [DEBUG] LifecycleImpl - End RestoreViewPhase
    07/06/05 23:49:19 [TRACE] LifecycleImpl - save(com.sun.faces.portlet.FacesContextImpl@d5cfd6,true)
    07/06/05 23:49:19 [TRACE] FacesPortlet - End Executing phases
    07/06/05 23:49:19 [TRACE] FacesPortlet - End FacesPortlet.processAction()
    07/06/05 23:49:20 [TRACE] FacesPortlet - Begin FacesPortlet.render()
    07/06/05 23:49:20 [TRACE] ExternalContextImpl - Created ExternalContext com.sun.faces.portlet.ExternalContextImpl@179eb02
    07/06/05 23:49:20 [TRACE] FacesContextFactoryImpl - Created FacesContext com.sun.faces.portlet.FacesContextImpl@133e7a1
    07/06/05 23:49:20 [TRACE] FacesPortlet - Begin executing RenderResponse phase
    07/06/05 23:49:20 [DEBUG] LifecycleImpl - render(com.sun.faces.portlet.FacesContextImpl@133e7a1)
    07/06/05 23:49:20 [TRACE] LifecycleImpl - restore(com.sun.faces.portlet.FacesContextImpl@133e7a1,false)
    07/06/05 23:49:20 [TRACE] LifecycleImpl - End restore()
    07/06/05 23:49:20 [TRACE] LifecycleImpl - phase(RENDER_RESPONSE 6,com.sun.faces.portlet.FacesContextImpl@133e7a1)
    07/06/05 23:49:20 [DEBUG] LifecycleImpl - Begin RenderResponsePhase
    07/06/05 23:49:20 [DEBUG] LifecycleImpl - About to render view /hello.jsp
    07/06/05 23:49:20 [DEBUG] ViewHandlerImpl - About to render view /hello.jsp
    07/06/05 23:49:20 [WARN] ViewHandlerImpl - Unable to determine FaceServlet mapping for servlet path 'null'.
    07/06/05 23:49:20 [DEBUG] ViewHandlerImpl - URL pattern of the FacesServlet executing the current request null
    07/06/05 23:49:20 [DEBUG] ViewHandlerImpl - Found no URL patterns mapping to FacesServlet
    07/06/05 23:49:20 [TRACE] ViewHandlerImpl - Before dispacthMessage to newViewId /hello.jsp
    07/06/05 23:49:20 [TRACE] ExternalContextImpl - dispatchMessage(/hello.jsp)
    07/06/05 23:49:20 [DEBUG] ExternalContextImpl - response content type text/html
    07/06/05 23:49:20 [TRACE] FormRenderer - Begin encoding component _id0
    07/06/05 23:49:20 [TRACE] ViewHandlerImpl - Action URL:wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-mode=wsrp%3Aview&wsrp-windowState=wsrp%3Anormal&wsrp-secureURL=false&wsrp-navigationParameters=&wsrp-navigationalState=com.sun.faces.portlet.VIEW_ID%3D%252Fhello.jsp/wsrp_rewrite
    07/06/05 23:49:20 [TRACE] ButtonRenderer - Begin encoding component _id1
    07/06/05 23:49:20 [TRACE] ButtonRenderer - End encoding component _id1
    07/06/05 23:49:20 [TRACE] MessagesRenderer - End encoding component _id2
    07/06/05 23:49:20 [TRACE] ViewHandlerImpl - Begin writing state to response for viewId/hello.jsp
    07/06/05 23:49:20 [TRACE] ViewHandlerImpl - End writing state to response for viewId/hello.jsp
    07/06/05 23:49:20 [TRACE] FormRenderer - End encoding component _id0
    07/06/05 23:49:20 [DEBUG] StateManagerImpl - Begin creating serialized view for /hello.jsp
    07/06/05 23:49:20 [DEBUG] StateManagerImpl - End creating serialized view /hello.jsp
    07/06/05 23:49:20 [TRACE] ViewHandlerImpl - After dispacthMessage to newViewId /hello.jsp
    07/06/05 23:49:20 [DEBUG] LifecycleImpl - End RenderResponsePhase
    07/06/05 23:49:20 [TRACE] LifecycleImpl - save(com.sun.faces.portlet.FacesContextImpl@133e7a1,false)
    07/06/05 23:49:20 [TRACE] FacesPortlet - End executing RenderResponse phase
    07/06/05 23:49:20 [TRACE] FacesPortlet - End FacesPortlet.render()

    I'm missing some things in your portlet.xml deployment descriptor.
    It looks like your application doesn't make use of a JSF binding layer, so it should be enough to initialize a Faces lifecycle listener like this:
    <init-param>
    <name>DefaultPage.view</name>
    <value>/index.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener
    </value>
    </init-param>
    The DefaultPage.view parameter specifies the default page of the application to use as the View mode for the portlet. Its location is relative to the web-app-context-root and always start with a /.
    The BridgeLifecycleListeners parameter specifies the filter classes to use. You must ensure that your portlet.xml file is configured to match the filters specified in your web.xml file. If you do not have the proper classes defined in portlet.xml, then you will receive a missing class error. You specify the classes in the BridgeLifecycleListeners init-param in your portlet.xml file:
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>listener_class_n[,listener_class_n+1,...]</value>
    </init-param>
    For example, suppose that your application includes AdfFacesFilter filter in its web.xml:
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    You would then need to include the following class in your portlet.xml:
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener
    </value>
    </init-param>
    Similarly, suppose that ADFBindingFilter filter is defined in web.xml as follows:
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    You would then need to include the following in your portlet.xml:
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,
    oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
    </value>
    </init-param>

Maybe you are looking for