ExecuteWithParams not working in ADF BC SRDemo Tutorial

Hi
I have created View Objects with the Named Variable TheStatus as per the ADF BC Tutorial
If i Open the SRList page and try to click on the Command Links for Open, Closed or Pending statuses the Results are not being filtered based on ExecuteWithParams mapping
I am working on Jdev 10.1.3 version
Regards,
Hari

Did you do it like this:
http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/threesearchpages/threesearchforms_partthree.html?_template=/ocom/technology/content/print

Similar Messages

  • DBsequence not working in ADF app

    HI All
    I am using Jdeveloper 11g release 2 (11.1.2.3.0) and Oracle DB.
    I have created an entity object and set the type of the filed as DBseequence but forgot to insert the sequence+trigger in the database for the table from which it was created.
    I have also created a view object for this EO, and through the app module have used it i a page.
    Clearly the submit and/or commit were not working because of the missing seq+trigger.
    I created the seq + trigger on the db, everything works fine if I insert a record from the db, and the id is generated as it should.
    When i try to do the same from ADF (tried from the page and from the model tester) i get the following error : (oracle.jbo.AttrValException) JBO-27014: Attribute Invoiceid in Invoices is required.
    It seems that the fact that there is a sequence to generate the id is not recognized.
    Any ideas?
    Thank you

    Or you use the groovy approach which doesn't need the db trigger and is easy to implement.
    Check out http://tompeez.wordpress.com/2011/09/02/using-groovy-expression-to-set-a-primary-key-with-a-sequence-number/
    Timo

  • Why String Search in not working in ADF.?

    Hi,
        I've created application in ADF with Search Options. Search Operation is working for all the Integer Values in that page but its not working for String Values.
    I dont know why its not able to search String Values.
    My AppModule bean Code :
                    package model.portfolio.portfolio.am;
    import model.portfolio.portfolio.am.common.PortfolioAppModuleAM;
    import model.portfolio.portfolio.view.ResourceViewChildObjImpl;
    import oracle.jbo.VariableValueManager;
    import oracle.jbo.ViewCriteria;
    import oracle.jbo.server.ApplicationModuleImpl;
    import oracle.jbo.server.ViewLinkImpl;
    import oracle.jbo.server.ViewObjectImpl;
    public class PortfolioAppModuleAMImpl extends ApplicationModuleImpl implements PortfolioAppModuleAM {
         * This is the default constructor (do not remove).
        public PortfolioAppModuleAMImpl() {
        public void applyVCforGlobalSearchPortfolios(String theString){
            ViewObjectImpl vo = getPortfolio1();
            ViewCriteria vc = vo.getViewCriteria("PortfolioVOCriteria");
            System.out.println("On Criteria");
            vc.resetCriteria();
            VariableValueManager vvm = vc.ensureVariableManager();
            System.out.println("On String");
            vvm.setVariableValue("globalSearchString", theString);
            System.out.println("After String");
            vo.applyViewCriteria(vc,true);
            vo.executeQuery();
    *All Getters and Setter of all VO and VLs****
    My Query created in View Criteria :
    ( (UPPER(SHORTNAME) LIKE UPPER( :globalSearchString || '%') ) OR (UPPER(DESCRIPTION) LIKE UPPER( :globalSearchString || '%') ) AND (PROGRAMMES_COUNT = :globalSearchString ) OR (KK_COUNT = :globalSearchString ) OR (KPI_KRA_VALUE = :globalSearchString ) )
    One more interesting thing in After Creating the View Criteria If i try to Test this Query, Its giving me error msg as
    "Cannot complete query to determine the view attributes.  Either the query is invalid or timeout occurs.  Please revise the query or create the view attributes manually.
    "com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':globalSearchString || '%') ) OR (UPPER(QRSLT.DESCRIPTION) LIKE UPPER( :globalSe' at line 1"
    I don know why... Can somebody please help me?
    Im using Jdev 12C

    Binding variables will be different from oracle database and My Sql database.
    Oracle database use this (:) for defining bindVariable but in My Sql use this (?)
    Try to remove the view criteria which you define in View Object and you can make it programmatically like this:
        ViewObject vo = getPortfolio1();
        ViewCriteria vc = vo.createViewCriteria();
        ViewCriteriaRow vcr = vc.createViewCriteriaRow();
        vcr.setAttribute("Attribute1", value);
        vcr.setAttribute("Attribute2", value);
        vc.add(vcr);
        vo.applyViewCriteria(vc);
        vo.executeQuery();

  • af:poll not working in adf table

    Hi All,
    Does anyone have tried create timer using <af:poll inside a table?, i have a problem like this:
    <trh:script>
    var count=0;
    var timer;
    var sec;
    var min;
    function startCount(event){
    inputField = event.getSource().findComponent("totalTime");
    inputField.setValue(timer);
    count=count+1;
    sec = Math.floor(count / 100);
    min = Math.floor(count / 6000);
    hour = Math.floor(count / 360000);
    if (sec >= 60) {
    sec = sec - 60 * min;
    if (min >= 60) {
    min = min - 60 * hour;
    timer = pad2(hour) + ':' + pad2(min) + ':' + pad2(sec);
    function startAndStopPoll(event) {
    event.cancel();
    var poll = AdfPage.PAGE.findComponent("poll");
    if (0 > poll.getInterval())
    poll.setInterval(10);
    else
    poll.setInterval(-1);
    function pad2(number) {
    return (10 > number) ? '0' + number : number;
    </trh:script>
    then if i put this script :
    <af:panelFormLayout>
    <af:poll id="poll" interval="-1">
    <af:clientListener type="poll" method="startCount"/>
    </af:poll>
    <af:inputText label="Total Time" id="totalTime" shortDesc="Total time" clientComponent="true"
    value="00:00:00"/>
    </af:panelFormLayout>
    <af:panelGroupLayout layout="horizontal">
    <af:commandButton text="Start and Stop Poll" id="button">
    <af:clientListener type="action" method="startAndStopPoll"/>
    </af:commandButton>
    </af:panelGroupLayout>
    out side the table it is working, but if i put that script inside the table it is not working.. does any one know what happen with the script?
    Regards,
    Hadi Wijaya

    Hi Frank,
    Actually i want create timer to record how long does customer service (CS) spend the speaking time with each customer. and the scenario is like this :
    1. customer call the CS
    2. CS click add button to start a new record in the table
    3. then one of table column has start/stop button and one input text which is the input text will be filled by timer like stopwatch (00:00:00)
    4. then CS click the start/stop button to start the timer.
    5. button stop pressed by the CS after call is over.
    6. CS will add new row for next customer again and again
    Do you have a suggestion for scenario like this?
    Regards,
    Hadi Wijaya
    Edited by: Hadi Wijaya on Jul 1, 2009 12:02 AM

  • ExecuteWithParams not working in welcome page

    Hello everyone, I have build an application using ADF & JDev 11.1.2.3.0, When user performs a successful log-in he is redirected to the welcome-page of my application (lets say Page1). In Page1 I have some buttons that execute ExecuteWithParams operations. When I click in them nothing happens. It seems like no click was made. If I refresh the page and click again everything works fine. Does anyone know why does this happen? Thank you

    Hi 1006360,
    It seems strange and looks like with out refresh the action is not being invoked. Can you create a all new .jspx document and try , am sure it will resolve
    Thanks
    Sandeep

  • Browser back button not working with ADF Application integrated with SSO

    I have integrated an adf application with Oracle SSO Authentication. Application is running fine.
    Though, while navigating between pages, using browser back button , it is not redirecting the url properly
    Should Redirect it to : http://<hostname>:<port>/<contex-root>/<servlet>/<id>
    Presently Redirecting it to :http://<hostname>:<port>/<contex-root>
    As, directory browsing is not allowed, there is Error 403--Forbidden .
    Can anybody tell what changes needs to be made to make browser back button work.

    In some of the documentation I have read, they have mentioned that using the back button in a browser doesn't work too well with any JSF type of application (not just ADF and Jdeveloper apps).
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/web_form.htm#CFHHJGJH
    Instead, they suggest using buttons on the form.
    There is a video on using navigation between forms that may be of value: http://www.youtube.com/watch?v=bsPtmRID5XI&feature=plcp
    Stuart
    Edited by: Stuart Fleming on Sep 11, 2012 5:30 AM

  • 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

  • Standalone Weblogic deployment not working for ADF Table

    Hi All,
    I have create one application using JDeveloper 11g R3. I have taken one ADF Rich Table
    When i run application in Jdeveloper it runs fine.
    Now issue is when i deployee the same in standalone Weblogic server it is not running(Page gets open but table dosent display).
    But when i use same datacontrol and drag it as ADF Form it is working fine.
    Also weblogic server is not showing any logs.
    Please suggest.
    Thanks,
    Vijay

    The Admin Server Log is bellow,
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\w
    ic_patch.jar;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Orac
    DDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic.server.modu
    0.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\modules\NETSF
    _1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;E:\Orac
    DDLE~1\WLSERV~1.3\server\lib\xqrl.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\patch_
    111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Oracle\MIDDLE~1\utils\config\10.3\config-launch
    E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic
    er.modules_10.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\m
    s\NETSFA~1.0_1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.j
    PATH=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\serve
    ive\win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160
    n;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\n
    \win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\
    :\Oracle\app\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Oracle\MIDD
    WLSERV~1.3\server\native\win\32\oci920_8;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    E:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminSer
    Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -Xverify:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~
    Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE
    -Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djr
    .optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\
    g\FMWCON~1 -Doracle.server.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=E:\Orac
    DDLE~1\USER_P~1\domains\BASE_D~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=E:\Oracle
    LE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\carml -Digf.arisidstack.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\arisidprovider -D
    gic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dwebl
    jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Orac
    DDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Serv
    <Jan 19, 2011 4:34:37 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Micr
    ems Inc.>
    <Jan 19, 2011 4:34:37 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Jan 19, 2011 4:34:38 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 19, 2011 4:34:38 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 19, 2011 4:34:38 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file E:\Oracle\Middleware\user_projects\domains\base_domain\servers\Ad
    rver\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <Jan 19, 2011 4:34:40 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 19, 2011 4:34:43 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 19, 2011 4:34:43 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service succes
    y.>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:0:5efe:a81:c06c:7001 for protocols iiop,
    dap, snmp, http.>
    <Jan 19, 2011 4:34:48 PM IST> <Warning> <Server> <BEA-002611> <Hostname "INEDEC-ENP-70.emrsn.org", maps to multiple IP addresses: 10.129.192.108, fe80:0:0:
    1:2cf6:49b4:9963%11>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, s
    http.>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, h
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.129.192.108:7001 for protocols iiop, t3, ldap, snmp,
    .>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:31c1:2cf6:49b4:9963:7001 for protocols ii
    3, ldap, snmp, http.>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Devel
    t Mode>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Jan 19, 2011 4:46:29 PM IST> <Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initial
    correctly.>
    <Jan 19, 2011 4:47:01 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
    Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>
    <Jan 19, 2011 4:48:08 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtestdep%2CTy
    AppDeployment%22%29.>
    <Jan 19, 2011 4:48:45 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
    Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>
    <Jan 19, 2011 4:49:03 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtestdep%2CTy
    AppDeployment%22%29.>
    <Jan 19, 2011 4:49:45 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
    Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>

  • Page navigation not working through adf-config

    Hi,
    JDeveloper : 11.1.1.17
    I created a WebCenter Framework Portal application.
    1. Created a new page under "oracle\webcenter\portalapp\pages" by name Page1.
    2. Dragged both "home" and the new page "Page1" and dropped into the adf-config.
    3. Created a control flow between the pages and named it "search".
    4. Created a command button in "home" page and set the action outcome to "search".
    When I try and run this and click on the Home page's command button, I was expecting it to go to Page 1.
    But it doesn't do anything. It just stays on Home page. No exceptions are thrown either.
    Am I missing something ?
    Kindly let me know.
    Thank you.
    Regards,
    Ayyappan

    Thanks for the response.
    I checked the control flow parameter. It is in "From Outcome" parameter and not in "From Action" parameter as suggested by you. Still this doesn't work.
    But when I create it as a Wildcard Control Flow Rule then it works.
    Any ideas ?

  • Database MDS personalization not working for ADF

    NA
    Edited by: Mukesh S Patil on May 28, 2013 1:52 PM

    Hi Frank and all
    1] The issue is when i deploy from console uploading the .ear file ( which has adf-config.xml ) , the application never connects to MDS database. I feel that it is not reading adf-config.xml at all
    2] However when i deploy same using JDeveloper, a window pop up asking the MDS partition name. This time it works . :-)
    But in production i can not deploy through JDeveloper. Then how to tell the application that there is configuration file,read it and store data ???
    Mukesh

  • Why  javaScript does not works within ADF-jsf regions ?

    Hi
    thakn you for reading my post
    i have problem with running some flash and js in my adf faces page.
    the html files that contain this flash/javascript stuff works fine (in my application) but when i try to use them in jspx file i get nothing , here are some samples :
    heml file :
    <html>
    <head>
    <title>Preview</title>
    </head>
    <body>
    <link href="./jsmenu01.css" type=text/css rel=stylesheet>
    <script language="javascript" src="./jsmenu01cfg.js"></script>
    <script language="javascript" src="./jsmenu0.js"></script>
    <div id=jmbti_div></div>
    </body>
    </html>jspx file : which is a region
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              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">
      <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"/>
    <af:regionDef var="menuRegion">
    <link href="./jsmenu01.css" type="text/css" rel="stylesheet"/>
    <f:verbatim>
    <center>
    <script language="javascript" src="./jsmenu01cfg.js"></script>
    <script language="javascript" src="./jsmenu0.js"></script>
    <div id="jmbti_div"></div>
    </center>
    </f:verbatim>
      </af:regionDef>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_segments_menu-->
    </jsp:root>why it should be like this ?
    putting this region in the page will cause all elements below this region not to render and show.
    thank you for your help.

    Why do you want to use a h:commandButton and not an <input type="button"> or a <button>? I don't think that you want to execute a backing bean action. Anyway, in this case you can also add return: false; to the onclick event so that it prevents the button from submitting the form to the server.

  • Adfs/ls does not work while adfs/ls/idpinitiatedsignon works | There are no registered protocol handlers on path /adfs/ls/ to process the incoming request

    Hello Experts
    I am trying to configure ADFS 3.0 with Sharepoint 2013 and facing an issue with ADFS 3.0 url
    When I try to access url https://<ADFS.domain.com>/adfs/ls - I face following error 
    Encountered error during federation passive request. 
    Additional Data 
    Protocol Name: 
    Relying Party: 
    Exception details: 
    Microsoft.IdentityServer.RequestFailedException: MSIS7065: There are no registered protocol handlers on path /adfs/ls/ to process the incoming request.
       at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)
    But When I try to access ADFS url - https://<ADFS.domain.com>/adfs/ls/idpinitiatedsignon 
    It works.. 
    Is it normal behavior or something wrong here.
    Please suggest.
    Thanks

    /adfs/ls/ is the endpoint for all "passive" protocols. a Plain GET to /adfs/ls wil complain (correctly) that the plain GET is not a correct SAML or WS-Fed message. You should only send correct messages to that EndPoint........
    Paul Lemmers

  • @SuppressWarnings("deprecation") is not working as described in the Tutoria

    @SuppressWarnings("deprecation") is not suppressing warnings when I compile the below code on SDK 1.6.0. This code is copied straight from the Java Tutorial page at http://java.sun.com/docs/books/tutorial/java/javaOO/QandE/annotations-answers.html
    Any hints would be appreciated.
    Thank you,
    Andrew Bloss
    public class MyHouse implements House {
        @SuppressWarnings("deprecation")
        public void open() {}
        public void openFrontDoor() {}
        public void openBackDoor() {}
    }I get the message
    "MyHouse.java uses or overrides a deprecated API."
    I copied both the interface and the code from the tutorial page. The message does appear if I replace
    @SuppressWarnings("deprecation") with
    @Deprecated.
    The interfac is
    public interface House {
         * @deprecated use of open is discouraged, use
         * openFrontDoor or openBackDoor instead.
        @Deprecated
        public void open();
        public void openFrontDoor();
        public void openBackDoor();
    }

    You have, as far as I can tell, found a bug in Sun's compiler.
    Java language Specification 3rd edition, p#9.6.1.6, says:
    9.6.1.6 Deprecated
    A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists. A Java compiler must produce a warning when a deprecated type, method, field, or constructor is used (overridden, invoked, or referenced by name) unless:
    The use is within an entity that itself is is annotated with the annotation @Deprecated; or
    The declaration and use are both within the same outermost class; or
    The use site is within an entity that is annotated to suppress the warning with the annotation @SuppressWarnings("deprecation")
    Use of the annotation @Deprecated on a local variable declaration or on a parameter declaration has no effect.
    Using Java 6, I verified that the following code issues a warning when compiled:
    interface House {
         * @deprecated use of open is discouraged, use
         * openFrontDoor or openBackDoor instead.
        @Deprecated
        public void open();
        public void openFrontDoor();
        public void openBackDoor();
    class MyHouse implements House {
        @SuppressWarnings("deprecation")
        public void open() {}
        public void openFrontDoor() {}
        public void openBackDoor() {}
    }The compiler produced these results:
    Note: Xy.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.This bug (resolved in Mustang) may be involved.
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6394563

  • Delete is not working in ADF 11g

    Hi All,
    Need urgent help on delete operation. I tried the following approaches to achieve this.
    First Approach:
    I am deleting the record from table (trinidad readonly table) through a command button using this below code.
    public void delMyProfileRec(ActionEvent actionEvent) {
    ((AppModuleImpl)getApplicationModuleForDataControl()).deleteMyProfileRows();
    In APPModule Impl:
    public void deleteMyProfileRows(){    
    this.getfavoritesView().removeCurrentRow();
    this.getDBTransaction().commit();
    My problem is, it is always deleting the first record irrespective of the record selection. Reason for deleting the record thru backing bean is, I am using popup window for user confirmation on delete.
    Second Approach:
    In backing bean, I have an action method to delete the selected record.
    public String deleteHistoryRecord(){
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Delete2");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {               
    return null;
    operationBinding = bindings.getOperationBinding("Commit");
    result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    FacesContext fc = FacesContext.getCurrentInstance();
    return null;
    In both the cases, selected record is not deleting instead it is deleting either first or last record. Please do the needful.
    Thanks.

    Hi,
    Both the approaches given are correct, the problem seems to be with row selection.
    Are you sure that rowSelection and selectionListener properties are set on the read-only table?
    Eg.
    <af:table rowSelection="Single" selectionListener="#{bindings.<tree_binding>.collectionModel.makeCurrent}" .. >
    </af:table>Sireesha

  • Default Expand/Collpase not working in adf's af:tree component

    Hi,
    I have a tree problem with a default events of expand/collapse.
    I have a PathSet variable in the bean which I have linked to the treeState of af:tree in the jsp.
    So, the page opens up with all the nodes expanded, but when I click on any of them, the tree doesn't collapse. I dont handle the DisclosureEvent since I thought that only customizes the event handling. If I dont link to the PathSet variable, then the page opens with all the nodes collapsed and the expand action doesn't work. I've tried with both request and session scoped beans, but it doesnt help. Any pointers will be greatly appreciated, have read the docs, but the problem remains.
    Snippet of code:
    dialogPage.jsp:
    <af:tree value="#{backing_dialogpage.model}" var="row"
    binding="#{backing_dialogpage.tree1}" id="tree1">
    <f:facet name="nodeStamp">
    <af:selectBooleanCheckbox label="#{row.strName}"/>
    </f:facet>
    <f:facet name="pathStamp">
    <h:outputText value="#{row.strName}"/>
    </f:facet>
    </af:tree>
    (backing bean)Dialogpage.java - constructor
    public Dialogpage () {
    TableRow root1 = new TableRow ("1994");
    TableRow child1 = new TableRow("child1_cruise_id_101");
    TableRow child2 = new TableRow("child2_cruise_id_202");
    List childList = new ArrayList();
    childList.add(child1);
    childList.add(child2);
    root1.setChildren(childList);
    this.rootList.add(root1);
    this.rootList.add(new TableRow("1996"));
    this.model = new ChildPropertyTreeModel(rootList,"children");
    this.path = new PathSet (true);
    }

    The logic here is pretty similar to the one with folders and files. Folders are container types and files are just leaf nodes (can't contain other files).
    I don't want under each folder node to have two new container nodes - one that hold other subfolders, and another one that hold just files. And that's just what I get now.
    How to avoid that?
    Anybody?

Maybe you are looking for

  • Can't find/connect to networks

    I recently spilled Gatorade on my laptop, I dried everything up, everything seemed to be normal, so I plugged it into it's charger the next day and everything's fine, but it says everything (wifi & network settings, ISP, Internet, & server) have all

  • Tecra M2 Scrambled Screen

    I have a Tecra M2 where the screen suddenly scrambled. I have tried re-installing the nvidia drivers from www.nvidia.com and also the toshiba drivers but they both fail to install (or the laptop crashes during install). The screen is scrambled even a

  • BAPI which creates a PO from Shopping cart

    Hello All, Irrespective of any scenario, How is that the PO is getting created out of an ordered shopping cart? Is it a BAPI, if so, where can we see this ? I mean which trans code should we use  in the GUI? Thanks in advance, Nagarajan

  • Safari 3.2 crashes at start ..and .. I TRIED EVERY FIX POSTED HERE

    Does anybody have anything else I can try ? So far I have tried all postings here containing fixes ..and nothing has helped. When I start safari it crashes without getting as far as a Safari window opening. Below is the problem report: Process: Safar

  • Numbers for iPad user guide multilanguage

    hi evrerybody i was looking for the user guide for numbers for iPad in PDF but didnt find anything on the net or the suppport sections. all what i found are user guides for Numbers 09 ,obviously for Mac. till i found this link,so i thaught it would b