Region condition: javascript is enabled?

Hey all,
I'm trying to think of a way to only display a region if javascript is enabled.....
Any ideas?
Thanks,
Jonathan

Here's the scenario:
-- I'm passing a query by URL to a pop-up window.
-- Unfortunately, I have found at least one case under which IE clears the session state of the new window window is forced to re-authenticate (SSO isn't even carried over).
-- To counter this, I made the popup window public.
-- However, I'm now left with a public page that anyone can send a query to and get database information back.
-- In response, I implemented a JS function to ensure the authenticate the parent of the popup, if there even is one.
-- However, if JS is disabled, this check doesn't happen and everything shows regardless.
That's why I was wanting to find a way to have the report region conditional on JS being enabled. (Alternatively, does anyone know if it is standard IE behaviour that every window has an independent session state -- or if there is a way to fix this if it is not?)

Similar Messages

  • SQL Query (updateable report) Region - Conditionally Hide and Set Values

    SQL Query (updateable report) Region - Conditionally Hide and Set Values
    Outline of requirement :-
    Master / Detail page with Detail updated on same page using SQL Query (updateable report).
    The detail region has the following source
    SELECT item_id,
           contract_id,
           CASE WHEN hardware_id IS NOT NULL THEN
                   'HA'
                WHEN backup_dev_id IS NOT NULL THEN
                   'BD'
                WHEN hardware_os_id IS NOT NULL THEN
                   'HS'
           END item_type,
           hardware_id,
           backup_dev_id,
           hardware_os_id
    FROM   "#OWNER#".support_items
    WHERE  contract_id = :P26_CONTRACT_IDThe table support_items implements arced relationships and has the following columns
    CREATE TABLE SUPPORT_ITEMS
      ITEM_ID         NUMBER                        NOT NULL,
      CONTRACT_ID     NUMBER                        NOT NULL,
      HARDWARE_ID     NUMBER,
      BACKUP_DEV_ID   NUMBER,
      HARDWARE_OS_ID  NUMBER
    )A check type constaint on support_items ensures that only one of the fk's is present.
          (    hardware_id    IS NOT NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NOT NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NOT NULL
          )    Hardware_Id is a FK to Hardware_Assets
    Backup_dev_id is a FK to Backup_Devices
    Hardware_os_id is a FK to Hardware_op_systems
    The Tabular Form Element based on item_type column of SQL query is Displayed As Select List (based on LOV) referencing a named list of values which have the following properties
    Display Value     Return Value
    Hardware Asset    HA
    Backup Device     BD
    Computer System   HSThe Tabular Form Elements for the report attributes for hardware_id, backup_dev_id and hardware_os_id are all Displayed As Select List (Based on LOV).
    What I want to do is only display the Select List for the FK depending on the value of the Select List on Item Type, e.g.
    Item_Type is 'HA' then display Select List for hardware_id, do not display and set to NULL the Select Lists for backup_dev_id and hardware_os_id.
    Item_Type is 'BB' then display Select List for backup_dev_id, do not display and set to NULL the Select Lists for hardware_id and hardware_os_id.
    Item_Type is 'HS' then display Select List for hardware_os_id, do not display and set to NULL the Select Lists backup_dev_id and hardware_id.
    There are properties on elements to conditionally display it but how do we reference the values of the SQL query Updateable region? they are not given a page item name?
    Also on the Tabular For Elements there is an Edit tick against a report item - however when you go to the Column Attributes there is not a property with which you can control the Edit setting.
    What's the best way of implementing this requirement in APEX 3.1?
    Thanks.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "user13515136".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have a multi-row region that displays values and allows entries in a number of fields.Provide exact details of how this has been implemented. (An example on apex.oracle.com is always a good way to do this.)
    I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done? Almost anything can be done, often in multiple ways. Which are appropriate may be dependent on a particular implementation, the skills available to implement it, and the effort you're willing to expend on it. Hence it's necessary to provide full details of what you've done so far...

  • Need a JavaScript to enable/view Multi-line option for Text fields.

    Hello All,
    I need a JavaScript to enable/view Multi-line option for all the Text fields in PDF Form.
    Assume that I have a PDF form of Fields from F1 to F100 and it contains 25 Checkboxes, 25 Combo Box and 50 Text Fields. Now i need a javascript for which i need to enable Multiline for only Text Fields. So Is there any JS for which i can enable the Multiline option for only Text fields and not for ComboBox or Checkbox.

    Hi timo,
    Thanks for your help. iam trying to use the iteraor approch to do this. but i don't know how to fetch the data entered in the form that was built by the iterator. can you please tell me .
    thanks

  • JavaScript not enabled?

    I am not a tech moron, but I have totally hit a wall with this (hopefully) small browsing problem.
    Every site that requires Java ceases to access the script. Therefore, I have no access to these sites.
    I have tried to reinstall the Java console, finagled the browser settings (the Javascript is enabled and I even turned off the firewall at points) , and tried IE, Mozilla, and Netscape -- all with the same problem.
    Again, everything else with the computer is fine. My connection is lightning fast, I have no spyware, etc. This slight little fault (no java allowed) is driving me crazy. What strikes me as odd is that the very first time I ran an anti-spyware program, the problem was fixed. Quickly, though, even after all spyware had been removed, the problem persisted.
    Does anyone have any suggestions?? I would absolutely dread re-installing the entire hard drive, and I doubt it would require something so drastic.
    As this is a work computer and time is of the essence, please conact me at [email protected] Thanks so much in advance.
    ---B

    Sorry I don't have a solution but I have the same exact problem. I am considering contacting microsoft to see if Windows SP2 is the issue. If you find a solution please contact me, [email protected] I would greatly appreciate it, this problem is really bothering and stopping from trading.

  • Where is the tools on mozilla bcos i ned to check that javascript is enabled bcos i cant download adobe flash player without it

    i am trying to find the tools icon on my mozilla web browser bcos it wont let me download adobe flash player and ive donethe troubleshooting and i need to find the tolls to see if my javascript is enabled in order to download adobe flash player.can u help asap

    Have you got the NoScript add-on installed? That deals with turning on Javascript on a per site basis (it disables Javascript but you can enable it for chosen sites). If you have, then you'll need to change it so that either NoScript allows adobe.com or you can temporarily allow the site (right-click on the NoScript icon to change). Anyway, the NoScript website will have further help if this is the problem.
    If you don't have this add-on installed, then we'll need to check whether a setting in about:config has changed. about:config is Firefox's advanced configuration tool (so be careful). Open a fresh tab, enter "about:config" (no quotes) into the address bar, click the warning button (there be dragons), then enter "javascript.enabled" (no quotes) into the search bar of about:config, which should find the relevant setting. If Javascript is running, then its value should be set to true. If it's set to false, then you'll need to double-click the entry (or right-click and select toggle) to set it to true to enable Javascript.

  • How I detect in a dynamic website either PHP or CFM or JSP that cookies & javascript are enabled ?

    How I detect in a dynamic website either PHP or CFM or JSP that cookies & javascript are enabled ?

    You do that on the browser end using JavaScript. For cookies, simply establish session variables in PHP or whatever you use. if the browser refuses them, they wil lreturn a respective value in the referrers...
    Mylenium

  • At event calendering site, getting message "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." Javascript is ENABLED on my computer.

    I'm trying to submit an event to the events calendar at http://calendar.jtnews.net/events/index.php?com=submit. After I enter the Authentication words and press Enter, I get the message, "There was a problem with your event submission. If you have disabled JavaScript please enable it and try your submission again." According to my Firefox/Tools, etc., button, Javascript is enabled. I

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How do I display something only if javascript is enabled?

    Hi. This may be a dumb question, but I haven't been writing code all that long. Anyway, I am creating a custom online store. I used the spry menu bar to create a menu bar for the product categories. The tutorials I had been watching about how to use the spry widgets said that it's a good idea to create alternatives incase somebody doesn't have javascript enabled, so I created an alternative navigation system. The problem now is, I only want to display the spry menu bar if javascript is enabled. I know I can use the noscript tag to display the alternative navigation system is javascript is disabled, but how do I display something only if javascript is enabled?

    I tried that and it doesn't seem to be working. I tried it as:
    <div id="navigation">
       <script>
      <?php publicNavigation(); ?>
    </script>
        <script type="text/javascript">
    <!--
      var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
        <noscript>
        <?php
         startNavigation();
    ?>
        </noscript>
      </div>
    and as:
    <div id="navigation">
    <script type="text/javascript">
    <!--
      <?php publicNavigation(); ?>
      var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
        <noscript>
        <?php
         startNavigation();
        ?>
        </noscript>
      </div>
    In either situation, nothing shows up where the menu bar should be. I know I have javascript enabled so that is not the problem. How do I get this working?

  • Enable your Internet browser to accept cookies and make sure that javascript is enabled problem

    I am have problems logging onto adcenter.microsoft.com
    As soon as I try to submit my user/pass I get the msg:
    "Please enable your Internet browser to accept cookies and make sure that javascript is enabled. If you aren’t sure how to do this, refer to your browser’s Help"
    I have done various tests to see if my browers does accept cookies and javascript is enabled, and all is good here.
    I also have the plugin Java plugin 2 for npapi 13.6.0. (I am running firefox on mac).
    I used to be able to log into the site. not anymore. Since then i must have updated firefox a few times.
    I have cleared cache/cookies. I have disabled all plugins/extensions. Still can't get in.
    What else can i do?
    I have spoken with microsoft adcenter, and all they could tell me was make sure i have the latest java, which i have i guess.

    To avoid confusion:
    *http://kb.mozillazine.org/JavaScript_is_not_Java
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    See:
    * [http://adcenterhelp.microsoft.com/help.aspx?project=adcenter_live_std&market=en-us&querytype=keyword&query=730yek&tmt=&domain=adcenter.microsoft.com&format=b1 Microsoft Advertising Help]
    Notes
    ** If you use Mozilla Firefox, you must enable cookies and JavaScript. Check the Help for Mozilla Firefox for info on how to do this.
    ** Currently, adCenter doesn't support Apple Safari or Google Chrome.
    ** Also, adCenter currently doesn't run on Apple Mac OS, Virtual PC, or mobile phone platforms.

  • Is JavaScript automatically enabled on this browser

    I need JavaScript and superuser. Enabled to be able to root my android optimus 2.2 without a computer. I kept trying with just my phone's browser but it will not root. I have tried many ways and it just won't work. Anyone's help would be so very much appreciated

    In my experience, you can't root without having a custom recovery installed either TWRP or CWM and you need to overwrite system files by using a computer. I haven't seen any way to root any device without using a computer.
    It depends on what Optimus you are using. There are several variants of the LG Optimus including the LG Optimus S for Sprint, Optimus V for Virgin Mobile, Optimus C for Cricket, and a few more.
    Also, Javascript is enabled by default on Firefox so there's no need to enable it unless you went into about:config and disabled it but I don't think that happened since normal users don't know about it.
    Since this is an off-topic question and not related to Firefox but rather your device, I'm going to close it. I would be happy to help you off of this forum if you would like. My contact info is in my profile page
    *Here's a quick link --> [/user/moses]
    Email is the best and quickest way to reach me.
    Before you do that, I suggest you go to a website such as xda-developers.com or androidforums.com

  • I am unable to unblock plug-ins.  My javascript is enables, java is allowed, other plug ins is allowed.  Help!

    I need help to unblock plug-ins.  I have checked and javascript is enabled, java is allowed, and other plug-ins is allowed.  How do I unblock plug-ins?

     
    Which browser & version are you using? 
    Solution may be found if you search in the "More Like This" section over in the right column. 

  • Although javascript is enabled zoo paradise game tells me to enable it

    i am trying to play the game zoo paradise on Facebook. it doesn't start and it tells me "if you have the latest flash but still see this message,please make sure javascript in enabled on your browser." Javascript on my Firefox is enabled and i downloaded the latest flash version and still is not working.
    == This happened ==
    Just once or twice
    == i am trying to play a game on facebook

    You sure seem to have both plugins, and latest versions.
    For testing that Javascript is working correctly, you can find test links and info in this article: [[Using the Java plugin with Firefox]].
    For testing Flash, we have the support article [[Managing the Flash plugin]].
    If either of these fail, look for help in the articles and/or let us know what results you get so we can provide further assistance for getting it fixed.
    If all seems to be in working order with both, you may have some extension blocking that particular page or application. I would recommend trying to start Firefox in [[Safe Mode]] and test the FB application again - if this works out, you can try enabling your extensions (from menu Tools -> Add-ons -> Extensions) one by one to see which one causes the problem. If it still fails in Safe Mode, this strongly suggests that an external application is blocking execution - most likely a security application of some sort.
    Please let us know how above works out, and if we can be of further assistance. :-)

  • When i open a facebook game it say "please make sure that javascript is enabled in your browser" how to open it??

    when i open a facebook game it say "please make sure that javascript is enabled in your browser" how to open it??

    and i already have a new flash player and i also go to >Tools>options>content to cheak my javascript is choose then i press ok and reload the game page it pop out same thing

  • My JavaScript already Enabled but my bank site shows me java script disabled and am not able to transfer my fund online

    I have alrady enabled java script but my bank website prompt me that java script disabled so for thesame am not able to pay or transfer my funds online.

    Java and JavaScript are not the same thing. To ensure the JavaScript is enabled, go to the Options dialog and select the Content panel and make sure that "Enable JavaScript" is selected. There are add-ons that can block JavaScript, if you have an add-on such as NoScript, make sure that it has not blocked your bank site.
    If you are still having problems, try running Firefox in [[safe mode|Firefox safe mode]], this will disable add-ons and can be used to see if an ad-on is causing the problem. If it works in safe mode, follow the procedure in the [[Troubleshooting extensions and themes]] article to identify which one is doing this.

  • 3.6.12...get "javascript not enabled"...it *IS*. IE (yuck) runs fine...

    Using 3.6.12. I keep getting "javascript not enabled' . I checked and it IS enabled. IE (yikes) runs fine. Thanks in advance. ~cybrmutt~

    By any chance, have you installed the NoScript add-on? You would notice its icon on the Status Bar.
    If this only affects one or a few particular sites, that could be a clue.

