Apex 4 JavaScript API documentation bug

Hi,
JavaScript API documentation have exactly same description for functions
$f_Hide_On_Value_Item
$f_Show_On_Value_Item
>
Checks an page item's (pThis) value against a value (pValue). If it matches, a DOM node (pThat) is set to hidden. If it does not match, then the DOM node (pThat) is set to visible.
>
And also functions have same description
$f_Hide_On_Value_Item_Row
$f_Show_On_Value_Item_Row
>
Checks the value (pValue) of an item (pThis). If it matches, this function hides the table row that holds (pThat). If it does not match, then the table row is shown.
>
I think that is not correct
http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/javascript_api.htm#CHDHIAJB
Somehow I recall there has been post about this, but I can not find it.
Regards,
Jari

The description of these functions have been corrected. The latest updated version of this document is now available on the Oracle Technical Network (OTN).
Thanks for reporting the bug,
Drue Swadener
Principal Technical Writer

Similar Messages

  • Online Javascript API Documentation??

    Where is the online Javascript API Documentation? This link has been broken for over two weeks:
    http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp. htm?href=JS_Dev_Overview.71.1.html&accessible=true
    If this information has moved can someone point me in the right direction?
    thx
    PP

    Thanks Gilad--
    I didn't think to check the downloads--thanks for that tip.
    Do you know if the online documentation will return?
    thx
    PP

  • Some more typos in the Javascript API documentation

    Very minor, niggly things, but even so, they are there.
    In the Javascript APIs, the function definition refers to the parameter pNd, but then in the Parameters subheading, it is referred to as pId (inconsistent).
    The two that come to my immediate attention are: $v_Array and $f_ReturnChecked.
    $v_Array( pNd )
    Returns an item value as an array. Useful for multiselects and checkboxes.
    Return Value
    (Array)
    Parameters
    pId (DOM Node | string ID)
    $f_ReturnChecked( pNd )
    Returns an item value as an array. Useful for radio items and check boxes.
    Return Value
    (Array)
    Parameters
    pId (DOM node | string ID)Upon further searching the others that come up are:
    $x_SwitchImageSrc(pNd, pSearch, pReplace) - the function description refers to pId.
    $dom_AddInput(pThis,pType,pId,pName,pValue) - the function description place all paremeters in parenthesis, except for the last one in the sentence, pValue.
    Ta,
    Trent

    I've just come accross this $nvl function in the javascript API. see: http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/javascript_api.htm#CHDGAIJJ
    The description reads:
    *$nvl(pTest, pDefault)*If pTest is empty or false return pDefault otherwise return pTest.>
    So this sugguests to me, that if the value of pTest is either empty or null or false, return the value of pDefault. However, when you pass in an empty string (or a false variable), it just returns that value.
    And if you look at the function specification in apex_4_0.js
    function $nvl(b,a){
         return(b != null) ? b : ((!!a) ? a:"")
    }Obviously, passing in an empty string as pTest (or a false variable), will just return you that empty string (or false), as it isn't null.
    In a javascript console:
    *Test 1: False variable*var t = false;
    undefined
    t
    false
    $nvl(t, '0');
    false
    Test 2: Empty variable
    var s = ''
    undefined
    s
    $nvl(s, '0');
    Test 3: null variable
    var r = null
    undefined
    r
    null
    $nvl(r, '0');
    "0">
    Ta,
    Trent

  • Javascript API, Get List PropertyBag, SP2013 Persmissions Bug?

    Hey,
    i want to read the propertybag out of a SPLIST Object via javascript api.
    The PropertyBag is stored in the rootfolder, so you can access it, but NOT! when the user has only read permissions on the website.
    The exact List Permission to read a PropertyBag for Lists is "Manage Lists" for the javascript API
    var listInfoCollection = clientContext.loadQuery(oWebsite.get_lists(), "Include(Title,Id,ParentWebUrl,BaseTemplate,RootFolder.ServerRelativeUrl, RootFolder.Properties)");
    Can anyone tell me another way to retrieve List PropertyBag via javascript?

    Did you try using export import method in property bag setting?
    http://pbs2013.codeplex.com/

  • Apex 4 Help documentation - missing }

    Not sure if it has been mentioned, but the documentation has missing closing braces on some items in the Javascript APIs.
    E.g.
    >
    apex.submit(pRequest | pOptions)
    This function submits the page setting the Application Express Request value (pRequest) or (pOptions).
    Parameters
    pRequest (String)
    or
    pOptions (Object)
    where Object can contain the following options:
    request - The request value to set (defaults to null)
    set - Object conatining name/value pairs of items to be set on the page prior to submission(defaults to null).
    *Exampleapex.submit({  request:"DELETE",  set:{"P1_DEPTNO":10, "P1_EMPNO":5433});*>
    In the example provided, an extra } is needed at the end. It is also missing for the documentation on apex.confirm(pMessage, pOptions).
    It's probably also worth mentioning, that using double quotes is ineffective if used in a report or button custom URL target. e.g. if I do custom URL target as javascript:apex.submit({  request:"DELETE",  set:{"P1_DEPTNO":10, "P1_EMPNO":5433}}); That then translates the link into something like : <a href="javascript:apex.submit({  request:"DELETE",  set:{"P1_DEPTNO":10, "P1_EMPNO":5433}});">Link Text</a> Causing the browser to think the href attribute ends before the DELETE word, and disregarding the rest. Single quotes are more effective.
    Ta,
    Trent

    Hi Trent,
    thanks! I will forward that to our documentation ladies.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Displaying a theme-based FOI layer as a whole image with javascript API v2

    Hi,
    I have looked the Oracle maps V2 tutorial developed in mvdemo.war application provided with Oracle Mapviewer v11.1.1.7. I have looked how to use theme-based FOI layers and I have not found how to set the "whole image" property for these layers. This feature is present in javascript API V1 and it greatly improves application performance. Our applications use this property very often.
    Is this property present in javascript API V2 but not documented?
    If it's not present, do you know if it will be?
    How can we show a layer with many geometry features and obtain the same performance we have now with the whole image property?
    Thanks,
    Arturo

    Hi,
    since this is a very crucial feature for us I'm very interested in that functionality as well. Is there a comparable functionality in the V2 API or will it be available in feature releases?
    Thanks
    Dominik

  • External use of Javascript API

    Hello All,
    I was wondering two things.
    1 - What is the file that contains the javascript API functions.
    2 - Could one use this outside the realm of APEX. --> I have a desktop application which connects to APEX and does a whole bunch of things. I have have however run into a problem. CLOBS. In apex I can use $S , but outside of APEX, what would be the equivalent.
    I know this is a shot in the dark, but well knowing does nto hurt.
    Thanks
    Jan

    1) These files can be found in /i/javascript
    $s for instance is found in apex_4_1.js
    2) Depends on the function. You can use these js files to track down exactly how Apex actions these tasks (I do this sometimes to learn a little more javascript), but if it ultimately talks to the db, then obviously you can't use that out of context.

  • How to trigger the automated row fetch process and open modal window by javascript api?

    Hi,
    I would like to click the one row of column of IR report, to open the modal window of current page.  <----------------it is ok. I can use "javascript:openModal('windowID')"  to do it.
    There is one form in this modal window, Meanwhile, I would like to pass column data to this form.    <--------------------- it is ok also. I can use " $s('P7_ID','column_value');" to do it.
    But I don't know how to trigger the "automated row fetch" process of this form to retrieve other field's value in this form.   
    I tried to use following 2 ways. But failed.
    First method:
    add one ajax process of "automated row fetch" in "page processing" block, named "get_fetch_data"
    when click IR column , call "openModal", and call  "apex.server.process ( "get_fetch_data", {}, { success: function( pData ) { }  } );"  , I tried to call above ajax process to refresh form. It is failed.
    Second method:
    add one process of  "automated row fetch" in "page rendering" block, named "get_fetch_data"
    when click IR column, call javascript api "apex.submit" to submit current page , then call "openModal".
    such as :  javascript:apex.submit({request:'MODIFY',set:{'P7_ID': #ID#}}); openModal('trade');
    But it is failed also. the modal page is showed firstly. then page refresh. but modal window will not open again.
    I am not sure if my thinking is right. Could you please provide any suggestion?
    Thanks in advance,
    Ping

    Hi Ping,
    You can try to set the session state of your modal page's primary key before opening the modal page. Use one dynamic action (on click of IR row) with two true actions. First one to set session state of modal page pk, second on to open modal page.
    Or you can add the modal page url as link in your report by extending your query:
    select ...
    ,         apex_util.prepare_url( 'f?p='||:APP_ID||':7:'||:APP_SESSION||'::'||:DEBUG||':7:P7_ID'||COLUMN_VALUE ) as link
    from ...
    This will give you the url of the modal page, with set primary key.
    Regards,
    Vincent Deelen
    http://vincentdeelen.blogspot.com

  • Shockwave 11 Javascript API

    I'm seeking any information regarding the javascript API for
    Shockwave 11. Does it exist? Is there documentation?
    I've seen one example using a javascript to control the
    shockwave player created for 8.5 at famous3D website, but it
    appears to be broken now with version 11. I've been having a
    serious problem with the Shockwave ActiveX Control since upgrading
    to 11. I'm hoping the Javascript API could be a potential
    workaround.
    Any info would be greatly appreciated! Thanks in
    advance!

    _PlayerOne_,
    No, I haven't made any progress on this. I can confirm that
    it happens also in Director 11 and Director MX 2004. Director 11 is
    a currently supported product and yet it experiences the same
    error. I have also posted this to the director forums but no
    response there. I have also explored calling it from Swing in Java,
    same effect. Calling it in a Power Point presentation with Visual
    Basic also causes it to crash.
    I got the "compatibility player" portion to load but it
    didn't have any effect on this issue.
    No solution has presented itself. Currently, I am advising
    our company and our customers to revert to the 10.3.0.24 version
    and to avoid installing the 11.0.0.429 version until it gets fixed.
    Unfortunately, this means Vista performance is poor but luckily our
    customers haven't moved entirely to Vista.

  • Javascript API and Player Control

    Spent hours the last few days digging through the forums, documentation, and WIKI to see if I could find some answers.  Unofrtunately, thus far, the data is sparse.  Can somebody direct me to some documentation on the Javascript API and what events ara available to control the player?  For example, how do I send the player an event to "mute" the volume?  Or, how do I send the player an event to "seek" to a point in time in the video?  Or, how do I "listen" for a point in time in the video and then use javascript to do something else (like play another clip).
    I have found some very sparse information on the use of JQuery, but, we do not use that (at least, not yet).  Simple javascript through an API is ideal.  Any help would be greatly appreciated.

    <html>
      <head>
      $("#PlayerHolder").html("<span id='PlayerDiv'></span>");
      x = x.replace(/&/g,'%26')
      var flashvars = {};
      flashvars.verbose="true";
      flashvars.poster="http://"+server+"/thumbnails/thumb_"+x+".png";
      flashvars.plugin_watermark="swfs/WatermarkPlugin.swf";
      flashvars.watermark_namespace="http://osmf.realeyes.com/plugins/watermark";
      flashvars.watermark_url="ct-vector_small4.png";
      flashvars.watermark_vAlign="top";
      flashvars.watermark_hAlign="right";
      flashvars.key="hello";
      flashvars.optimizeBuffering=false;
      flashvars.bufferTime=5;
      flashvars.urlIncludesFMSApplicationInstance=cloudfront;
      var parameters = {};
      if(rtmpt){
      parameters.flashvars="src=rtmpt://"+server+"/recorder/s3/vid_"+x;
      }else{
      parameters.flashvars="src=rtmp://"+server+"/recorder/s3/vid_"+x;
      parameters.allowscriptaccess="always";
      parameters.wmode="direct";
      parameters.allowfullscreen="true";
      var attributes = {};
      attributes.name="player";
      attributes.id="player";
      swfobject.embedSWF("StrobeMediaPlayback.swf?ID="+Math.random()*100,"PlayerDiv","470","320 ","11.2","scripts/expressInstall.swf", flashvars, parameters, attributes);
      function thisMovie(movieName) {
      if(navigator.appName.indexOf("Microsoft") != -1) {
      return window[movieName];
      } else {
      return document[movieName];
      function doPlay(){
      thisMovie("player").play2();
      </script>
      </head>
      <body>
      <input type="button" value="doPlay" onClick="doPlay()"/>
    </body>
    </html>
    Try something like this.

  • A little inconsistency in javascript API's version 4.0

    Hi,
    i just found out the following little inconsistency in the "syntax" of the pClass parameter in API functions $x_ByClass and $x_Class.
    Until version 3.1 if you wanted to select or set nodes having a double class, you had to specify the classes as "classA classB" separated by a blank.
    Now in version 4.0 this doesn't work anymore for $x_ByClass, but it is still working for $x_Class.
    $x_ByClass now seems to accept the period as separator, that is "classA.classB".
    I looked at the javascript code and saw that the function has been rewritten using some jQuery wrapper, which probably explains the change of syntax.
    I wonder if it makes sense to translate automatically spaces into periods to maintain the compatibility or change the behavior of $x_Class as well, because it's somewhat confusing to have functions using a different syntax.
    Moreover it would be beneficial to mention these changes somewhere in the API documentation.
    Flavio
    http://oraclequirks.blogspot.com
    http://www.yocoya.com

    Hi Madhu,
    Lets be clear here. If the first message is different to the second one, then the second message could be a non-serializable message. So we can't consider working of first message as proof to prove it would also work for send message.
    If this orchestration is working for a while and failed all in sudden, then we need to investigate why? See how do you construct the second message. Trace the orchestration and see what's been sent/created for second message. Check whether the second message
    is a valid XMLDocument. Also as said before, try to make the shape into an atomic scope and see whether it makes any difference.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • PDF embedding & Acrobat's JavaScript API

    Hello,
    I have two questions.
    I currently using Safari 1.3.2 and Acrobat Reader 7.0.9 to test an PDF document embedded in a Web page. In Safari 1.3.2 I get a "This operation is not allowed" warning when the HTML object element and the embed element are encountered.
    I have also tested it in Safari 3.0 on Windows, with plug-ins enabled in the Preferences and Acrobat Reader 8 installed. The PDF file is not shown and no warning is given either.
    So, does Safari 2.0 support embedding PDF files at all?
    My other question is, assuming Safari does support PDF embedding, whether it is possible to interface from an HTML page to the Acrobat plug-in via Acrobat's JavaScript API. In IE this is a simple as getting the object element by id and for example, invoking its Print() method. Is this possible in Safari?
    Thank you in advance,
    Adal Fraile

    Hello,
    I have two questions.
    I currently using Safari 1.3.2 and Acrobat Reader 7.0.9 to test an PDF document embedded in a Web page. In Safari 1.3.2 I get a "This operation is not allowed" warning when the HTML object element and the embed element are encountered.
    I have also tested it in Safari 3.0 on Windows, with plug-ins enabled in the Preferences and Acrobat Reader 8 installed. The PDF file is not shown and no warning is given either.
    So, does Safari 2.0 support embedding PDF files at all?
    My other question is, assuming Safari does support PDF embedding, whether it is possible to interface from an HTML page to the Acrobat plug-in via Acrobat's JavaScript API. In IE this is a simple as getting the object element by id and for example, invoking its Print() method. Is this possible in Safari?
    Thank you in advance,
    Adal Fraile

  • How to add a polygon to mapviewer using Javascript API

    Hi,
    I am using JavaScript API for the MapViewer.
    Using redlining tool, my application allows user to draw polygon onto the map.
    I would like to have union, difference and intersect tools. I know the back end logic can be done using using JTS or SDO_Union, SDO_difference, and SDO_intersection. but how do i display the result polygon on the map? Note that I am not going to store the polygon in the database.
    Thanks for any ideas.

    Hi,
    If I understand well you are using Oracle Maps. User do some redlining, then you somehow makes FOI polygons. Then you get the coordinates of the polygons and send them to the back-end where you can use spatial functions and get the coordinates of the new polygon.
    You can store those coordinates in i.e. hidden input field on page (if you use JSF it is very simple) and then use JavaScript to parse them and Oracle Maps API to create new FOI polygon and add it to mapviewer object. One disadvantage of this concept is that reloading of page (submit) is necessary.
    Branislav

  • Map Builder JavaScript API

    Hello everybody,
    I'm a student who is currently working with Oracle for the first time. I developed an Web mapping application by using Oracle XE Database (10g), Oracle Map Viewer and corresponding Map Builder (the latest version). I choose the JavaScript API for the implementation of this application.
    The reason for this post is one particular problem that I encountered. I want to extract the X and Y coordinates (which are naturally stored as SDO_GEOMETRY in my database) for certain features that are visible in my map window (this features belong to themebasedFOIs). I know that the x and y coordinates (and other attribs) are easily accessible for the JavaScript Client if the coordinates are stored in own columns (additionally to the information stored in the SDO_GEOMETRY) ... but that is not the case!
    I searched the JavaScript API, the Internet, this forum and it took me a long time ... but I didn't come across any possiblity to manage this. So does anybody who reads this post see a possibility to get my X and Y coordinates from my HTML application that is build with JavaScript API???
    I will be very thankful for any advices and/or hints... :-)
    With regards

    hi, we don't return the geometry back to the client unless the foi is a point.

  • Where to find API documentation on massage handling from Email to PDA?

    Where to find API documentation on massage handling from Email to PDA? and vice versa..?

    You'll have to help me understand what you want to do.
    :"message handliing from e-mail to pda" doesn't mean much to me.
    We prrovide ENS, which is what most folks that want notification to pda's want.

Maybe you are looking for

  • Why doesn't yahoo page fill my new 20 inch display?

    I have used and loved firefox for about two years, have just bought a new computer with a larger 20 inch monitor and the content of my yahoo homepage only fills about 60% of the display. It is centered, just not large enough. This was never an issue

  • Best way to collect all video and picture files for a project

    after effects has this great feature where you choose COLLECT and basically what it does is collects all your media files and puts them in a folder. What the best way to do this in FCP?

  • My Mastercard was working effectively

    My Mastercard was working effectively, suddenly it stopped ! it says my payment method is not accepted ! why I have money in my card but still cann't use it

  • IPhone's 3.1.3 firmware cause Error code 9?

    Trying to update my phone to 3.1.3 last night and now is throwing error code#9 in recovery mode. Try to recover from different PCs and USB ports, still no avail. Any ideas???

  • Changing billing country

    I recently changed country associated with my itunes account. My music has stayed on my iphone but I am outraged to discover that when moving country and you change your bank details that your previous movie purchases seem to disappear. Is this corre