Javascript API feature request

Just looking at the JS API, I notice the function:
$x_Style(pNd, pStyle, pString)source: http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/javascript_api.htm#CHDDBBDH
Which is used to set the style for a particular element on a page. I think it would be a good addition (for a future release) to have a getter function, so you can perform both get and set, for the css properties of an element.
Ta,
Trent

Hi Trend,
the $x_Style was added before we have added jQuery in APEX 4.0. In future versions of APEX we try to avoid to duplicate existing functionality of jQuery in our own JavaScript libraries. We even think about to move that kind of existing functionality like $x_Style into some kind of "legacy" APIs file.
The idea is that our own APIs should just contain high level functionality which are specific to APEX like the $s and $v function which are aware of the different APEX page item types. Wrapping existing jQuery functionality without providing additional functionality would just blow up our JavaScript code and increase download time.
Hope that gives you a better inside about our JS direction
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

Similar Messages

  • SSLSocket to support NIO - feature request voting

    Hello All,
    I know there were many discussions here regarding this subject.
    I've seen the SSLEngine solution for the problem... But I didn't like it since it is too complicated.
    For my understanding SSLSocket inherits Socket so an application that can handle Sockets should be able to handle SSLSocket without writing a specific code besides the factory.
    NIO allows Socket to be none blocking... So why SSLSocket which is a Socket does not?
    If I write a Web server in Java, why should I deal with none SSL and SSL connections in a different way?
    I recently wrote one threaded NIO server and was amazed that I could not use SSL with the same implementation.
    I've opened a feature request for Java, but they told me to gain support for this subject here before they will consider it...
    As I understand I can re-implement SSLSocket to use SSLEngine and support NIO with blocking and none blocking support... But I think Sun should do it.
    One caveat is to make sure that the SSLSocket HandshakeCompletedListener should be called by a daemon thread, so that it will not block other sockets while certificate verification occur.
    Of course when I refer to SSLSocket I also refer to SSLServerSocket.
    Can you please comment regarding this issue... Every comment will be welcomed!
    Best Regards,
    Alon Bar-Lev

    nah, I am very glad they released an engine separate from transport allowing encryption on any transport.
    I am also working on an abstraction of nio that you may be interested in if you don't want to do the security yourself......it is here...
    http://sourceforge.net/projects/channelmanager
    Right now, it only contains the api, but there are 3 implementations behind it right now with 3 to be added.
    1. Basic implementation that does just nio
    2. Secure implementation that implements same api and uses implementation 1
    3. Packettizer implementation which puts things in payloads with headers and footers
    4. (to be added) Threadpool implementation allowing a threadpool to be inserted in the stack somewhere
    5. (to be added) TestProxy implementation allowing exxceptions to be thrown on purpopse to test a system on a bad network....can test failure on bind, connect, read, write, etc....everything.
    6. denial of service layer.
    7. Exception catch layer to protect #1 and #4 mainly from bad clients that throw exceptions back to the channelmanager.
    Each one of these layers (2 - 4) implements the same api and uses the same api so 2 -4 are all proxies. You can reorganize the proxies as you want.
    The secure one is almost done. Any comments on the api will be welcome.
    thanks,
    dean

  • Feature Request: Add multiple photos to catalog at once

    The API currently allows you to use catalog:addPhoto() to add a single photo to the catalog.
    This works fine, but a poor user experience when adding a number of photos (esp. dozens or hundreds) - there's a separate child progress bar for each, masking the overall progress, and if the user has a sound enabled on import, it plays the sound on each photo import. If there were a way to import multiple photos at once (or API options/params to disable both of the feedbacks), this would make for a better UX when importing a lot of pictures.

    Sorry. I'm having a hard time finding my way around these forums, and the search is less than helpful.
    Please point me in the right direction.
    Edit: I found the correct forum now, and have recreated my feature requests there and deleted them from this forum (with the exception of this thread, which I can't delete at this point). My apologies.

  • 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

  • Delivering on your top feature requests!

    Dear Adobe EchoSign community --
    As Fall starts to settle in, [at least in the Northern Hemisphere], I wanted to share progress we've made on your feature requests.  As context, our team sits down weekly to review your top feature requests that come from our community sites, our support, and our 1:1 conversations. Year to date, we've already delivered more than 80 of your top feature requests: Enterprise administration, API flexibility, improvements to our fields and more. 
    A partial list of the most-requested features delivered include:
    Refreshed and new clients for Android and iOS
    New sign-only role : control who has signing privileges, and who can send agreements
    Batch user creation: enable/disable accounts
    Ability to update & edit your published widgets
    Advanced data retention policies and configuration
    Field alignment & form field sizing during form authoring
    Text Tags for creating hyperlinks in documents
    Specify text color, font and font size for form fields through text tags
    Repeat fields at the same location with the document via text tags and form authoring
    EchoSign signature stamps on documents through text tags and form authoring
    EchoSign Transaction ID on documents linked to the EchoSign Audit Trail through Text Tags and form authoring
    Field labels for radio-buttons, check-boxes and links from text tags
    Enable/Disable form fields through conditions during e-sign
    Enhance reporting to export read-only metadata included with the agreements
    And a huge amount of work with the REST API Set:
    Sending documents with phone authentication
    Creating widgets with multiple counter-signers
    Replace signers through the API
    Allow signature delegation through the API
    and more.
    Over the remainder of the Fall, our key focus areas include the new Salesforce1 release, expanding our enterprise administration capabilities, building out the REST API, and the constant work on the SaaS infrastructure to increase performance, availability, and security.  We have more to here.... we know!  So keep the feedback and ideas coming.   And thank you for your engagement and use of Adobe EchoSign.  Hope to see you at Dreamforce '14.
    -- Jon "JP" Perera

    Evita,
    Yes, you can still vote on Accepted. (You can even vote for "Scheduled for release...", because sometimes we need to move features from one release to the next)
    Accepted means that it sounds feasible to do and we can do it, but "when" has not been established. Please add votes to help that decision.
    Rejected Just that, we have no plans to do this. I don't revisit rejected on the Exchange.
    (However, some features that have been rejected have been discussed on the forum and we've reconsidered. We have also changed "rejected" to "accepted" on previous occasions, but only based on discussions here. Some features rejected have very poor explanations as to the problem users are trying to solve)
    Open We haven't read them or made any decision on them.
    Awaiting Community Votes means just that. Someone has proposed a feature and no-one else seems to be interested.With the long list of features, we do need to prioritize and some features requested are obscure, so we want more feedback from the community. More votes and feedback from the community helps. We sometimes get 10 points from some folk and zero from others for the same feature.
    Please note that except for the Open features, the others we have touched and added feedback.
    Problems I have with the feature requests is lack of clarity in the request and more than one request described in a single request. The extra features get lost and others can't vote on them.
    Sue

  • 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.

  • 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

  • Javascript API

    Is there any update on the proposed release of the javascript API for post Forms 9.0.4 ?
    thanks
    Andrew

    Andrew,
    we started working on the JavaScript API for Oracle Forms 11. We have a spec, which is a good way to start and I am confident that we will see this feature coming.
    Frank

  • Feature request: more xpath support in XMLElement

    Hey guys,
    Just wanted to submit a feature request. I'm trying to write code to find the number of Invocation service threads that Coherence uses. It would be very nice if I could use XPath syntax such as the following:
    getSafeElement("cluster-config/services/service[@id='3']/init-params/init-param/param-value")
    Since the API doesn't support that, I have to resort to something like the following:
    XmlElement services = com.tangosol.net.CacheFactory.getClusterConfig().findElement(
            "cluster-config/services");
    List servicesList = services.getElementList();
    for (Iterator i=servicesList.iterator(); i.hasNext(); ) {
        XmlElement element = (XmlElement)i.next();
        if (element.getAttribute("id").getInt() == 3) {
            XmlElement value = element.findElement("init-params/init-param/param-value");
            System.out.println("invocation threads: " + value.getInt());
    }I haven't quite gotten that to work yet, but it's probably close. :)
    Thanks,
    Matt

    Matt,
    There is a helper function in com.tangosol.run.xml.XmlHelper class that makes it almost as easy as using the XPath.
    XmlElement xmlCluster    = CacheFactory.getClusterConfig();
    XmlElement xmlInvocation = XmlHelper.findElement(xmlCluster,
            "cluster-config/services/service/service-type", "Invocation");
    XmlElement xmlThreads    = XmlHelper.findElement(xmlInvocation,
            "../init-params/init-param/param-value");
    System.out.println("invocation threads: " + xmlThreads.getInt());Regards,
    Gene

  • Javascript API - Selection Refresh

    I'm building a command with JSFL to run through the list of
    objects in a frame one at a time and turn them into symbols. The
    purpose is to automate making any text boxes into symbols with the
    text string for it's name, however, I also want to be able to name
    bitmap images in the frame as well, so I have an XML-UI Panel pop
    up when/if it's necessary to name each bitmap.
    So far it works perfectly, but for one thing: the screen
    doesn't refresh the selection until after the first panel pops up
    and a name is inserted. This is a problem because I don't know
    which bitmap (if there's more than one) I'm naming, because all
    items on in the frame are selected. After that first panel pop-up,
    the selection refreshes appropriately, highlighting the objects one
    at a time as I need to name them - it's just that first panel that
    doens't work.
    Here's the code I have so far:
    D = fl.getDocumentDOM();
    SEL = D.selection;
    MSEL = new Array();
    for (i=0;i<SEL.length;i++){
    if (SEL
    .elementType == "text"){
    MSEL[0]=SEL;
    D.selectNone();
    D.selection = MSEL;
    var myText = "t|"+D.selection[0].getTextString(0, 15);
    D.convertToSymbol("movie clip", myText, "top left");
    } else if (SEL
    .elementType == "instance"){
    if (SEL.instanceType == "bitmap"){
    MSEL[0]=SEL
    D.selectNone();
    D.selection = MSEL;
    var result = D.xmlPanel("file:///C:/.../blah.xml");
    if (result.dismiss == "accept"){
    gName = "g|"+result.bN; // bN is the UI-Panel input variable
    to name the bitmap
    D.convertToSymbol("movie clip", gName, "top left");

    Andrew,
    we started working on the JavaScript API for Oracle Forms 11. We have a spec, which is a good way to start and I am confident that we will see this feature coming.
    Frank

  • Got Feature Requests?

    Hi All,
    We are getting ready to wrap up Spry 1.6 in the next couple
    weeks. As we end a release cycle, we start to redirect cycles to
    thinking about the future.
    So while the feature set for 1.6 is baked, I wanted to ask
    our aspiring community for feature requests.
    What would you like to see in a future version of Spry?
    Got widgets?
    Must-have data features?
    Enhancements?
    Tutorials or documentation? Samples?
    If someone has already listed something that you want, vote
    for it. It can only help.
    Let us know what you want for Spry and keep your eyes open
    for 1.6 in early Oct.
    Thanks,
    Adobe Spry Team

    You can already do that easily in Spry 1.6 with the element
    selector:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript"
    src="includes/SpryDOMUtils.js"></script>
    <script type="text/javascript">
    function ChangeTextSize()
    </script>
    </head>
    <body>
    <input type="button" value="Big Text Pixels"
    onclick="Spry.$$('.dynamicText').setStyle('font-size: 150px');"
    />
    <input type="button" value="Small Text Pixels"
    onclick="Spry.$$('.dynamicText').setStyle('font-size: 10px');"
    />
    <input type="button" value="Big Text Percent"
    onclick="Spry.$$('.dynamicText').setStyle('font-size: 200%');"
    />
    <input type="button" value="Small Text Percent"
    onclick="Spry.$$('.dynamicText').setStyle('font-size: 30%');" />
    <input type="button" value="Reset"
    onclick="Spry.$$('.dynamicText').setStyle('font-size: medium');"
    />
    <p>This is some static text!</p>
    <p class="dynamicText">This is some dynamic
    text!</p>
    <p>This is some static text!</p>
    <p class="dynamicText">This is some dynamic
    text!</p>
    <p>This is some static text!</p>
    <p class="dynamicText">This is some dynamic
    text!</p>
    <p>This is some static text!</p>
    <p class="dynamicText">This is some dynamic
    text!</p>
    </body>
    </html>
    --== Kin ==--

  • Fullscreen javascript api in edge?

    Hey Edge Animater! I don't get the fullscreen javascript api to work. I want to make a button to view pictures in complete fullscreen.
    So I use it's click function and paste the code from (How to Use the HTML5 Full-Screen API (Again) - SitePoint)
    var i = document.getElementById("myimage");
    // go full-screen
    if (i.requestFullscreen) {
        i.requestFullscreen();
    } else if (i.webkitRequestFullscreen) {
        i.webkitRequestFullscreen();
    } else if (i.mozRequestFullScreen) {
        i.mozRequestFullScreen();
    } else if (i.msRequestFullscreen) {
        i.msRequestFullscreen();
    inside, but it won't work.
    Anyone had the same problem or sees my failure?
    Some guy in the forum already asked about the right usage of the fullscreen api but no anweser!
    Peace Jill

    Yes, the plan is to add this feature in Oracle Forms 11
    Frank

  • Feature Request: Disable report-level sums if only break-level sums needed

    Hi,
    With all my success earlier in reporting a bug and getting it fixed in the same day I thought I might try my hand at a feature request and see how I get on.
    Would it possible to have the option to turn off the report summary record when summing on a break column?
    There are times when you just want one level and not both. I know there is a trick using javascript to hide the summary row but its pretty unfriendly and the javascript shows up in Excel when the report is exported.
    Also, I'd quite like to be able to put the sum column value in the description for the summary. At the moment you can only include the header using #SUM_COLUMN_HEADER# but #SUM_COLUMN_VALUE# would also be useful.
    Keep up the good work - Apex rocks!
    Thanks,
    Alastair

    - ability to choose deletion of an email on handset only
    - desktop software working with all older BB's allowing drag and drop type of transferring data, contacts etc. (BB link doesn't recognize my old Storm) 
    - auto power on/off
    - contacts syncing with yahoo & Outlook (almost two weeks trying to work around it and no luck)

  • Feature Request: Ultrabeat: Load Sample auto copy file name to Drum Voice

    Feature Request: Ultrabeat: Load Sample auto copy file name to Drum Voice
    I wish that when I load a sample into a drum voice, that it would automatically copy the name of the sound file I'm importing to the drum voice minus the extension. If I were importing BD01.wav I'd like for the drum voice to display BD01. As it is, I have to import the file, then name or rename the drum voice to BD01. When importing large quntities, this becomes a giant pain, and I'm looking for anything programmatic that could save me a load of time. When I think of all the time I'm going to waste...and if you multiply that by all the number of users...that's a lot of wasted time.
    I wish of course that the program could suck up and autoload all of the sound files within a directory, names too, until the voices were full. Then I could just fine tune and kick out ones I don't want or want in different order. Not a big deal for users who are importing from all kinds of different sources, but say for impoting libraries like NI's Battery, it's a big deal.
    Maybe these could be choices in the load sample menu.
    powerbook G4   Mac OS X (10.4.4)  
    pb g4   Mac OS X (10.4.4)  

    Microsoft pulled the plug on DirectSound HAL in Vista due to lack of hardware support. The SAL exists for
    software compatibility, good intention but bad performance as there is no longer a direct path from
    DirectSound to audio drivers.
    People choose DirectSound for its Direct-ness
    but there is no reason to choose it now.
    DirectX SDK was integrated
    with WIndows SDK which ships with Visual Studio 2012 so you don't need additional downloads for
    WASAPI and XAudio 2.
    Just look up the documentation for headers/librarieslike every other Windows API you use. If you have a hard time to find the documentation then you need to go to search engines and find search engine tutorials. 
    There are plenty of samples for both WASAPI and XAudio 2, both in the Windows SDK and online. The DirectX team has some suggestions on which to use on their team blog.
    You can find experts for those APIs at the Windows Desktop Pro-Audio Application Development forum and the
    Audio/XACT forum on MSDN (link left out for you to practice your search skills). Again, it is fine to ask for hints but don't ask the whole
    solution. You are competing with others who just need a hint to finish work here. The time spent on working on your assignment would be better spent on helping on giving hints to others. 
    Visual C++ MVP

  • How complete is the javascript API?

    Hi,
    I am trying to serealize a AI document using the javascript API. Based on the "AI CC SCRIPTING REFERENCE" I assumed this could be done by simple traversing the dom and saving the type and properties of each object. It seems however that the API isn't complete. For example, I can't figure out how to read the transformation matrix of a symbolItem. (i.e. when creating a new symbolItem from a symbol and then resizing/rotating/repositioning it, how can I find these new properties?)
    This is just one thing I ran into, that might be fixed using the C SDK. I am wondering however if this is worth the effort or more like filling a bucket full of holes? How complete is the javascript API?
    Thanks,
    Tom

    the DOM in Illustrator is very limited, half the features are not exposed to scripting, SymbolItem Matrix is one of them.

Maybe you are looking for

  • How to override to_number function?!

    Hi, I already tried to find an answer by searching this forum but without success... My problem is, that I have a lot of mappings using the to_number() function to convert char into number. Now it turns out, that in some cases - due to the bad data q

  • The logics for ALL calc key figures (CKF) - Table available?

    Hello experts, I am going through a project here to convert a lot of CKF / RKF in BI Queries. There are 100's of them and what I want to do is to be able to see all the formula's used in one list as opposed to go through each on in query designer whi

  • Journal Ref2 field : AP credit note

    Hi, Have noticed that in the Account Balance for Business Partner; Ref2 field is not being filled in the Journal when there is an AP Credit Note; when in actual fact this field is being filled in the AP Credit note Supplier Ref field. Any ideas where

  • Business content not found for  CRM5.0 Datasources

    Hello, I cannot find the business content for the following datasources of CRM 5.0. We are on BW 3.5 version and i am unable to find the business content for the below.Did anyone face this problem and is there any solution or we need to build custom

  • TS4148 Invalid sim on iphone 5. Any ideas

    MY phone was fine today. Then all of a sudden it said invalid sim. I tried resetting the network setting and turning off airplane mode then on, nothing. Turned phone off then on. Nothing