Maybe you are looking for

  • Can't get column link in report to work

    I'm trying to get a column link in a report to work and I keep on getting the error "Query cannot be parsed, please check the syntax of your query. (ORA-00972: identifier is too long)" The code looks like this: SELECT IDDR_NAME AS EDIT, IDDR_NAME AS

  • Bootcamp display depth-color 16

    My MBP 2011 which I had Window 7 installed on bootcamp(latest version). Now having a problem with display color-depth. It seems when I choose the 32bit depth-color, I notice that there are dark background-like box around every Window7 menu. But, when

  • .XML page not opening in IE after running in JDeveloper 10.1.3

    Hi, I built a page SamplePG.xml under webui in JDeveloper. When i tried to run the page, the internet explorer opened and it keeps on refreshing, the page is not completely opening. any suggestions. Thanks.

  • Problem to connect to the XI

    hello I am trying to send from RFC to WS but the message does not enter to the XI. this is what I see in the RWB Error in processing caused by: com.sap.aii.af.mp.module.ModuleException: call to messaging system failed: com.sap.aii.af.ra.ms.api.Config

  • Hot Corners do not seem to put Mac to sleep or activate screen saver

    All was been working fine and as expected on my Macbook until the 10.6.2 update. I have left hot corner set as screen saver, and right hot corner set to sleep the display. When I go to the hot corners, sleep or screen saver is activated, but then I w