Events in a JSPX page

Hi,
I have this problem now.. I don't know if its a very simple one, but I couldn't find a way through it yet.
I have a text box (af:inputText) inside a .JSPX page.. I want to capture the "onKeyPress" or "onKeyUp" event from this text box. For example, when I'm typing a letter inside the text box, I want the onKeyPress event to be captured and handled. How can I do it?
I have a backing bean for the JSPX page. How can i tell the JSPX page to call a specific function when the event is thrown?
Thanks in advance
Pravin

Hi Frank,
Thanks for the reply.. When i dropped a text box into the JSPX page and checked its properties, it had onKeyUp, onKeyPress, etc.. So i thought i could possibly use them.. I'll do it the Servlet way then. Thank you.. :)
Pravin

Similar Messages

  • Af:serverListener on jspx page - compilation error - jDeveloper 11.1.1.4.0

    I have a weird problem that adding a serverListerner component on jspx page causes compilation error:
    The class of the deferred-methods return type "{0}" can not be found.
    No property editor found for the bean "javax.el.MethodExpression"
    If I remove serverListener (to pass compilation) and then add it again in run-time, it works normally (the backing bean method is being triggered correctly, including passing params, etc).
    It is happening only on the current project, but when I make a test case it works normally. I suspect it has something with the project settings, but I couldn't find the cause regarding that the project has advanced and there are so many differences to be able to do simple comparison.
    Does anyone know what could be the reason for af:serverListener to break compilation, please?
    ... from jspx page...
    <af:resource type="javascript">
    function aaa(event) {
    var esrc = event.getSource();
    AdfCustomEvent.queue(esrc, "bbb", {fvalue : "TEST"},true);
    event.cancel();
    </af:resource>
    <af:inputText label="Label 1" id="it1">
    <af:clientListener method="aaa" type="click"/>
    <af:serverListener type="bbb" method="#{backing_bean.onClick}"/>
    </af:inputText>
    ... from BB ...
    public void onClick(ClientEvent clientEvent) {
    String message = (String) clientEvent.getParameters().get("fvalue");
    System.out.println(message);
    }

    Hi,
    Try like this
    <trh:script>clientListenerMethoName= function(event) {
    var source = event.getSource();
    AdfCustomEvent.queue( source, "serVerListenerType", {}, false); }
    </trh:script>
    Next :
    <af:clientListener method="clientListenerMethoName" type="click"/>
    <af:serverListener type="serVerListenerType" method="#{beanName.methodName}"/>
    Edited by: Raj Gopal K on May 4, 2011 4:05 PM

  • f: verbatim problem in jspx page

    Hi,
    Could anyone answer a simple question? Why does using <f:verbatim> <p>... block executing an event handler method bound to a button, that is placed inside this construction :
    "<f:verbatim><p><af:commandButton.....>"
    And then how can i insert linebreaks between command items in a jspx page?
    Message was edited by:
    Timin

    Hi,
    the reason is that f:verbatim is not supposed to have a JSF component as its child by just HTML or JSP tags. Its used for all elements on a page that don't participate in the JSF lifecycle.
    Use a groupLayout that aligns the components vertically
    Frank

  • Javascript issue for fragment in jspx page cannot find regionId

    I am using Jdev 11.1.1.4.0
    When i am calling the javascript function its not able to find the region thus my component is not found in the jsff page.
    Please help !!!
    Below is my jspx page :-
    <f:view>
        <af:document id="d1" title="Home Page" partialTriggers="pt1">
             <af:resource type="css" source="/com/ge/vacancy/css/GECustomStyle.css"/>
          <af:form id="f1">
            <af:pageTemplate viewId="/com/ge/vacancy/pageTemplate/GEVacancyPageTemplate.jspx"
                             value="#{bindings.pageTemplateBinding}" id="pt1">
              <f:facet name="Content">
                <af:region value="#{bindings.defaultflow1.regionModel}" id="r1" clientComponent="true"/>
              </f:facet>
    </af:form>
           <af:group id="g1">
    <![CDATA[
            <script>
        function charChecker(evt){
    region=AdfPage.PAGE.findComponentByAbsoluteId("r1");
                        if(region!=null)
                    counter             = region.findComponent("ot17");
                    counter_value       = counter.getValue();
                      }else {
    alert('Region not found')
      </script>]]>
          </af:group>
        </af:document>
    </f:view>
    In my frgment jsff page i have the following :
    <af:inputText id="it2" rows="08" maximumLength="500"
                                      value="#{bindings.Role.inputValue}"
                                      autoSubmit="true" immediate="true"
                                      partialTriggers="::gli11:soc15" columns="175"
                                      clientComponent="true"
                                      valueChangeListener="#{pageFlowScope.JobDescriptionBean.roleVC}"
                                      binding="#{pageFlowScope.JobDescriptionBean.roleInputText}">
                                      <af:clientListener method="charChecker" type="keyDown"/>
    </af:inputText>
    <af:spacer id="sp22" width="2"/>
                          <af:outputText id="ot17" clientComponent="true"
                                                                              value="500"/>

    Hi,
    Why not use findComponent as in below.
    findComp=function(event){
    var source=event.getSource();
    var component=source.findComponent("componentId");
    For this to work the component ot19 which i am assuming is a outputtext has to have value of clientComponent set to true.  Here event will automatically be passed if invoking the component via a clientlistener.
    Use findComponentByAbsoluteId only if you know the absolute id of the component. To be sure of the absolute id bind the component to a managed bean and then invoke the javascript as in the example shown below.
    public String someAction() {
          FacesContext context = FacesContext.getCurrentInstance();
          ExtendedRenderKitService erks =
          Service.getRenderKitService(context, ExtendedRenderKitService.class);
          erks.addScript(context,"someJSAction('"+textBinding.getClientId(context) +"')");
          return null;
    ADF JS
    someJSAction=function(clientId){
    var component= AdfPage.PAGE.findComponentByAbsoluteId(clientId);

  • af:serverListener not fired on a jspx page load

    Hi,
    I'm using JDeveloper 11g Update 1.
    I would like to fire a serverListener on a jspx page load.
    The javascript method that i'm using is fired while the server listener is not fired.
    Here's the code.
    <pre>
    //In my jspx
    <af:document title="Page Title" clientComponent="true">
    <af:clientListener method="fireServerListener" type="load"/>
    <af:clientAttribute name="serverListenerType" value="serverMethod"/>
    <af:serverListener type="serverMethod" method="#{myBean.serverMethod}"/>
    <f:facet name="metaContainer">
    <trh:script source="js/lib.js"></trh:script>
    </f:facet>
    //In lib.js
    function fireServerListener(event){
    var source = event.getSource();
    var immediate = this._immediate;
    var params = {};
    var srvLstnrType = source.getProperty("serverListenerType");
    AdfCustomEvent.queue(source, srvLstnrType, params, immediate );
    //In my bean
    public void serverMethod(ClientEvent clientEvent) {
    System.out.println("serverMethod() is called");
    </pre>
    Please, give any ideas how to resolve it.
    Best Regards,
    JavaDeVeLoper

    Hi Frank,
    I've tried what's suggested. I've placed the trh:script at the bottom of the page.
    The server listener in this piece of code at the bottom is fired, but in my case the problem (to fire a server event on body load) still exists.
    <pre>
    <af:commandButton text="Button" partialSubmit="true" clientComponent="true">
    <af:clientListener method="fireServerListener" type="action" />
    <af:clientAttribute name="serverListenerType" value="serverMethod" />
    <af:serverListener type="serverMethod"
    method="#{myBean.serverMethod}"/>
    </af:commandButton>
    </pre>
    Any suggestions :)
    Best Regards,
    JavaDeVeLoper

  • Need to referesh my jspx page for every 2 sec

    Hi!
    I am using jdeveloper 11.1.1.5
    I need to referesh my jspx page automatically for every 2 sec. Is it possible to do? If so pls help me to fix it?

    Thank you santhosh!!
    As you said i had dragged and dropped my location vo as a af:table.,
    I had dragged and dropped my poll component and tried to referesh my VO.,
    In my PollListner i had written this querry
        public void refreshEmployeestable(PollEvent pollEvent)    {
                // Add event code here…
                BindingContainer bindings =   BindingContext.getCurrent().getCurrentBindingsEntry();
                OperationBinding operationBinding = bindings.getOperationBinding("Execute");
                Object result = operationBinding.execute();
            }I had made some updates to my LocationVO in my DB., But the changes doesnt affect my VO., I had set the default interval time to 5000 for my poll.,

  • Deployment exception while running a .jspx page in Jdev 11g 11.1.1.1.0

    I have a .jspx page that renders taskflows as dynamic regions. When I execute this exception is what I get.
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.NullPointerException.
    java.lang.NullPointerException
         at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextDestroyed(ADFConfigLifeCycleCallBack.java:122)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         Truncated. see log file for complete stacktrace
    >
    Aug 13, 2009 11:39:47 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
    INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=UI deregistered
    Aug 13, 2009 11:39:47 AM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
    INFO: ADFApplicationLifecycleListener.postStop
    Aug 13, 2009 11:39:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1250143764562' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    [11:39:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
    [11:39:47 AM] Caused by: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    [11:39:47 AM] See server logs or server console for more details.
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed[11:39:47 AM] #### Deployment incomplete. ####
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
    Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:627)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:315)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:608)
         ... 12 more
    #### Cannot run application UI due to error deploying to DefaultServer.
    [Application UI stopped and undeployed from Server Instance DefaultServer]

    I was facing a similar error, the problem was because of adf-controller.jar. My error was :
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    The jar's 10g edition has  (1st part)oracle.adf.controller.v2.lifecycle.Lifecycle$Phase and 11g edition has (2nd part) oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase. So I created my own jar extracting both jars at one place using the following command
    jar -cf adf-controller.jar .
    This solved my problem.
    Hope you get the idea. The best way to face these type of errors is opening the archive and checking for the files for which the compiler is complaining.

  • Limitation On number of JSPX pages

    Hi All,
    i am facing a strange problem...
    i have a project with 18 jspx pages..now i need an additional functionality in my project, which requires creation of one more jspx...
    when i try to create another page the previous functionalities are not working...
    Is there any limitation on the number of pages in a Project..
    Can someone give pointers on this ...
    Thanks in advance,
    Naveen kumar.

    Hi Frank,
    Thanks for the immediate reply...
    If there is no limitation on number of pages .. what may be the possible reason that all other command buttons and links are not working...
    i just creaated an empty jspx which even does not have any navigation case ..
    all the functionalities are not working....

  • Problem with Firefox rendering using a jspx page

    Hello, your help will be very important for me, so please read this :
    this is the code of my jspx page :
    <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:af="http://xmlns.oracle.com/adf/faces"
         xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
         <jsp:directive.page contentType="text/html;charset=utf-8" />
         <f:view locale="#{locale.locale}">
              <!-- Load localized messages -->
              <f:loadBundle var="bundle" basename="localizedMessages" />
              <!-- Main document element -->
              <af:document title="#{bundle.account_bucket_title}">
                   <af:panelBorder>
                        <f:facet name="top">
                             <af:panelGroup>
                                  <!-- Top bar -->
                                  <jsp:directive.include file="includes/header.jspf" />
                                  <!-- Top menu -->
                                  <jsp:directive.include file="includes/MenuTop.jspf" />
                             </af:panelGroup>
                        </f:facet>
                        <f:facet name="bottom">
                             <af:panelGroup inlineStyle="position: relative; bottom:0px">
                                  <!-- Bottom menu -->
                                  <jsp:directive.include file="includes/MenuBottom.jspf" />
                             </af:panelGroup>
                        </f:facet>
                        <!--bucket details-->
                        <af:panelGroup layout="vertical"
                             inlineStyle="overflow:auto; height=88%; position:relative">
                             <af:objectSpacer width="100" height="20" />
                             <af:panelHeader text="#{bundle.account_bucket_title}" size="0" />
                             <af:objectSpacer width="100" height="20" />
                             <af:table emptyText="#{bundle.account_bucket_no_items}" var="item"
                                  value="" width="100%">
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col1}"
                                       headerNoWrap="true" formatType="text">
                                       <af:outputText value="" />
                                  </af:column>
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col2}"
                                       headerNoWrap="true" formatType="text">
                                       <af:outputText value="" />
                                  </af:column>
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col3}"
                                       headerNoWrap="true" formatType="text">
                                       <af:table emptyText="#{bundle.account_bucket_bucket_no_item}"
                                            var="item" value="" width="100%">
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col1}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col2}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col3}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col4}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col5}"
                                                 headerNoWrap="true" formatType="icon">
                                                 <af:commandButton
                                                      text="#{bundle.account_bucket_bucket_adjustment_btn}"
                                                      action="" />
                                            </af:column>
                                       </af:table>
                                  </af:column>
                             </af:table>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                        </af:panelGroup>
                   </af:panelBorder>
              </af:document>
         </f:view>
    </jsp:root>
    When i use IE there is no problem, an iFrame is generated and the bucket detais are rendered into it.
    The problem is with Firefox, the is an iFrame in the HTML code, but there is no rendering of it : why ?
    it seems that iFrames are well-rendered with FireFox and i don't no how to change my page to render it good with both FireFox and IE
    Please tell me a solution, something to change with my ADF tags ?...
    Sincerely,
    edward.

    i found solution for the problem that i use the following code to include JavaScript file
    i found that the problem occurred when i use the following code to include JavaScript file
    <script type="text/javascript" src="javascriptfile.js"/>
    also if i included 2 JavaScript files only one file is included at runtime
    but when i used the following code to include JavaScript files
    <afh:script source="javascriptfile.js"/>
    the two problems were solved (the problem of LOV and the problem of including multiple /js files)
    i don't know if it is a bug in the ADF or i made a mistake in the previous way
    any way thanks to you all for helping me

  • Open that jspx page in new window using commandLink

    Hi All,
    I'm working on adf application.I'm using jdeveloper 11.1.1.5 version.I want to get the attribute value of current row and pass it to jspx page.And i want to open that jspx page in new window.I tried like following:
    <af:column id="resId1c7" align="center" width="50">
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKeyValue.execute}"
    text="MSG-ID"
    disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"
    id="cl1"
    action="dialog:Confirm" windowHeight="600"
    windowWidth="800" useWindow="true"
    partialSubmit="true"/>
    </af:column>
    And in my faces-config.xml i add the navigation rule like this.
    <navigation-rule>
    <navigation-case>
    <from-outcome>dialog:Confirm</from-outcome>
    <to-view-id>/AuditLogInfo.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    Here my problem is i want to get the result jspx page in new window.But im not able to do it.Please help me how can i do this?
    Thanks in advance!

    Thq very much.It is working fine.
    I added the command link in my home page.When i'm clicking on that link im able to get my child.jspx page in new window.But I have added the login page to my adf application.If i run the login page im able to get my home page.But now i'm not able to get my child.jspx page when i'm clicking on command link.How can i resolve this.Please give me your suggestions.
    Thnks in advance.

  • How to use a CSS file  in a jspx page..

    I'm using JDev 10.1.3.4.
    I would like to know how can i use a CSS file in a JSPX page..
    there is this file: public_html\WEB-INF\temp\adf\styles\cache\oracle-desktop-10_1_3_4_0-en-ie-6-windows-s.css
    How do I make use of this is my jspx page?
    Also how do i use the style class in property inspector?
    What should be the path of "oracle-desktop-10_1_3_4_0-en-ie-6-windows-s.css"?
    Also please tell me what changes I have to make in all the other files like web.xml or adf-faces-config.xml.
    Im using web application template using (EJB,Toplink and JSF)
    Please suggest the detailed steps as I'm new to JSF.
    Thanks ,
    Shri

    under view put a new tag
    <f:view>
    <ui:script url="page.js"/>
    and thats it

  • How Can I Create an Event Link to a Page Tab?

    I have a portlet in one tab that generates an event. I want to be able to send this event to the same page but to another tab where another portlet resides. Here's the code snippet that creates the link. This code is part of a custom JSP tag.
    // Attempt to get access to the portlet render request to determine if we are within a portal context.
    PortletRenderRequest prr = (PortletRenderRequest) pageContext.getRequest().getAttribute(
        HttpCommonConstants.PORTLET_RENDER_REQUEST);
    if (null != prr)
        try
            // Set up the parameters used for the link.
            NameValue[] eventParameters =
                new NameValue("linkUrl", linkUrlParamValue)
            // Construct the link parameter we will be using.
            linkUrl = EventUtils.constructEventLink(prr, "linkClicked", eventParameters, true, true);
        catch (PortletException e)
            // Error processing removed...
    }This code will generate the event correctly and all processing occurs as expected. However, I cannot find a way to force the second tab to display.
    I am able to force the the second tab to be displayed if I use "Direct Access URLs". These links are in the form
    [protocol]://[host]:[port]/pls/portal/url/page/[page_group_root_page_name]/[tab_name]
    But is there a way to create an event link using a specific URL?

    Hi,
    One workaround that i can think of is:
    1. Set the <passAllUrlParams>true</passAllUrlParams> attribute in your provider.xml of the portlet on the target page/tab.(dont forget to refresh the provider)
    2. If you already have the url to the tab, then you just simply construct the form in your previous portlet to post to that url with all the necessary form fields.
    3. Process the request parameters and render the second portlet.
    hope that helps.
    thanks,
    Harsha

  • Error while opening the jspx page

    Hi all
    I am creating a test application that application i am utilizing jheadstart API it is working fine but if I delete my application form my jdeveloper IDE nest time I am loading the same application my jspx page is not showing in code editor it is showing following error
    n error has occurred. Click Details for information that may be useful when diagnosing or reporting this problem
    if click Details I am getting following error
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager$XmlDocumentInfoImpl.<init>(DocumentInfoManager.java:360)
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager$XmlDocumentInfoImpl.<init>(DocumentInfoManager.java:351)
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager.getDocumentInfo(DocumentInfoManager.java:176)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.getDocumentInfo(HtmlEditor.java:592)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1197)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    so if i want solve this issue what i can do
    Any buddy can give some suggestion
    Thanks
    Prabeethsoy

    Hello Prabeethsoy,
    1- May be you just deleted the workspace file, but the contents of the project was still there.
    Then, but re-opening or re-creating it, at the same place, could damaged JDev's setup.
    See my colleague's blog on that :
    - How to delete an entire Workspace or Project ?
    http://blogs.oracle.com/Didier/2008/06/how_to_delete_an_entire_worksp.html
    Also, there is an extension that adds the option to delete a workspace or project
    that you can get from the help->check for updates.
    It's called "Remove Workspaces and Projects".
    2- If the above doesn't work, can you tell me if your application can get opened
    by the same JDev version on a different machine (or different JDev-Home)?
    If so, then keep a backup of your <JDev-home>/jdev/system directory
    and of your application then delete the <JDev-home>/jdev/system directory.
    This will remove the .layout files and reset the layouts to the 'factory settings"
    once JDeveloper is restarted.
    Hope this will help you further.
    Regards,
    Steff

  • Problem running a jspx page on 11.1.2.4.0 on the integrated weblogic server with 11.1.1.6.0 already installed

    hi friends,
    i have installed a different version of JDev 11.1.2.4.0 as per my new job requirements and i am unable to run my .jspx page ... i already have 11.1.1.6.0 installed and running ... the following is the error that i am getting... can anyone help me with this....
    "The Server Instance cannot be started because the Integrated Weblogic domain was not built successfully".

    I hope you did not install the 11.1.2.4.0 into the same middleware_home as you isstalled the 11.1.1.6.0. In this case you need to install both again.
    If you installed the 11.1.2.4.0 into a different (empty) middleware home you should check the log file, which exact error occurred during the install. The location of the log can be found in the log window.
    Anyway you should remove the system11.1.2.x.x.x/DefaultDomain before trying again.
    Timo

  • Error when trying to create Graph in jspx. page

    Hi! I use JDeveloper 11.1.1.2.0 Jdeveloper! And when I try to add graph in jspx page, then I have error - see http://my.jetscreenshot.com/2677/20100818-1nk7-135kb
    Can anyone say what is wrong and what to do?
    Best regards, Debuger
    Edited by: Debuger on Aug 18, 2010 5:16 AM

    I have a question and a suggestion:
    Q: are you trying to log in, or not? Have you done anything to enable you application to enable security?
    My suggestion is you give some detail about your application so people can understand what your problem might be. The screenshot is great, but it is not enough. I would like to help you, but if you go about this like a scientist and give everybody as much detail as you can, I am sure you will get better response on this urgent issue.

Maybe you are looking for