Use pop-up in adf faces, have a probleam

Hi all, i have a probleam, please help me!
1.
from page1.jspx , click command link:
in backing of page1: ADFUtils.perFormNavigation("golink");
after, link to page2.jspx
2. from page2.jspx, show pop-up
in code html of page2.jspx: useWindow="true"
partialSubmit="true"
action="#{backing_Page2.commandButton1_action}"
in backing of page2: ADFUtils.perFormNavigation("dialog:pop");
after: close pop-up
3. page2.jspx
click go back of IE, then don't return page1.jspx
why?
help me!
thanks

User,
A few things:
First, if all you are doing in the backing bean is ADFUtils.perFormNavigation - why not just put the navigation case into the action property directly? This isn't the cause of your "issue," but it's they way I would do it.
Second, you don't mention which version of JDev you are using. Not that it matters so much, but it's always a good idea to say.
Third, JSF and the back button on your browser don't really play nicely together. The reason that you don't go back to page1.jspx is that there are three requests going on:
(1) get page1.jspx
(2) postback to page1.jspx, displaying page2.jspx
(3) postback to page2.jspx, displaying the popup
( ) (popup is closed here)
After you close your popup, the history in your browser looks like this:
(1)
(2)
(3) <== this is the current page
So, when you go back, you get this:
(1)
(2) <== this is the current page
(3)
The current page after you have gone back, as you can see, is page2.jspx.
That is why.
The solution: don't use the browser back button; put a "go back" button on page2.jspx that executes a navigation case to go to page1.jspx.
I see below that Frank concurs ;)
Best,
John

