Portlet - dataUrl JSF

Hi,
I have a requirement to make an AJAX call to a JSF Portlet to retrieve some data. I coed as per the steps given in Weblogic portal JSF whitepaper (page 90).
But when i make the AJAX call to the dataUrl, i get the data with the mark-up as a portlet and not just the data. Also, the page called by AJAX has the following contentType set to "application/json;charset=UTF-8".
How do I just get the data and not the entire markup?
Thanks.
Venkat

RayDeCampo wrote:
JSF was designed to support portlets, so you are OK on that side. If that were true, then why the need for bridges?
http://jsfportletbridge.java.net/
http://myfaces.apache.org/portlet-bridge/index.html
http://www.jboss.org/portletbridge

Similar Messages

  • PDK portlet and JSF

    Is there a way to use jsf in pdk portlets? Or a least does someone have experience writing some kind of wrapper provider for jsr168 portlet.
    thanks for advance

    Have you tried one of the following (just toughts):
    a) Just bundle the portlet-bridge-jsf.jar from Jdev (JDEV_HOME\adfp\lib\)
    b) Use the JSF/Portlet Bridge from dev.java.net (https://jsfportletbridge.dev.java.net/public/Download.html)
    c) Use portlets-bridges-jsf (http://portals.apache.org/bridges/multiproject/portals-bridges-jsf/index.html)
    d) MyFaces comes with a portlet-bridge (http://wiki.apache.org/myfaces/UsingPortletUtil)
    e) Use Spring-Portlet-MVC (Springframework 2.0.3), and use JSF as the View technology
    So, there are a lot of possible solutions out there, just have to find out, what helps you most. (I'M myself on the Spring-Portlet-MVC path, and hope that I get ADF-Faces working, somehow. All on Java 1.4 and on Oracle iAS10gR2).

  • Can i make portlet by JSF or ADF

    Hi All
    can I make portlet by JSF or ADF ?
    if I can , what do I need to deply it
    which version of infrastructure and middle-tier to deply it?
    do I need web-cetener OR SOA Suite ?
    thanks

    Good question !
    I would also like to know what is required to build and run an AJAX-enabled JSF page inside an Oracle portlet. There seem to be a few options for each component:
    JDeveloper ? 10.1.3.2 with WebCenter /or 11g preview
    JSF ? Oracle ADF Faces 11g tech preview /or Apache Trinidad 1.2.1
    OC4J portlet container ? 10.1.3.2 /or 11g preview
    Portal Faces Bridge ? which version ...
    Portal Server ? which version ...
    WSRP protocol ? v1 /or v2 ...
    This is a great start:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html
    which says you can run the ADF Faces 11g preview on the OC4J 11g preview, either standalone or embedded in the JDev 11g preview, but it doesn't mention portlets.
    These are also good links for older JSF-in-a-portlet:
    http://blogs.oracle.com/shay/2007/02/02#a315
    http://www.oracle.com/technology/products/jdev/viewlets/1013/portletize_jsf_pages_viewlet_swf.html
    but are based on JDev 10.1.3.2 WebCenter, and don't mention the new Rich Client AJAX-enabled technology previews.
    This is good for Trinidad integration:
    http://www.oracle.com/technology/products/jdev/howtos/1013/trinidad/trinidad.html
    but is also based on 10.1.3.2 and does not mention portlets.
    I suppose it comes down to the availability of a Portal Faces Bridge library for the new preview, and whether there are any dependencies on the WSRP protocol and the Portal Server ????
    Mik

  • JSR 168 Portlets with JSF Content

    Is there any news on the possibility of achieving this.
    Should I go ahead and do it myself using MyFaces and the Apache Portals JSF Bridge?  (or try and leverage the WebSphere JSF tooling using the Apache Portals JSF Bridge)?   Or use the Sun JSF-Portlet Bridge?
    Thanks,
    Don

    Don,There is a JSR-168 / JSF portlet bridge that I tested on our portal a few months ago that worked pretty well. It required a lot of changes to the faces-config.xml file and the addition of a bridge jar. I think it also had some drawbacks in regards to the use of sub-views in a JSF page.If you are not tied to using JSR-168, a better solution might be the new JSF filter, which is similar to what we do with .NET Web controls. It allows JSF applications to run as portlets and refreshes the portlet using in-place-refresh (AJAX). This filter is simple to set up, well documented, and can be found at: http://portal.plumtree.com/portal/server.pt?space=CommunityPage&cached=true&parentname=CommunityPage&parentid=0&in_hi_userid=63776&control=SetCommunity&CommunityID=2758&PageID=5913under the name "Java Portlet Tools".Let me know which solution you are interested in. The JSF / JSR-168 bridge is available from Sun as development source code but you will probably want to use some of the helper classes that I wrote for it. These classes are not publically available, but I can send you a jar if that's what you need.Andy
    ------- Don Brady wrote on 6/2/05 9:11 AM -------Is there any news on the possibility of achieving this.Should I go ahead and do it myself using MyFaces and the Apache Portals JSF Bridge? (or try and leverage the WebSphere JSF tooling using the Apache Portals JSF Bridge)? Or use the Sun JSF-Portlet Bridge?Thanks,Don

  • Jetspeed 2 - developing portlets using JSF

    Hi All,
    I think Jetspeed 2 is very different from Jetspeed 1.X , they now support JSR-168 and the interface is very nice with its own cms.
    I am very new to it, but i think the new release is pretty nice for open source portal. It sure looks much nicer then Jboss portal.
    Can someone help me, ive developed a portlet in JSC 2 but i dont understand how jetspeed is deploying portlets, i did everything, deployed portled OK and wrote psml file and placed it in pages folder of jetspeed.
    It uses maven which i am very unfamiliar with. Can someone describe please what it means to rebuild portal?
    Anyways the error that i get is " cannot find description " or somethign of the sort.
    If someone is willing to help me out, please contact me at [email protected]
    Thank you kindly,
    Serge

    Hello,
    Just put the portlet war file into "webapps/jetspeed/WEB-INF/deploy"

  • WLP10.3.1 Any similar feature JSF portlets like refreshAction in PF Portlet

    Is there is any similar feature in JSF portlets like refreshAction in PageFlow(beehive) Portlets?
    Thanks in advance.
    Edited by: mnp on Jul 1, 2010 7:29 AM

    Does JDev support portlet development for non-OracleAS java containers?
    Portlets developed in JDeveloper may be deployed to another application server that supports portlets.
    Are the Web Center Suite / Portlet Development tools a plug-in for Jdeveloper?
    The WebCenter extension for JDeveloper is pre-configured in JDeveloper.
    Currently I use JDeveloper ADF BC / JSF and deploy to Tomcat; I'd like to include portlets in our web application.
    Embedding Portlets in JSF pages -http://www.oracle.com/technology/products/jdev/viewlets/1013/jsfwithportlets_viewlet_swf.html?
    Creating Portlets from JSF pages -
    http://www.oracle.com/technology/products/jdev/viewlets/1013/portletize_jsf_pages_viewlet_swf.html?

  • How to open a jsp page inside a portlet directly ,Cannot find FacesContext

    Hi
    Thank you for reading my post.
    I have a portlet (a jsf portlet build by JSC) , now i need to open a window that
    will show some information , i managed to open the pop-up and pass some parameters to popup
    but right now , i do not know what is my jsp file url
    as you know portlets are deployed diffrent than plain web jsf application.
    I find that if i use
    http://localhost:28080/Adv/viewMessageDetails.jsp?messageID=10
    it will open the page , but unfortunetly it return an error like :
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.servlet.jsp.JspException
    Cannot find FacesContext
    Possible Source of Error:
    Class Name: javax.faces.webapp.UIComponentTag
    File Name: UIComponentTag.java
    Method Name: doStartTag
    Line Number: 405
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    and some stack trace.
    how i can fix this problem ?
    thank you

    In portlet project, to navigate between pages, you should not use the URL property to link to a page. Instead, portlets use navigation via action handling. You use the Page Navigation editor to set up links to pages; that is, the navigation editor sets the action property.
    Here is an example to hyperlink ans button to open a new page:
    # From within the IDE, create a new portlet project. This action creates the project and one page, PortletPage1.jsp.
    # Create a second portlet page, called PortletPage2.jsp, for the project.
    # Drop a Hyperlink component onto the first portlet page, PortletPage1. (You can drop the Hyperlink on the page in the Design window or on the PortletPage1 node in the Outline window.) Change the Hyperlink's text property to Next Page.
    # Drop a Button component (found in the Basic section of the Palette) onto the second portlet page, PortletPage2.
    # Open the Page Navigation Editor. It displays the two pages (PortletPage1.jsp and PortletPage2.jsp) of the application.
    # Click the PortletPage1.jsp icon in the Navigation window to expand it, and then drag a connector from hyperlink1 to PortletPage2.jsp. Change the name of the connector from case1 to Page2.
    # Click the PortletPage2.jsp icon in the Navigation window to expand it, and then drag a connector from button1 to PortletPage1.jsp. Change the name of the connector from case1 to Page1.
    # Run and deploy the portlet. The browser displays PortletPage1 and you should see the Next Page hyperlink. When you click the Next Page hyperlink, the Apache Pluto Portal server displays PortletPage2. Click the Page2 button to return to PortletPage1.
    Sherry
    Creator Team

  • 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>

  • Portlets in showOneTab do not function correctly

    Hi!
    I have created a WebCenter application in JDev 10.1.3. We have some JSF portlets (using JSF Portlet Bridge) and have grouped those on a webcenter page using a showOneTab component. I encounter the following problem: when the portlet contains an ADF table with more than, say, 10 records, I cannot scroll through the resultset anymore after having clicked on a tab.
    The portlet on the first tab is functioning correctly (with table scrolling etc) until the tab header is clicked or another tab is activated.
    The same problem occurs on a showOnePanel, so it probably is a problem with all showOne... components.
    Is there a fix for this?
    Regards,
    Jeroen van Veldhuizen

    It kind of depends how the equation is set in FM and what paragraph style follows. This affects the CSS setting used in the epub for the line height properties and consequently the paragraph separations. You might have to tweak the CSS being used in the epub.
    If you're using an anchor paragraph to hold the equation, then it may suffice to play with the spacings for just that one paratag in FM. It's sometimes necessary to use a different FM template that makes adjustments to the paratags in order to optimize the outputs created by the Publish module. You can then specify that the tweaked template(s) be applied to your FM content during the Publish step.

  • JSF support on Oracle 10.1.4 Portals

    Hi,
    We are planning to use Oracle Portals version 10.1.4
    I have read that the new version of Portals can be used to publish JSF as portlets using JSF-Bridge (coming with Web center Suite).
    This looks little expensive option..
    Does Oracle Portals support use of JSF and struts ???
    How about using ADF-struts ??
    which is better and is supported in the new version 10.1.4 Portals??
    We would like to use JSF specifications for our View components...what will be our best choice on Oracle Portals??
    Please let me know
    Thank you
    Malathi

    It will be an expensive one :)

  • JSF 1.2 RI and facelets

    Hello, we have some component library that builds on JSF 1.2 RI and facelets. Usually JSF 1.2 cannot run on WLS 9.2 because it requires JSP 2.1 (thus weblogic 10). However,
    since we use facelets and thus no JSP, in this case JSF 1.2 can run on WLS 9.2 (and it does work).
    However to run as portlet, we need to use some JSF portlet bridge.
    Does anyone have experience with this? We would like to try two ways:
    1. Bridge to JSR 168 as local portlet, then run this afterwards as a WSRP remote portlet (once you have a local portlet running this should cause no issues).
    We already have it running (with some issues, using the sun jsf portlet bridge which is tuned towards JSF 1.2) inside pluto, no I'll try out WLS portal and I would expect no extra issues since we already have a JSR-168 compliant portlet. What do you think?
    2. Bridge directly to WSRP bypassing JSR 168. I read that BEA provides a bridge (which then can even run as a simple producer not requiring a portal domain but may run in a normal WLS domain) that does this. I do suspect that this bridge is specifically tuned to JSF 1.1 and JSP (maybe even to weblogic provided JSF tags) and it might be quite hopeless to get JSF 1.2 RI + facelets to run in this way.
    Before wasting my time I would be grateful if someone could shed some light on this.
    Regards,
    Peter Mutsaers
    Edited by mutsaers at 03/21/2007 5:49 AM

    I'm having issues with JSR 168 portlet with JSF v1.1 (Sun RI) on BEA Portal 9.2. See http://forums.bea.com/bea/thread.jspa?threadID=400002399. I've not had any luck with BEA support so far. It'll be great if you can share your thoughts/experiences with JSF and JSR 168.
    Thanks.

  • BI portlet "Authentication error" on WebCenter

    Hi, all
    I'm trying to deploy BI reportUI portlet to WebCenter server.
    Following the introduction on BI document:
    1. Download sawjsr168portlets.war
    2. Edit portlet.xml and set oracle.bi.presentation.sawserver.URL, oracle.bi.presentation.portlets.jsr168.reportui.AdminUserName and oracle.bi.presentation.portlets.jsr168.reportui.AdminPwd
    3. Deploy the portlet to Jdevelper preconfigured OC4J successfully.
    4. Consuming BI ReportUI portlet within JSF page
    After I click "customize" of the generated "Oracle Business Intelligence Report View Portlet" and input the "report path", which is a qualified URL accessible on IE brower,
    a error displays:
    "Authentication error. Details: An invalid User Name or Password was entered."
    Check the log file and find some error message like:
    <sawsoape:Message>State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43001] Authentication failed for PUBLIC in repository Star: invalid user/password. (08004)</sawsoape:Message>
    I'm sure the admin user name and password are both set correctly in "portlet.xml" file.
    Any suggestion or help are highly appreciated! Thanks.
    regards,
    Rongrong Wang

    I was able to resolve the authentication error by securing the web center application using container based security.
    I got a report to display on my page, but was getting the below error on my server logs:
    2008-01-21 15:08:18.531 WARNING Error in Siebel Analytics ReportUI portlet
    Jan 21, 2008 3:08:18 PM org.apache.axis.client.Call invoke
    SEVERE: Exception:
    org.xml.sax.SAXException: Bad types (class java.lang.String -> class com.siebel.analytics.web.soap.AuthResult)
         at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:286)
         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
         at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
         at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
         at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
         at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
         at org.apache.axis.client.Call.invoke(Call.java:2448)
         at org.apache.axis.client.Call.invoke(Call.java:2347)
         at org.apache.axis.client.Call.invoke(Call.java:1804)
         at com.siebel.analytics.web.soap.SAWSessionServiceStub.impersonateex(SAWSessionServiceStub.java:540)
         at com.siebel.analytics.web.portlets.jsr168.SAWConnection.init(SAWConnection.java:80)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.getSAWConnection(ReportUI.java:905)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.getSAWPage(ReportUI.java:1010)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.doViewIFrameWithActionLinks(ReportUI.java:422)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.doView(ReportUI.java:178)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.doDispatch(ReportUI.java:1052)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
         at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:161)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:867)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:70)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:675)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1448)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:86)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Also when I click on a filter list box in the report, the portlet breaks. It tries to call the below url
    http://xx.yy.zz.zz1:yyyy/biee/sawbridge?SAWServer=Enc_f90c1fd07336dfa8f51c4dc19eb2efe516fc155234bba315c39fa2dada94a1f0d879a0bcb4100abce14e85a9f576c6f5&RedirectURL=saw.dll%3fNoAuthGo
    Any help would be appreciated.
    Regards,
    Aneesh

  • How to use oracle Portal with JDeveloper 10.1.3 ADF JSF

    Hi all
    I use JDeveloper 10.1.3
    I found out that the latest Portal 10.1.4 does not support JSF ADF
    IF I WANT USE PORTAL ,WHAT SHALL I DO?
    Thanks

    OracleAS Portal 10.1.4 does not support JSF portlets.
    JSF support in OracleAS Portal is in development.

  • Portlets Newbie

    Hello,
    I am new to portlets. I have made a few portlets using JSF. Now I have to include tabbed portlets. I don't know where to start from. Please help me. I am inspired with the portlets at yahoo.com. I am wondering if I can design such interactive portlets. How do I start with tabbed portlets? Please help me by providing me material for this. I am sorry if this is the wrong forum...
    Muhammad Kashif Nazar,
    Software Engineer,
    Digitania

    How would you create a web page with tabs in it? It is done the same way in a portlet. A portlet is not significantly different from a servlet, the main difference is they can be added to to a page so that a single page can be running several portlets at the same time.
    Tabs are really no more then a visual trick. Format a list of link horizontally and style them with rounded edges or what ever visual queue you desire.

  • Handling Exception/Runtime Exception in JSF

    Hi,
    Any good pointers to documents describing proper error handling.
    Not just navigation rules to an error.jsp file but also handling of runtime exceptions and exceptions in backing beans where you cannot use navigation rules (calling a method from JSF EL etc.).
    I am developing jsr 168 portlets using jsf on websphere portal.
    I can't get the error handling via web.xml to function and other places I can't manually make it go to an error.jsp in case of exceptions.
    How to handle the runtime exception in JSF.
    1. By including following tags in web.xml
    <error-type>
    <error-exception></error-exception>
    <error-loaction>/error.jsp</error-loaction>
    </error-type>
    its not working.
    2. If include the
    <%@page errorPage="../error/GenericError.jsp" %>
    in jsp page then
    it is not forwading to error page giving asaertion failure exception
    If we change the GenericError.jsp tag like
    <f:view>
    </f:view>
    to
    <f:subview>
    </f:subview>
    then it is going to error page but the
    action inside the error page is not getting called its backing bean
    Here is code of error.jsp
    <%-- jsf:pagecode language="java" location="/JavaSource/pagecode/JSPs/ErrorPage1.java" --%><%-- /jsf:pagecode --%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ page isErrorPage="true" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    </head>
    <body>
    <div class="errorMessage"><%= exception.getLocalizedMessage() %></div>
    <f:subview id="name">
    <h:commandButton action="#{OSPMTASecurityBean.cancel}" value="submit"/>
    </f:subview>
    </body>
    </html>

    If you would like to handle and navigate based on the exception type, this code would help you. btw I'm not familiar with portlet though.
    http://sourceforge.net/projects/optionzero
    http://sourceforge.net/forum/forum.php?forum_id=666191
    You can declare exception type and navigation in faces-config.xml in declarative manner like Struts global exception notion.
    Please let me know it's useful or not.
    thanks,

Maybe you are looking for