Java script in jsff page is not working when deployed as adf lib jar

hi,
We have a ViewController Project with a several jsff pages that has javascript references to a .js fiile in the same project.
When run in the same app, the javascript functions are invoked correctly.
but, when deployed as an ADF-library and consumed in a diff application, not several components' javascript is invoked.
Input Text Components javascript is almost always invoked. But, javascript on radio buttons or table are not invoked.
Jdev: 11.1.1.6
Thanks,
Harsha.

How to include javascript resources in  Facelet tag library

Similar Messages

  • Java script created in Adobe Acrobat not working in Reader

    Hello,
    This is my first post, so I hope I chose the correct path for it
    Let's get to the point:
    I created a java script in Adobe Acrobat according to your tutorial page:
    search.matchCase = false;
    search.wordMatching = "BooleanQuery";
    search.bookmarks = false;
    search.query("Mytxt","Folder","../My directory");
    which I found to be working as a let's call it a relative link, beacuse, after copying my file into another folder it would still work. But when I opened the same file in Adobe Reader I got a Console message:
    Acrobat EScript Built-in Functions Version 10.0
    Acrobat SOAP 10.0
    GeneralError: Operation failed.
    Search.query:4:Link undefined:Mouse Up
    Folder does not exist
    As I mentioned before the same file does return the results of the search.query in this folder in Acrobat. Any ideas? Suggestions? What might be the problem?

    Thanks to your suggestion I started digging into the directories, so here's what's funny:
    Title Page - main folder
    Page 1 - sub folder
    Searched PDFs - sub sub folder
    I open the Title Page, then using a bookmark I open a new file in the same window: Page 1. There i have site links that allow me to perform search.query()
    And now to the funny part:
    In Acrobat:
    If I open the "Title Page" and from there go to Page 1 my directory has to be:
    ../Main Folder/Sub Folder/Sub Sub Folder
    to perform the required search
    However If I open the "Page 1" manually my directory for the same java script has to be:
    ../Sub Folder/Sub Sub Folder
    otherwise I get an error.
    Anyway
    Both don't seem to work in Reader....

  • Javascript in 'Execute when page loads', not working when paging results grid

    I have some Javascript in an Apex page, running in 'Execute when page loads'. It does some stuff to a results grid. It works fine on page load, but then doesn't run when I page through, or sort the grid. I presume this is because the grid is being sorted / paged using Ajax, which means the page isn't being fully loaded.
    Is there anywhere else I can put the code so it gets applied to the grid on sorts and paging?

    Thanks, works perfectly! I used the After Refresh and just selected the region I wanted to trigger the Javascript, and it works great. As you say the scope needs to be Dynamic.
    For anyone else reading this, something which caught me out was that my reports region was using the No Template setting, and the Dynamic Action didn't work, as it requires you to use a template which contains #REGION_STATIC_ID# - which is used by the dynamic action to identify the region. Once I switched to using a template, it worked fine.

  • App Insights for web application not working when deployed to Dev server

    App Insights is not sending telemetry data for ASP.NET MVC web *requests* (page views from the JS instrumentation are fine) when the app is deployed to the Dev or Test IIS servers.  On local IIS express it works perfectly fine.    I have
    no idea how to troubleshoot this problem.
    Bert Jackson

    - the AI.config file is both in the root of the site, and the /bin folder (which was confusing the other day).  Both are correct.
    - it looks like a local browser can go to https://dc.services.visualstudio.com (it results in a 403 since its just a GET to the root).  During this test, I found that this server did NOT have the Root trust certificate (Baltimore cybertrust), which
    would cause problems when using IE locally to browse the app; the javascript AI logging was not working, because it couldnt fetch the ai.0.js file).  I got the proper root certificate installed on the server, but request logging still not working.  I
    dont believe the firewall is a problem.
    - I've verified that all binaries are indeed deployed in to the bin folder on the server
    - web.config does have the AI http module; I've verified via logging that the ApplicationInsightsWebTracking is loaded.  However, I have custom Context/Telemetry initializers, and their Initialize() methods are *NOT* being called when deployed on the
    server.  I've tried both ways of registering the initializers; via code in the Application_Start() event and also in the ApplicationInsights.config file.
    I don't know how to troubleshoot any further, to figure out if AppInsights is actually *trying* to send telemetry out and failing, or if its not actually even trying.
    Bert Jackson

  • ?Import ? Statmenet Not working When Deploying it on Server.

    What should be the process if I want to use import statement in RTf template on Standalone BI Publisher (Verision 10.1.3.4)
    I have uploaded both the main.rtf and include.rtf and I have put the <?import:include.rtf?> in main but it does not work.
    Please advise
    Thanks

    I did that but it complains that file not found. I used the following statement
    MAIN FILE
    <?import:include.rtf?>
    <?call:TC?>
    SUB TEMPLATE (include.rtf)
    <?template:TC?>
    TESTING THIS Include Page
    End Template
    It complains that file not found.
    I have uploaded both the file BI Publisher Console.
    May be I am putting the wrong path or something now sure.

  • Certificate not works when deploy the store app package by powershell

     I request a web service with a pfx certificate in windows store app, it works well, but after I create a package by VS2013, and
    deploy the app with powershell, access web service failed, seems the certificate not works. Any hints, suggestion ? My code as below:
    string certRawData = StringEncryptionHelper.Decrypt(ConfigurationLoader.ApplicationSettings.CertificateData.RawData);
    string certPassword = StringEncryptionHelper.Decrypt(ConfigurationLoader.ApplicationSettings.CertificateData.Password);
    await CertificateEnrollmentManager.ImportPfxDataAsync(certRawData,
    certPassword,
    ExportOption.Exportable,
    KeyProtectionLevel.NoConsent,
    InstallOptions.None,
    ConfigurationLoader.ApplicationSettings.CertificateData.FriendlyName);
    CertificateQuery certQuery = new CertificateQuery { FriendlyName = ConfigurationLoader.ApplicationSettings.CertificateData.FriendlyName };
    IReadOnlyList<Windows.Security.Cryptography.Certificates.Certificate> certs = await CertificateStores.FindAllAsync(certQuery);
    certificate = certs.FirstOrDefault();
    var protolFilter = new HttpBaseProtocolFilter { ClientCertificate = certificate };
    var client = new HttpClient(protolFilter);
    HttpResponseMessage result = await client.GetAsync(requestUri);

    Hello Mosser lee,
    As this issue is related to Development, it is recommended to post in the related MSDN forum.
    The professionals there will be glad to help you.
    https://social.msdn.microsoft.com/Forums/en-US/home
    Thanks for your understanding.
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Java Script Drop Down menu is not working someone please helP!!!!!

    Okay will I had a domain hostlyon.com which was changed to
    hostlion.net . Anyhow when i re uploaded all the files to my new
    domain my drop down javascript wasn't functioning properly .... the
    menu didn't drop down.
    When you go to hostlyon.com it works... but on my new domain
    it doesn't work. What might be causing the problem..... someone
    please help!!!!

    watzursn wrote:
    > Okay will I had a domain hostlyon.com which was changed
    to hostlion.net .
    > Anyhow when i re uploaded all the files to my new domain
    my drop down
    > javascript wasn't functioning properly .... the menu
    didn't drop down.
    >
    > When you go to hostlyon.com it works... but on my new
    domain it doesn't work.
    > What might be causing the problem..... someone please
    help!!!!
    >
    Error: ypSlideOutMenu is not defined
    Source File:
    http://hostlion.net/
    Line: 1
    Mick

  • Some page links not working when I publish iweb site to desktop folder?

    I just created a photo website using iweb. All the links to pages, etc. work fine in the programme but when I go to publish it to folder to check it on a web page some of the page links don't work?
    Any help would be greatly appreciated!
    - Ricky

    Even though you have deactivated the iWeb navigation menu, the navigation layer still exists and is blocking your custom links. Open the Inspector Page tab and try changing the value for Header Height to zero. See if this does anything for you. If not, then try increasing the Header Height value incrementally. This pushes the navigation layer down your page and maybe out of the way of your custom links.
    Of course, there is also the question of whether you custom links are placed on the page as a header element or as a regular page element. You can put elements into the header or footer layers by holding down the Apple key while dragging the elements until you see the header/footer outline highlight in blue.
    If your custom links are header elements, then increasing the header height to push the navigation layer down will probably help. If your custom links are page elements, then decreasing the header height to zero might be more likely to help.

  • Report using excel sheet as data source not working when deployed to production.

    I have a set of SSRS reports that use an excel sheet as a datasource.
    Now when I preview the reports or run them in the Visual Studio IDE on my local machine i.e
    the development machine, the reports run fine & display all correct results.
    However, when we deploy the reports to the Production machine which is on a separate server,
    the following error message is displayed :
    "The current action cannot be completed. The user data source credentials do not meet the requirements to run this report. Either the user data source credentials are not stored in the report server database, or the user data source is configured not to
    require credentials but the unattended execution account is not specified. (rsInvalidDataSourceCredentialSetting)"
    I've copy pasted the connection string used for connecting to the excel file as reference :
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\MyFolder\CurrentFile.xlsx;Extended Properties="Excel 12.0;HDR=Yes;";
    The excel file has also been uploaded to the machine housing the reporting server (i.e to C:\MyFolder location)

    Hi Aaakar,
    From the error message, please try to change the setting of Credential type for the data source on report manager as follows:
    Go to the Data Sources properties page.
    For the Connect Using option, select Credentials stored securely in the report server.
    In User Name and Password, type credentials that can be used to access the database. If you are using SQL Server as the data source, the user name must be valid for both logging on to the server and for accessing the database that contains the data for
    the report.
    If the user name and password are credentials for a Windows account, select Use as Windows Credentials.
    If you want the report server to pass the credentials of the user accessing the report to the server hosting the external data source, click Windows Integrated Security. In this case, the user is not prompted to type a user name or password.
    For more details about Configure Data Source Properties, please see:
    http://technet.microsoft.com/en-us/library/ms155882.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Single Sign On is not working when deploying a Wi-Fi profile from Configuration Manager 2012 R2

    Hello,
    Trying to deploy a wireless profile to a user collection everything works except for the single sign on.
    The user will get the wireless profile and be able to connect successfully but when the user signs on again to the same device the Wi-Fi will not connect before the logon process starts. 
    So GPO processing and home drive mappings are not occurring. The Wi-Fi profile is configured for "Single Sign On - Perform immediately before user logon" 
    These same settings can be managed successfully by GPO.  It would be really nice to be able to use ConfigMgr though!
    Thank you.

    Hi,
    Please refer to the links below:
    Single Sign-On Profile Sample
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa369849(v=vs.85).aspx
    Wireless Single Sign-On
    http://technet.microsoft.com/en-us/magazine/2007.11.cableguy.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Flex application not working when deployed run from Server

    Hi,
    I have Flex application which takes a parameter from user, makes a web-service call and returns the message.
    This application is running perfectly when I launch from IDE.
    But when I copy the files from bin-release to server and launch it, it gives me no result.
    In the crossdomain file on the server which hosts web-service, I have added the my host IP in the
    allow-access-from domain tag.
    In the initialization method of the application I load crossdomain using following code:
        Security.allowDomain("remoteservername");
        Security.loadPolicyFile("http://remoteservername/crossdomain.xml");
        var request:URLRequest = new URLRequest("http://remoteservername/crossdomain.xml");
        var loader:URLLoader = new URLLoader();
        loader.load(request);
    Is there a way I can debug application when running from server?
    Please give me some pointer to solve this problem.
    Thank you.
    Chintan

    Alex thanks for reply
    The URL for the app is http://<some_IP>/flex_app
    <some_IP> is added in crossdomain.
    Also we have outbound IP's and of these are also added in the crossdomain file.
    This is the current content of crossdomain file:
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="<some_IP>"/>
    <allow-access-from domain="<outbound_IP1>"/>
    <allow-access-from domain="<outbound_IP2>"/>
    <allow-access-from domain="<outbound_IP3>"/>
    <allow-http-request-headers-from domain="<outbound_IP1>" headers="SOAPAction"/>
    <allow-http-request-headers-from domain="<outbound_IP2>" headers="SOAPAction"/>
    <allow-http-request-headers-from domain="<outbound_IP3>" headers="SOAPAction"/>
    </cross-domain-policy>
    App runs perfectly fine when launched from Flex Builder.

  • Iweb: Why do navigation bar page links not work live when published?

    Why do the navigation bar page hyperlinks not work when site is published? There are no objects or boxes over. Works fine until published live. Help!!!

    this image: http://extravorganza-events.com/extravorganza/Home_files/droppedImage.png
    has a large transparency section above the visible (lower section), crop off the transparency section.

  • Every time I open Firefox or open a page in a new tab, I get the error message that a script on this page is not responding or has quit working. This has only happened since I upgraded to 5.0.

    Even when I start firefox I have to sit here and wait for it to tell me a script on this page is not responding or has quit working. Once that happens which takes a while, I can say stop script and it moves on. I've always liked using firefox and have never had a problem in the past, however if I can't get this particular problem fixed, and I've tried many ways to do this, I may have to change to another browser. I would hope that you could find out why this is happening to me before I make that decision. One other thing, I am using the dreaded Vista OS.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • I cant copy/paste from an article to my web site, get a Mozilla Rich Text Editing demo page will not work.HELP

    Tried to copy/paste from an article to my web site and got a "cannot copy /paste " warning and was directed to a security perferences site that said that Mozilla Rich Text Editing demo page will not work.
    Tried to find my Firefox profile directory using the start menu and was directed to hit enter to go to web. Feel like i am getting run around.

    Let's start with something very basic, and that is, you do not need to use the paste button on most websites. The button just reads what is on your clipboard and sticks it into the form. You can do that yourself using Ctrl+v or right-click>Paste.
    For your security, I suggest using those standard Windows keyboard shortcuts (Ctrl+x cut, Ctrl+c copy, Ctrl+v paste) or the context menu.
    Occasionally you will find a paste button that runs a clean-up script or otherwise does something useful. That is where the (admittedly a bit complicated) instructions come in handy.
    To open your active profile folder, you can use:
    Help > Troubleshooting Information > "Show Folder" button
    Which help article are you using for the modifications?
    Finally, please be cautious in opening up your clipboard to sites. You may have stuff you copied from other pages or other programs that you do not want to share with most sites.

  • Page is not working in serverside but working correctly in JDEV

    Hi,
    After deploying the page which is working propely in my local machine JDEV,
    its not working same at server side. i bounced apache couple of time.
    if any one faced similar issue, please share.
    Thanks,
    Mahesh

    Pages are working fine in my loacl machine, but whn i compile pages (javacode) at server and running the pages from apps instance, pages are not working correctly. But whn I transfer the class file from local machine to server side page is working perfectly, what would be the reason.How to check the Java/JDK version
    D:\>cd jdevbin
    D:\jdevbin>cd bin
    D:\jdevbin\bin>java -version
    java version "1.3.1_01" -- Java Version on local machine
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    On server
    [apeafin19@camoraapp10 ~]$ cd $ORACLE_HOME
    [apeafin19@camoraapp10 8.0.6]$ pwd
    /u01/oracle/eafin19ora/8.0.6
    [apeafin19@camoraapp10 8.0.6]$ cd bin
    [apeafin19@camoraapp10 bin]$ java -version
    java version "1.4.2_12" -- Java Version on server machine
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
    [apeafin19@camoraapp10 bin]$
    You can see the difference of JDK installed on server and on our local machine which can be root cause of the issue
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • New-MailExportRequest immediately running a second time

    Dear PS / EMS experts, Just quickly - background info. I recently moved a small accounting firm (18 staff) from SBS 2003 to SBS 2011. Having purchased SBS 2011 Standard over a year ago knowing end-of-support for Exchange 2003 SP3 was 8th April 2014.

  • Links on PDF's

    I have a PDF file that I am trying to create a link on to a PowerPoint File. When I click on the link on the PDF, I get an error message "Cannot open file". I have tried using the Open File and World Wide Web Link variables and neither will allow me

  • Material Groups in Material Master

    Hi Experts Does any SAP Standard Report Avilable to extract the Material Mater  Material Groups (1 to 5) Information. Thanks Raj Edited by: rgraj2k3 on Jun 6, 2011 12:37 PM Note : Please search forum before posting Edited by: Jeyakanthan A on Jun 6,

  • Auto-updates disabled in CS6 non-cloud the same way as in CS5/CC?

    Hi, is this procedure to deactivate auto-updates http://helpx.adobe.com/creative-suite/kb/disable-auto-updates-application-manager.html  the same for CS6, non-cloud? thanks.

  • ITunes ID password not working

    The iTunes app on my iPhone is not accepting my iPhones password.  I've changed it a few times and it is still not working.  I used my new password successfully to log into this Support Community forum on my Mac.  ??  Very strange. Andy Mo