Similar Messages

  • Using dialog box in adf face

    hello,
    I like to know if it's possible to use the dialog of adf faces to meet these needs
    A) in case i want to insert row in the table :
    1- verify if the information that i try to insert doesnt exist in database, if not a dialog must displayed to inform that we can't insert because the information already exist.
    2- once the user click on the insert button, another dialog message must be displayed to ask the user to confirm the insert operation, the dialog will be an OkCancel type .
    3- After the insert operation is complete, a last dialog message must be displayed to confirm that the insert operation is succesful.
    B) in case of delete row operation :
    1- a dialog of confimation must be displayed (OkCancel), after the user click delete button.
    2- a second dialog message stating that the delete operation is successful.
    my last question is if its possible to use one dialog message and change his parameter according to the situation.
    that's all, i look for the simplest solution
    thank you in advance

    actually I do not want the action to be triggered from the dialog box, because with this method I would have to create a popup object for each control, I'd rather create my dialog boxes from code. I have an example that can generate a dialog box to type information :
    public String cb1_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Commit");
    Object result = operationBinding.execute();
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage( FacesMessage.SEVERITY_INFO, "Success", null));
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    return null;
    but I do not know how to make this dialog box to be interactive so that i can choose one of two action ok or cancel and after binding an event to each action (okay or cancel)
    thanks

  • How to use JavaScript Calendar with ADF Faces ?

    Hi All,
    Our application is running under limited bandwidth so that we want to use clientside/javascript calendar instead of the ADF Faces calendar (server side).
    I already have the javascript that will pop-up calendar selection dialog when invoked.
    Using JSP, this is working perfectly, BUT I don't know how to integrate this Javascript calendar with ADF Faces form.
    How can I do that ?
    Attached below is the JSP that works with script :
    <f:view>
    <html>
    <head>
    <script language="JavaScript" src="ts_picker.js">
    </script>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>Calendar</title>
    </head>
    <body>
    <form name="tstest">
    <input type="Text" name="timestamp" value="">
    <img src="cal.gif" width="16" height="16" border="0" alt="Click here to get the date">
    </form>
    <h:form>
    </h:form>
    </body>
    </html>
    </f:view>

    Hi,
    ADF Faces does not provide a method that allows you to call JavaScript on the client. This may change in upcoming versions
    Frank

  • How to  we  use Tiles Framework  with ADF Faces  ?

    Hello Every body,
    Can anyone tell me whether We mix Tiles framework of Struts, and ADF Faces Framework?
    I 've found that we can mix JSF and Tiles, but can we use ADF Faces and Tiles together?
    Waiting for your answer!
    Thanking you ,
    Samba.

    Dear Experts,
    Please help me !
    As I could not get enough help from you masters,
    I set out to do on my own, hoping that at some time you would come to my rescue.
    I designed a simple jspx page SiteLayout.jspx whose code is given below:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:c="http://java.sun.com/jstl/core"
    xmlns:tiles="http://jakarta.apache.org/struts/tags-tiles">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>SiteLayout</title>
    </head>
    <body>
    <h:form binding="#{backing_SiteLayout.form1}" id="form1">
    <af:table id="PageLayout" width="100%" >
    <!-- <tiles:getAsString name="title" /> -->
    <f:subview id="siteview">
    <tiles:insert definition="siteLayoutDef">
    <af:table id="headertable" width="100%">
    <tr>
    <td width="100%" colspan="2">
    <f:subview id="header">
    <tiles:insert attribute="header"/>
    </f:subview>
    </td>
    </tr>
    <tr>
    <td width="100%" colspan="2">
    <f:subview id="topview">
    <tiles:insert attribute="topmenu"/>
    </f:subview>
    </td>
    </tr>
    <tr>
    <td width="100%" colspan="2">
    <f:subview id="navigationview">
    <tiles:insert attribute="navigationbar"/>
    </f:subview>
    </td>
    </tr>
    <tr>
    <td width="30%">
    <f:subview id="leftview">
    <tiles:insert attribute="leftmenu"/>
    </f:subview>
    </td>
    <td width="70%">
    <f:subview id="contentview">
    </f:subview>
    <tiles:insert attribute="content"/>
    </td>
    </tr>
    <tr>
    <td width="100%" colspan="2">
    <f:subview id="footerview">
    <tiles:insert attribute="footer"/>
    </f:subview>
    </td>
    </tr>
    </af:table>
    </tiles:insert>
    </f:subview>
    </af:table>
    </h:form></body>
    </html>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_SiteLayout-->
    </jsp:root>
    My SiteLayout.jspx defines the layout of the pages on my Web application.
    My Home page is this:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:afc="http://xmlns.oracle.com/adf/faces/webcache"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:afi="http://xmlns.oracle.com/adf/industrial/faces"
    xmlns:graph="/webapp/graph.tld"
    xmlns:c="http://java.sun.com/jstl/core"
    xmlns:tiles="http://jakarta.apache.org/struts/tags-tiles">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Home</title>
    </head>
    <body>
    <!-- <tiles:getAsString name="title" ignore="true" /> -->
    <h:form binding="#{backing_Home.form1}" id="form1">
    <tiles:insert definition="siteLayoutDef" flush="false">
    <tiles:put name="header" value="/Header.jspx" />
    <tiles:put name="footer" value="/Footer.jspx" />
    <tiles:put name="leftmenu" value="/LeftMenu.jspx" />
    <tiles:put name="content" value="/Content.jspx" />
    <tiles:put name="header" value="/TopMenu.jspx" />
    <tiles:put name="footer" value="/NavigationBar.jspx" />
    </tiles:insert>
    </h:form>
    </body>
    </html>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_Home-->
    </jsp:root>
    My <tiles-defs> page is this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
    <definition name="tiles-defs"/>
    <definition name="siteLayoutDef" path="/SiteLayout.jspx">
    <!--<put name="title" value="SiteBean.getQuoteofDay()" /> -->
    <put name="header" value="/header.jspx" />
    <put name="footer" value="/footer.jspx" />
    <put name="content" value=""/>
    <put name="topmenu" value="/TopMenu.jspx"/>
    <put name= "leftmenu" value="/LeftMenu.jspx"/>
    <put name="navigationbar" value="/NavigationBar.jspx"/>
    </definition>
    </tiles-definitions>
    My Web.xml is this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <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>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <!-- Tiles ViewHandler config file -->      
    <context-param>      
    <description>Tiles configuration      
    definition files and a listener need to be defined.      
    the listener will initialize JspTilesViewHandlerImpl with tiles definitions.      
    </description>
    <param-name>tiles-definitions</param-name>      
    <param-value>/WEB-INF/tiles-defs.xml</param-value>      
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml, /WEB-INF/tiles-defs.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.jspx</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.ALTERNATE_VIEW_HANDLER</param-name>
    <param-value>
    org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl
    </param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <servlet>
    <servlet-name>Tiles Servlet</servlet-name>
    <servlet-class>
    org.apache.struts.tiles.TilesServlet
    </servlet-class>
    <init-param>
    <param-name>definitions-config</param-name>
    <param-value>/WEB-INF/tiles-defs.xml</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <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>
    The Error I'm getting is :
    IllegalStateException :No ADFRenderingContext;
    What happened?
    Where did I go wrong?
    could you please help me?
    Thanking you in advance,
    Waiting for your response,
    Samba.
    Message was edited by:
    saasira
    Message was edited by:
    saasira
    Message was edited by:
    saasira

  • How to use Multiple selection in ADF faces

    i i would like to know how to use an multiple selection (ADF select many choice) to update the database.

    Hi,
    Timo is correct that there is no automated way for doing this. You can access the select many selection from a managed bean either accessing the ADF binding layer or by referencing a managed bean array property. So the use case is important. Use case would include the database attribute type to update
    Frank

  • Error while using metaContainer facet in ADF Faces EA19

    Hi all,
    i have some problem with using mataContainer facet.
    I use it in the next way:
    <af:document>
    <f:facet name="metaContainer">
    <meta http-equiv="refresh" content="5; URL=../logout.faces" />
    </f:facet>
    </af:document>
    It works, but there are some errorrs on the page: some texts are shown with wrong high. In the genereted source of the page is the meta tag at the start of the page, not in the head.
    Q1: what can be the cause of the error?
    Q2: how can i get the correct path in these context instead of ../ ?
    Thx

    Hi Dimitris,
    THANKS for your quick responce.this is my code in the page defination.can you pls guide me in this
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.54.7"
    id="adfc_config___ExecuteWithParamsPageDef"
    Package="soa_project_form.pageDefs" SkipValidation="true">
    <parameters/>
    <executables>
    <iterator Binds="hcpByparams1" RangeSize="25"
    DataControl="AppModuleAMDataControl" id="hcpByparams1Iterator"/>
    </executables>
    <bindings>
    <action IterBinding="hcpByparams1Iterator" id="ExecuteWithParams"
    RequiresUpdateModel="true" Action="executeWithParams">
    <NamedData NDName="p_id" NDValue="#{pageFlowScope.pid}"
    NDType="java.lang.String"/>
    </action>
    </bindings>
    </pageDefinition>

  • Problem using ADF Faces Runtime 11 Library

    Hi All,
    I am trying to use tr:Command link to open a dialogue.
    When i run my application including only the JSP Runtime, JSF 2.0, JSTL 1.2 and Trinidad Runtime 11 Libraries my application seems to work fine and a popup is opened.
    However when i include the ADF Faces Runtime 11 library the popup is opened in the same window as a web page.
    The same problem is also encountered when using tr:table with ADF Faces Runtime 11 library.
    The height of the tr:table changes dynamically with the number of rows displayed but when i include ADF Faces Runtime 11 library a fixed height is displayed for the table.
    I need to include the ADF Faces Runtime 11 library for fetching data from application module.
    Can anyone help me out or explain why this happens.
    I am using Jdeveloper 11G.

    Hi John,
    I am actually migrating a project from JDeveloper 10G to Jdeveloper 11G. As u suggested i have removed the ADF Faces Runtime Library from my classpath and included the ADF Model library. When i run my application i am getting the following exceptions.
    [Running application WebApproval42-11g on Server Instance IntegratedWebLogicServer...]
    [05:22:41 PM] Web Module WebApprovalModelWebApp.war recognized in project WebApprovalModel.jpr
    [05:22:41 PM] Web Module WebApprovalViewWebApp.war recognized in project WebApprovalView.jpr
    [05:22:41 PM] ---- Deployment started. ----
    [05:22:41 PM] Target platform is (Weblogic 10.3).
    [05:22:41 PM] Retrieving existing application information
    [05:22:41 PM] Running dependency analysis...
    [05:22:41 PM] Deploying 3 profiles...
    [05:22:41 PM] Wrote Web Application Module to C:\Users\roshan.lobo\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\WebApproval42-11g\WebApprovalViewWebApp.war
    [05:22:41 PM] Wrote Web Application Module to C:\Users\roshan.lobo\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\WebApproval42-11g\WebApprovalModelWebApp.war
    [05:22:42 PM] Wrote Enterprise Application Module to C:\Users\roshan.lobo\AppData\Roaming\JDeveloper\system11.1.2.0.38.60.17\o.j2ee\drs\WebApproval42-11g
    [05:22:42 PM] Deploying Application...
    [05:22:50 PM] Application Deployed Successfully.
    [05:22:50 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [05:22:50 PM] http://192.168.1.84:7101/WebApproval42-11g-WebApprovalView-context-root
    [05:22:50 PM] http://192.168.1.84:7101/WebApproval42-11g-WebApprovalModel-context-root
    [05:22:50 PM] Elapsed time for deployment: 9 seconds
    [05:22:50 PM] ---- Deployment finished. ----
    Run startup time: 9017 ms.
    [Application WebApproval42-11g deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/WebApproval42-11g-WebApprovalView-context-root/faces/index.jspx
    <Oct 4, 2011 5:22:51 PM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@23231866[app:WebApproval42-11g module:WebApproval42-11g-WebApprovalView-context-root path:/WebApproval42-11g-WebApprovalView-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@75795c[
    GET /WebApproval42-11g-WebApprovalView-context-root/faces/index.jspx HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: username=; role=; rolepwd=; datasource=; appName=; terminal=
    ]] Root cause of ServletException.
    java.lang.IllegalArgumentException: null source
         at java.util.EventObject.<init>(EventObject.java:38)
         at javax.faces.event.SystemEvent.<init>(SystemEvent.java:71)
         at javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:73)
         at javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:73)
         at com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:265)
         Truncated. see log file for complete stacktrace
    >
    <Oct 4, 2011 5:22:51 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Oct 4, 2011 5:22:51 PM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Oct 4, 2011 5:22:51 PM IST SERVER = DefaultServer MESSAGE = [ServletContext@23231866[app:WebApproval42-11g module:WebApproval42-11g-WebApprovalView-context-root path:/WebApproval42-11g-WebApprovalView-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@75795c[
    GET /WebApproval42-11g-WebApprovalView-context-root/faces/index.jspx HTTP/1.1
    Accept: */*
    Accept-Language: en-us
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
    Accept-Encoding: gzip, deflate
    Connection: Keep-Alive
    Cookie: username=; role=; rolepwd=; datasource=; appName=; terminal=
    ]] Root cause of ServletException.
    java.lang.IllegalArgumentException: null source
         at java.util.EventObject.<init>(EventObject.java:38)
         at javax.faces.event.SystemEvent.<init>(SystemEvent.java:71)
         at javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:73)
         at javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:73)
         at com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:265)
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:251)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = Aptbngdst189 TXID = CONTEXTID = 9948ba59687be1d8:18e4db26:132ceba77f1:-8000-0000000000000123 TIMESTAMP = 1317729171443
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    I am not able to figure out as to what is acusing this exception.
    Can u please help me out.
    Note: The application works fine when i include the ADF Face Runtime library but i have the look and feel and popup issues as mentioned earlier.

  • Using ADF Faces Skins

    I'm looking for a reference on deploying Skins with ADF Faces. The published howto on OTN is'nt very helpful because the sample code link is broken (See my previous post). The JDeveloper help files are somewhat helpful but I'm looking for a working example. I'm following the technique as implemented in SRDEMO but I must be missing something as my style sheet changes are not showing up.
    It would be nice if someone from Oracle could look into fixing the link to the sample code for:
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
    I think if I had a working example that allows skins to change at runtime I would be able to figure out what I'm missing. I have been trying access the link for a couple days now and no one has reponded to any of my requests.

    The link to http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/adffaces-skin.war
    seems to work for me.
    In any case to change the skin you are using you change the adf-faces-config.xml file.
    To get it to change at runtime - just put a reference to a value in a backing bean instead of the fixed "oracle" and then change the value in the bean at runtime.

  • Emailing page contents as HTML using ADF faces

    I have created a JSPx page contaning ADF visualizations like tables, DVT charts, gauges etc. My application needs to send the content of this rendered page as email attachment . My application will provide an email editor where user can write some text as message and it needs to attach the contents of page having tables, charts etc as attachment to this email. How this can be achieved?
    using showPrintablePageBehaviour, opne my page in another browser window and from there user can copy paste the source of ths page into file and can send it as an email attachment. But I want this manual step of copy paste should not be there. Directly the page contents should be saved in html file. can this be achieved through some APIs?
    I have read that emaillable pages can be created declaratively, but need some info on creating that through APIs.

    The link to http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/adffaces-skin.war
    seems to work for me.
    In any case to change the skin you are using you change the adf-faces-config.xml file.
    To get it to change at runtime - just put a reference to a value in a backing bean instead of the fixed "oracle" and then change the value in the bean at runtime.

  • New ADF Faces Blog

    Hi all,
    I've been getting a lot of good feedback, tips, and help in this forum over the past few weeks. I've decided to start a blog with some of the techniques I'm using on my current ADF Faces project. I'd be interested in any feedback (leave a comment on the blog), as well as ideas for topics to post.
    http://stegemanoracle.blogspot.com/
    Regards,
    John

    I am very interested in the topics you have. Can you quickly post code samples?

  • JavaScript Prototype with ADF Faces

    Hello.
    How can I integrated the prototype javascript library into a project with ADF Faces?

    Hi again.
    I have a lot of problems using javascript into a ADF Faces.
    Now I am trying to use Event handles. I need to use it becase I want to separate the javascript code.
    I put this code into a file.js
    function sayHello()
         alert('Hello');
    window.onload = function()
         document.getElementById("click").onclick = sayHello;
    I have no answer. I am looking into de HTML generated and I found this:
    <body id="body1" onload="_checkLoad(event)"
    if I remove the "_checkLoad(event)" it works but I can't remove that.

  • Tool tip in EO/VO does not work in ADF Faces  ?

    Hi,
    I set tool tip in Control hints of Entity Object / View Object. But when I use the VO in ADF faces page, the tool tip text does not displays.
    (It does work when using ADF BC Tester)
    Is it only for swing application ?
    Thanks,
    xtanto

    I've raised a bug on this bug:563929
    I'd expect the ADF Faces components to reflect the Tooltip attibute that you set in ADF BC. I also raised the point that everywhere else we talk about "tooltip" except in JSF when we refer to "shortDesc" (and the attribute "Tip" is something else as well!),
    No wonder we missed this ;o)
    Thanks
    Grant

  • ADF Faces and BI Graph?

    Is it possible to use BI Graph with ADF Faces?
    So far I was using BC4J/JSP/Struts and to put Graph (<graph:Graph/>) into JSP page was easy - using Data Control Palette. Now I want to migrate to JSF (ADF Faces) but when I create JSF JSP - it is impossible to insert some ViewObject as Graph from Data Control Palette.
    Thanks for any clue.
    brano

    My current solution is:
    The ADF Faces main page:
    <af:showOneTab position="above">
    <af:showDetailItem text="Graph Include" disclosed="true">
    <f:verbatim>
    <jsp:include page="${pageContext.request.contextPath}/graphs/Graph.jspx"
    </f:verbatim>
    </af:showDetailItem>
    The Graph page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:graph="/webapp/graph.tld"
    xmlns:adf="http://xmlns.oracle.com/adf/ui/jsp/adftags">
    <jsp:output omit-xml-declaration="true"
    doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <html>
    <adf:pagedefinition/>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>Graph</title>
    </head>
    <body><graph:Graph data="${bindings.EmployeesView1}"
    imageHeight="240" imageWidth="320"/>
    </body>
    </html>
    </jsp:root>
    When I try to run this, I get the following error:
    500 Internal Server Error
    javax.servlet.jsp.JspException: data attribute evaluates to null
         at oracle.jbo.html.jsp.graph.GraphTag.doStartTag(GraphTag.java:212)
         at graphs.Graph_jspx._jspService(_Graph_jspx.java:67)
         [graphs/Graph.jspx]
    Could you please post the solution?

  • JDeveloper popup window using ADF Faces

    Has anyone actually managed to get a popup window working properly using ADF Faces? I have slavishly copied examples from the Developer's Guide, but nothing works - I never get a popup window appearing.

    I'm back again and unfortunately I haven't got this to work. I've scaled down my jsp to just include enough to test the pop-up functionality.
    First here's the code from my jsp page(index.jsp):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <!-- import tag libraries -->
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af" %>
    <f:view>
    <afh:html>
    <afh:head title="JSF Test Pop-up Page">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <meta name="MSSmartTagsPreventParsing" content="true"/>
    </afh:head>
    <afh:body>
    <af:commandLink text="Test Pop-up" action="dialog:test" useWindow="true"/>
    </afh:body>
    </afh:html>
    </f:view>
    and here's a copy of faces-config.xml:
    <?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">
    <application>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    </application>
    <!-- Navigation Rules -->
    <navigation-rule>
    <from-view-id>/index.jsp</from-view-id>
    <navigation-case>
    <from-outcome>dialog:test</from-outcome>
    <to-view-id>/results.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    According to the docs on ADF Dialog Framework this is all I need to have in place in order for it to work. What am I missing?
    Thanks again to all replies.

  • Panel Page in ADF Faces using Facelets not rendering correctly

    Hi, I am attempting to integrate facelets into a web app built using adf faces and am running into a problem with the panel page component. I have integrated facelets and adf faces without any problems by adding relevant jars (jsf-facelets and adf-facelets) to the project and specifying alternate facelets view handler in web.xml.
    However, when I try to render any component inside <af:document> or <af:html> tags, all the font style in components seems to be lost ( all the text and input fields turn large and ugly!).
    I tried to leave out the <af:document> tag and put the <f:view> inside some vanilla html instead, but then panelPage component dosen't render properly and I get following message on top of page :
    "Skip navigation elements to page contents"
    So seem to be in a bit of a catch 22. By the way, this all works fine if I don't use facelets (remove the facelets view handler from web.xml and page renders correctly).
    Does anyone have any ideas or examples of panelPage rendering correctly with facelets or an alternative to using adf faces html tags that will allow panelpage to be displayed?
    The following is the code from a simple test jspx page :
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <f:view>
    <af:document>
    <af:form>
    <af:panelPage title="Title 1">
    <af:panelHorizontal>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Username"/>
    <af:inputText id="lo_username" value="" columns="20"/>
    <af:objectSpacer width="1" height="10"/>
    <af:outputLabel value="Password"/>
    <af:inputText id="lo_password" secret="true" value="" columns="20"/>
    <af:objectSpacer width="1" height="15" />
    <af:panelHorizontal>
    <af:objectSpacer width="50" height="1"/>
    <af:commandButton id="lo_loginButton" text="Login"/>
    </af:panelHorizontal>
    </af:panelGroup>
    <af:objectSpacer width="50" height="1"/>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Please use your windows account username"/>
    <af:outputLabel value="and password to logon to the system"/>
    <af:objectSpacer width="1" height="50"/>
    </af:panelGroup>
    </af:panelHorizontal>
    </af:panelPage>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

    The problem was the <jsp:root> tag. Removed this tag and modified <af:document> to the following so that namespaces are declared :
    <af:document xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    Page now renders properly using facelets.
    Message was edited by:
    mjc

Maybe you are looking for

  • Abnormal growth of Data file

    If i import a dmp file of size 20MB, it is creating a data file of size 300MB or more than that (in one case 2 GB). Pl. tell me the appropriate storage parameters for not to increase the data file size abnormally. thank u [email protected]

  • Plz give the ans

    1)why we used tiff file in  scripts? 2) if we have a quality client 300 in this client is it works scripts? 3) what is difference 4.6 c and 4.7 EE version? 4) give me some idea about ecc 6.0  version? 5) what is the purpose of code inspector? 6) in L

  • SMART reading in Windows XP

    Hi, I would like to read the S.M.A.R.T. status of my harddrives in Windows XP. I didn't find software for it, none of them are able to read it because there in RAID-0. Does anybody have software for it? k8T 3200+ Seagate 7200.7 x2 Raid-0

  • How to load model from one DC to other ?

    Hi ALL, I have created a WebDynpro DC (say A) , and created a EJB Model (in this case , but can be any Model) and exposed the same as public part. How do i use this from some other WebDynPro DC (say B)? I need to load that model created in A from the

  • Finder will not open, wallpaper shows up but with no icons, no spotlight

    Hello everyone, my imac's finder froze so i relaunched the finder, but nothing ever came back up. I eventually restarted my computer and there is no finder at all. I cannot get to it from the finder icon in my dock (The dock and programs work), and i