Apex and Ajax tutorial link

Hi,
I want to use Ajax in my Apex application. How can I use it? Can anyone guide me to proper link or howtos or any example?

Try this link, you should get plenty of examples on those pages.
http://www.google.com/search?hl=en&q=APEX%2BAJAX&btnG=Google+Search
Alexandre.

Similar Messages

  • Master/Detail/Lookup functionality - ApEx and AJAX vs Oracle Forms

    I'd like to build a master detail form with some lookup functionality and have some of the fields automatically populated. I come from an Oracle Forms and PL/SQL background so I was hoping for some guidance in ApEx and Javascript for how to achieve the same effect.
    If you look at the default Sample Application (DEMO_APP), page 29 has the master record and the corresponding details on the same page.
    The functionality I'd like is:
    1) when a new product is chosen from the Product Name select list, I'd like the Unit Price to be populated.
    2) when the Quantity is updated, I'd like
    a) the Extended Price to be recalculated and
    b) the Order Total to be recalculated
    all before submitting the page. This is pretty trivial in Oracle Forms but I've had limited success with ApEx.
    I've been able to achieve 1) in a single record form but not a tabular form using the techniques from Scott's AJAX generator http://htmldb.oracle.com/pls/otn/f?p=33867:2.
    I've been able to achieve 2a) in a tabular form using the techniques from Vikas in this thread Tabular form with Ajax
    I haven't had any luck getting 2b) to work.
    So, is my wish list possible?
    If it is, I'd appreciate some pointers and/or code. I don't speak Javascript but I can copy and paste ;)
    Cheers,
    Bryan.

    Hi Carl,
    Ok, thanks for the tip - take a look at http://htmldb.oracle.com/pls/otn/f?p=24745 login as demo/demo and edit one of the top orders. This will take you to page 29.
    I've changed the 2.0 Sample Application to allow both the unit_price and the quantity to be overtyped. Each column has the 'Element Attributes' property set to onChange="calcTotal(this)" to call the javascript code.
    This recalculates the extended_price (feature 2a above) but the order total (or the report total) is not affected (feature 2b) - how can I change the code to achieve this?
    If I change an existing line item and choose another product from the select list, I'd like the unit_price and the extended_price to change appropriately (feature 1 above) - having to wait until after the form is submitted is not acceptable to my users.
    Thanks for taking the time to look at this - I really appreciate it.
    Cheers,
    Bryan.

  • Apex and remote database links.... Good idea or bad?

    We would like to have one single Apex installation that would be used to develop many applications against many remote databases.
    Database links would seem to be the obvious mechanism to achieve this goal, but we have had many issues with db links.
    Also, our research indicates this might not be a good idea for various reasons.
    Any opinions or experiences around this topic would be greatly appreciated.

    we have had many issues with db links. In that case it's a bad idea.
    It's not really an Apex question. If you can't get db links to work, it's a database issue. If it's performance over the db link, again it's a database issue (assuming modern networks aren't the bottleneck here). Remote views (instead of selecting from remote tables) often increase performance.
    If the applications don't have to share data over the db links, you can set up one master application and several sub-applications on the different databases. The master is used to log in once. See:
    http://www.oracle.com/technetwork/issue-archive/2009/09-may/o39security-101079.html

  • Apex and Ajax - Update a part of a page

    Hi guys,
    I have six regions on my page. One of the region has a submit button and two datetime pickers with a flash chart. When i choose datetime intervals and press button ,
    only this region should be refreshed not the entire page , so i need to use ajax. Do you have any idea?
    Thanks.

    Hi unnamed User,
    i have lots of (good) ideas.
    At first please tell us more about your environment. Which version of APEX do you use and so on.
    If you are on APEX 4.0 or 4.1 i would use a dynamic action and trigger a refresh on that chart.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Apex and database links

    Hi,
    How does Apex perform using database links. We are currently on version 3.1.1.00.09 of Applicatiion Express and have all of our data in one database. We will soon be upgrading our environment to Oracle Database Appliance. We are thinking about splitting our staging area out of our existing database. We use Apex for our dashboard reporting. We are in hopes to upgrade to latest version of Apex. If we split our database up we will have to use database links to access data. How does Apex perform using database links. Will our Interactive reports work? Will performance degrade? Wanted to know your thoughts on that.
    Pam

    Having used such a model for several years, I'd confirm that it is possilble to make it work, however it may not be optimal, performance-wise (depending on your data model).
    Typically speaking, if you are just querying your external database "straight" (i.e. where all of the tables being queried are on the remote DB), you shouldn't notice a significant degradation in performance. The problems can come in when you either include "local" tables in your queries (in which case you need to decide which site should be 'driving') or where DML is involved (in which case the driving site defaults to the local DB) - your execution plans can change quite significantly and often for the worse.
    I have tried a few strategies to mitigate against this, including converting some DML statements to be based on pipelined table functions instead of views, creating local Materialized Views of commonly accessed data (usually aggregated in some manner), or caching result sets (i.e. using the built-in apex caching function) for something more flexible but ultimately it'd be easier if everything was sitting on the same DB.

  • I just downloaded a PHP script plugin and I'm having a very difficult time installing it into my site.  HELP!  Dose anyone have a good video tutorial link?

    I just downloaded a PHP script plugin and I'm having a very difficult time installing it into my site.  HELP!  Dose anyone have a good video tutorial link?

    Unfrotunately, this sounds like a dead TC.
    - also, the picture does NOT pick up the 2 airport expressess in the house that I used to extend the wirelass network on the previous TC
    - there is no option to extend the wireless network
    You need to reconfigure the Expresses to rejoin the TC's network via a factory reset.

  • ApEx and Section 508 compliance

    1. Is ApEx section 508 compliant? </br>
    2. Any documentation available on this topic? </br></br>
    (Section 508: employees with disabilities need to have access to information and data in a manner comparable to the access and use by employees who are not individuals with disabilities) </br></br> Vasan

    Hello,
    1. Is ApEx section 508 compliant? APEX can build 100% 508/DDA compliant applications. What Apex does not do is enforce 508/DDA compliance nor does it automatically insert accessibility features. Tab index's shortcuts to skip navigation , proper headings etc. This is left up to the developer to do so that you can properly address your application and or organizations accessibility requirements.
    One thing that is sometimes a sticking point is APEX's use of javascript. While you can create an APEX application that does not use javascript it has quite limited functionality. APEX does follow Oracle's stance on accessibility and javascript.
    http://www.oracle.com/accessibility/standards.html
    JAWS testing has also taken place with APEX and with properly built applications and the applications work great.
    2. Any documentation available on this topic? Building an accessible application in APEX is exactly like building an accessible application in any HTML environment. Set your tabindex's correctly, make sure data tables have proper headings , make sure that labels are properly linked to form items and such. There used to be a APEX and accisislbuity blog posting but I don't think it's available anymore. Searching this forum will also return you some results.
    Most accessibility issues come from improperly constructed templates, and making sure that page report and label templates have accessible features usually takes care of most issues.
    Our VPAT can be found here http://www.oracle.com/accessibility/templates/t780.htm and is currently being updated to cover all versions up to 3.1 , there have only been minor changes.
    APEX is also going to start taking advantage of ARIA features http://www.w3.org/WAI/intro/aria so that developers can more easily create rich interactive applications that still can use AJAX and other DHTML features. But there is no reason you can't start including ARIA features in your applications today.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Discoverer and oracle application link

    Hi
    I am new to discoverer , i have created a discoverer report and wanted to link to oracle applications..
    i have followed the steps given below pls do correct me where ever i went wrong at last i was not able to succeed in linking to oracle apps.
    pls do help me out..
    the steps are as follows
    1. Connect to Discoverer Administrator
    username = system
    pwd = manager
    connect = clonvis
    2.Prompts for creating EUL
    3.Created a NEW EUL
    selected (New EUL is for use by Oracle application users only)
    user: TESTDIS
    PWD :
    4.Selected the Schema for oracle application FND TABLES
    Shema : APPS
    5. selected the Default tablespace and Temporary tablespace
    6. EUL has been created successfully (message prompted)
    7. Prompted for creation of TUTORIAL (Selected YES)
    8. Message TUTORIAL created successfully prompted
    9. message(Do You want to connect as the owner of the EUL which you just created? )
    selected YES
    10.LOAD Wizard
    Create a new business area
    11. selected a business object ADS_ADDRESSES_ALL from the list in ( LOAD WIZARD 3)
    12. Business area name "TEST_ADS_BA" (LOAD WIZARD STEP 5)
    13. Logged into apps
    14. Function Creation
    Description TAB
    function = TESTDIS
    User function name = TESTDIS
    Properties TAB
    Type = SSWA plsql function
    Maintenance Mode support = None
    context Dependence = Responsibility
    Form tab
    Parameters = "workbook=TESTDIS&VIEWER=Y"
    WebHTML
    HTMLCall = OracleOASIS.RunDiscoverer
    15. Attached the function to the Payables Manager Menu
    16. Selected the Payables Manager Responsibility
    17. Navigated to TESTDIS (Menu)
    18. Doubled clicked the menu TESTDIS
    ERROR
    Your session is no longer valid. please login again
    once i provide the username/pwd and navigate to the menu TESTDIS
    The ERROR is repeated.
    pls do help me out...
    Regards
    Yram

    Hi Yram
    Great explanation and good posting with lots of useful information.
    You need to administer and log in to Apps as an Apps user. You use a database user only for the purposes of creating the EUL. It would take a long time to explain all of the steps here. However, I have an illustrated white paper on my downloads page that explains setting up an EUL in Apps mode.
    At first glance though it sounds like you may not have defined a Gateway UserID and Foundation Name inside Discoverer Administrator. You do this using Tools | Options | Connection. The Gateway UserID and Password is usually applsyspub/pub, while the Foundation Name is apps. The entries are usually in lowercase.
    My downloads page can be found at: http://learndiscoverer.com/downloads/downloads.htm and the document is called Setting up an Apps mode EUL.
    Let me know how you get on.
    Best wishes
    Michael

  • In APEX clicking the hyper link doesn't trigger session timeout page

    Hi All,
    I have a question about the session time out in APEX application. I have created a simple APEX application. In the SQL report region section, i have code like this:
    SELECT DOC_Name, DOC_URL,
    '<a href="' || DOC_URL || ' target="_blank"/">Download file</a>' pdf_link
    FROM test_table
    where emp_number =00010001
    When user clicks on the hyper link, it will display the destination page to user(for example if DOC_URL = 'http://forums.oracle.com', it will display the oracle forum page in a new browser).
    But the issue is that, after user's session timeout (I set for 240 seconds through Shared Components>Edit Security Attributes, i set max the session timeout for example 240 seconds), when i click on this hyperlink, it doesn't trigger my session timeout page and it still displays the page (oracle forum page).
    Why in APEX clicking the hyper link doesn't trigger session timeout page after the user session timeout???
    how to implememt or fix to trigger the session timeout page after clicking on the hyperlinks?
    (BTW, our APEX version is 3.2)
    Thanks!

    Hi Lily,
    the reason for that behavior is that APEX is not involved anymore if you click on an external link. That's completely handled by your browser.
    To involve APEX timeout handling you could redirect to a specific page in your application which performs the final redirect.
    For example:
    1) Create a new page 999
    2) Create hidden page item P999_URL
    3) Create a before header PL/SQL process with the following source
    owa_util.redirect_url('http://'||:P999_URL);
    apex_application.g_unrecoverable_error := TRUE;If you want to embed a link, create a link to page 999 and set the page item P999_URL to forums.oracle.com
    You could also add a white list into the above code to verify that you are just redirecting to valid URLs, so that nobody is using your trusted application URL for phishing attacks.
    Hope that gives you a direction
    Patrick
    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

  • Web Services in Apex and XE

    Hello!
    I'm using Application Express with Oracle XE.
    Have tried web services but with no success.
    Can someone tell me if
    Can UTL_DBWS be used on XE?
    From what I see it can't (no java support in XE DB).
    Do the Web Services work in Apex with XE?
    Can't create a web service reference.
    If yes, must the proxy server for application be set for
    web services to work in Apex (not using one for internet
    access)?
    Are the sample UDDI references provided in Apex still
    valid or not?
    Thanks in advance
    Wlodek

    Have been trying web services and using the link above and got nothing back. Testing the web service in shared components works and you can see the soap package being sent and the response but on the page no items are being populated.
    What I did was use this link
    http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php
    and use there package and function to call the web service. It works. Would be good to see it working in APEX. Have tried to use in version 2.2 but still can't get anything to work.
    If anyone knows where I can get information in creating my wsdl file in APEX that would be great.
    thanks
    Andrew

  • [ANNOUNCE] Exadel's Max Katz talks about JSF and AJAX

    Hello,
    I'm pleased to announce that JSF Central has just published an interview with Exadel senior systems engineer Max Katz. In the interview, Max talks about the key value and benefits of JSF, how it compares to other frameworks, why it is such a good fit for AJAX, and support for JSF technology at Exadel.
    Here's a quote:
    KM: What do you think is the key value of JSF?
    MK: It's definitely the component-based approach to building web applications, and that it's a standard. JSF has introduced a new paradigm to web application development�building applications out of components. It allows developers to concentrate on application business logic rather than on little details of HTML and other plumbing that is common to all web applications.
    Being a standard is very important for the community, and it helps vendors like Exadel create advanced visual tools. The component-based approach also gave rise to vendors building web components, which also benefits developers. Instead of spending two weeks on integrating a calendar feature into your application, you can now get a calendar component and concentrate on the business problem you're trying to solve.
    KM: Let's talk about AJAX for a moment. What do you think makes JSF such a good fit for AJAX?
    MK: It's the component approach that makes AJAX such a good fit for JSF. You develop your application out of JSF components that provide AJAX functionality. This approach hides all the complexity of JavaScript and XML. Developers don't need to work with error-prone JavaScript making sure it works in all browsers. The AJAX JSF components are tested, ready-to-use components. From the developer perspective, there is really no difference between using the commandButton standard component and using the JSF AJAX drag-and-drop components. The AJAX component is simply a lot more sophisticated in what it does. You can add AJAX functionality in a matter of minutes by using such components. It's very powerful.
    To see the rest of the article, visit
    http://www.jsfcentral.com/articles/katz-06-16-06.html.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Kito D. Mann
    Author, JavaServer Faces in Action
    http://www.virtua.com - JSF/Java EE consulting, training, and mentoring http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info

    The posted link led to a *404*.
    I think I found the podcast and transcript under [article on JSFCentral.com|http://www.jsfcentral.com/listings/R2925?link] . Kito: is this the correct location?

  • Ajax Masthead Link formatting

    I realize I can change the looks of the Ajax Masthead links with the theme.  However, recently I was working on creating a couple URL Aliases, and all of a sudden the formatting on the links in the Masthead were messed up.  The links I am talking about are the ones that say: "Back", "Forward", "History", "Favorites", etc.
    Instead of nice buttons, they are now large black letters, and if you click on them the drop down menu is only text, no formatting.
    Any idea what I did to mess this up, and how I can fix it?  I didn't make any changes to the Ajax masthead's code at all.  I have already restarted the portal server, but that didn't help.
    Thanks,
    Owen

    I tried to transport the AJAX Masthead from our Production Portal back to our Development Portal to see if that would correct this problem, but it doesn't seem that it is possible to transport Standard content, is that correct?

  • Singe Sign On bewteen Apex and JSP Application

    Hi,
    the following problem: We have a Apex and a jsp Webapplication. In Apex we use LDAP Authentication and Role Authorisation. The JSP page also uses LDAP to authenticate users.
    Now there is a request from the Java guys to use one of our pages because they need the information. They will include a link to our page and the user can simple click on it. Parameters are passed as usual using the f?p Syntax.
    But how can we pass the already authenticated user through to the Apex app? Are there any common ways to accomplish this? As both apps are used only inside the company I though of using NTLM but I have never done anything with it. On the basis of your experience how much efford will it be solve it with NTLM? And is it possible?
    Are there other/better recommendations?
    Dim

    Dim - Search this forum for examples of using the NTLM "page sentry". The key is that you need something accessible to your applicaiton's authentication scheme code (the page sentry in particular) from which you can obtain the authentication username (securely). This is usually a cookie, header value, or CGI environment variable.
    Scott

  • Integration Apex and Javascript

    Hi,
    I work with Operational Systems and Oracle Database. In 2007 for particular necessities, I used Oracle Apex and liked a lot of tool. I want to achieve greater potential in my forms using Javascript, but not had success yet.
    Someone of you have didactic models of integration with the library jquery for example?
    Thanks a lot.
    Regis Bavaresco

    Hello Regis,
    >> I want to achieve greater potential in my forms using Javascript, but not had success yet.
    This forum contains tons of stuff regarding JavaScript. Just search for ‘JavaScript’ or ‘AJAX’. A very good example source will be the following, by Carl Backstrom - http://htmldb.oracle.com/pls/otn/f?p=11933:29 . Denes also having a great demo application, containing a lot of examples about using JavaScript with APEX - http://htmldb.oracle.com/pls/otn/f?p=31517:1 .
    >> Someone of you have didactic models of integration with the library jquery for example?
    jQuery will be included in the next version of APEX. It’s a bit premature to expect a didactic models of integration, but the forum also contains several threads regarding jQuey. In addition, the following blog entry, by Tyler, can also help you understand how to work with jQuery - http://tylermuth.wordpress.com/2008/07/16/jquery-datepicker-and-apex/ .
    Regards,
    Arie.

  • Good book or tutorial link for data socket

    hello,
    can anyone pls suggest me any good book or tutorial link to study  data socket

    Here is a link to the DataSocket overview.  This has a good description of what it is and would be a good beginning reference.
    DataSocket Overview
    If you are looking for a more technical approach then here is a technical paper about ways that DataSocket can be integrated into a test and measurement system. 
    DataSocket Technical Overview
    These should be a good starting point for you.  ThomasD also has posted some good resources that you could use to search for more specific questions about DataSocket.
    Hope it helps!
    Andy F.
    National Instruments

Maybe you are looking for