Ajax support in jDeveloper 10.1.3.1 : Please reply

Hi Everyone,
I am supposed to use ADF faces and jDev for my upcoming project as we believe that ADF faces has lot of built in tags to support ajax behavior. But I found that most of the AJAX support is component based (for eg. change the values in one dropdown and values in 2nd drop down refresh).
My application however needs to show different sections (show/hide them as per the response) based on the response we get. For e.g.. , in first page 1st section is "Customer Search", 2nd section is empty search result and one more section say "section 3" which is showing some information, all these sections can be 3 different forms. In customer search section on the hit of "Search" button section 2 & 3 are replaced by new content.
Lets say If I use div then hide section 2 and 3 and replace them by 4 and 5.
Do I have features to implement this kind of behavior in jdev 10.1.3.1? If yes can someone refer me to relevant link?
expecting a reply....
Thanks in advance!!!

You can use the af:switcher for this:
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/switcher.html
Also see: http://technology.amis.nl/blog/?p=1211

Similar Messages

  • What is the best way to add AJAX support in an existing JSF application?

    I've done some research and I found several options listed below:
    1.Use JSF AJAX components like JBOSS RichFaces
    2. Use Client JavaScript Library like DOJO
    3. Use JavaScript directly
    My question is what is the best way to do that?
    And for approach 2, is it possible to mingle DOJO and JSF ?
    Thanks a million for your answers.

    If you can't wait for JSF 2 GA or don't want to use beta, look at project Dynamic Faces. It looks like JSF 2 AJAX support was based on the Dynamic Faces project, so it should be easy to switch from DynaFaces to JSF 2.

  • Adding AJAX support for dynamically created panelGrid components

    Hi everyone!
    I would like to ask help from anyone who may have encountered similar problem before...
    I have a panelGrid whose component is dynamically created by the backing bean. Here is my JSF code:
    <h:panelGrid styleClass="panelGrid"
              rowClasses="tsPanelGridRowClass" columns="8" cellpadding="0"
              cellspacing="2" bgcolor="transparent" style="margin-left: 10px"
              id="revCenterItemPanelGrid"
              binding="#{pc_Touchscreen_pull_select_item.revCenterItemPanelGrid}">
    </h:panelGrid>And here is the code for backing bean that adds content inside the panelGrid:
    HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    index.setId("1");
    index.setValue(String.valueOf(1));
    index.setStyle("datagridtext");
    revCenterItemPanelGrid.getChildren().add(index);On click of a button...
    <a4j:commandButton value="Update"
              styleClass="commandExButtonPou2" id="button1" reRender="revCenterItemPanelGrid"
              actionListener="#{pc_Touchscreen_pull_select_item.doSortActionListener2}">
              <f:attribute name="order" value="2"></f:attribute>
              <f:attribute name="toggleState" value="off"></f:attribute>
    </a4j:commandButton>the backing bean is supposed to update the value of the outputText
    doSortActionListener2() {
    HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    index.setId("2");
    index.setValue(String.valueOf(2));
    index.setStyle("datagridtext");
    revCenterItemPanelGrid.getChildren().add(index);
    }However, update doesn't seem to work. I have been successful in adding ajax support to a panelGrid that is not dynamically created but not for this one.
    Has anyone encountered this error before? Any ideas?
    Thanks in advance!

    Hi everyone!
    I would like to ask help from anyone who may have encountered similar problem before...
    I have a panelGrid whose component is dynamically created by the backing bean. Here is my JSF code:
    <h:panelGrid styleClass="panelGrid"
              rowClasses="tsPanelGridRowClass" columns="8" cellpadding="0"
              cellspacing="2" bgcolor="transparent" style="margin-left: 10px"
              id="revCenterItemPanelGrid"
              binding="#{pc_Touchscreen_pull_select_item.revCenterItemPanelGrid}">
    </h:panelGrid>And here is the code for backing bean that adds content inside the panelGrid:
    HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    index.setId("1");
    index.setValue(String.valueOf(1));
    index.setStyle("datagridtext");
    revCenterItemPanelGrid.getChildren().add(index);On click of a button...
    <a4j:commandButton value="Update"
              styleClass="commandExButtonPou2" id="button1" reRender="revCenterItemPanelGrid"
              actionListener="#{pc_Touchscreen_pull_select_item.doSortActionListener2}">
              <f:attribute name="order" value="2"></f:attribute>
              <f:attribute name="toggleState" value="off"></f:attribute>
    </a4j:commandButton>the backing bean is supposed to update the value of the outputText
    doSortActionListener2() {
    HtmlOutputText index = (HtmlOutputText) app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    index.setId("2");
    index.setValue(String.valueOf(2));
    index.setStyle("datagridtext");
    revCenterItemPanelGrid.getChildren().add(index);
    }However, update doesn't seem to work. I have been successful in adding ajax support to a panelGrid that is not dynamically created but not for this one.
    Has anyone encountered this error before? Any ideas?
    Thanks in advance!

  • Support for JDeveloper 10.1.3 on Windows Server 2008 64 bit OS

    Hello,
    We are using JDeveloper 10.1.3.3.0 (patch # 9879989) for R12.
    Would like to know support for Jdeveloper on windows server 2008 - 64 bit.
    Thanks,
    Swati.

    Hi Swati,
    Currently I am using Jdeveloper Patch#9172975 for R12.1.2 on windows server 2008 X64 and it works fine.
    As Jdeveloper Patch#9172975 is lower version then Jdeveloper Patch#9879989, Patch#9879989 should work on Windows Server 2008 64bit.
    Still I am not confirm about Jdeveloper Patch#9879989 on Windows Server 2008 64bit.
    Thanks,
    Laukik

  • WSS version supported in JDeveloper 10.1.3.3?

    What is the version of WSS(Web Service Security) that is supported in JDeveloper 10.1.3.3?
    Thanks

    AFAIK, 10.1.3.0:
    WS-Addr 1.0
    WS-CF 1.0
    WS-Events 2.0
    WS-Reliability 1.0
    WS Basic Profile 1.1
    http://www.oracle.com/technology/tech/standards/soa-standards.html
    Marc
    http://orasoa.blogspot.com

  • AJAX supported in Oracle Portal ?

    Dear all,
    Can anyone suggest me some information on AJAX support in Oracle Portal ?
    thanks
    George (HK)

    Duplicate Post:-
    AJAX supported in Oracel Portal ?

  • AJAX supported in Oracel Portal ?

    Dear all,
    Can anyone suggest me some information on AJAX support in Oracle Portal ?
    thanks
    George (HK)

    I am a self taught pl/sql programmer. My client's site does not have any custom JSP. We do everything in PL/SQL.
    I created a httpxmlrequest powered page:
    1) step one write or find a database query based script that accepts a string from the url and gives results based on that string. The example i used (phone lookup) took a string (ss) from the url and queried a table to find employee names that contained that string.
    As the used types in letters the list shortens and zeros in on the desired result.
    (In the code I created a two letter length minimum, so no data gets displayed till there is at lease two letters typed in.)
    you can test this page by typing &ss='Yor' on the end of the url. It will return all the records that contain 'Yor' like Yorke.
    I will leave it to you to build a query.
    2) Place the query on a portal page, with no header graphics or any other elements. A naked page. I call this my data page.
    3) Create a normal page with all your header and footer decorations. On this page place a item that calls the code that accepts the search string (ss) and calls the httpxmlrequest. It also displays the results of the data page into a div on this page. see paulyorke.com/ajax/ajax_sample.sql.rtf
    When you run the page no results should show up till you lift your finger of the second character. A result list should show up.

  • SMS support  in Jdeveloper 11.1.1.6

    Hi,
    Could you please help us know, whether SMPP receiver can be supported on JDeveloper Studio Edition Version 11.1.1.6.0. Presently the UMS adapter supports only email notifications. The whole SOA suite which we use is of version 11.1.1.6.. Our requirement is to receive SMS, and based on which services should be invoked.
    Thanks

    Hello, please read this article:
    Java / Oracle SOA blog: Lets SOA Suite UMS do your Application Messaging&lt;/title&gt;&lt;link type='text/css' rel='styl…

  • When or If BPM 11.1.1.7 be supported by JDeveloper 11.1.1.7?

    Reference Page: http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/obpm/11g/r1/firstProcess/firstprocess_obpm11g.htm
    Following that simple page, it turns out JDeveloper does not support Oracle BPM (missing a huge feature). If you head to the following spot:
    This opens the Data Object window displaying available data objects that you can drag into the Parameters panel. Click on the hello data object and drag it into the parameters panel. Select the Editable checkbox for the new parameter.
    You will notice that drag/drop is not enable in JDeveloper 11.1.1.7, thus rendering BPM development impossible.
    I am wondering if or when BPM 11.1.1.7 will be supported in JDeveloper?
    For reference, I have seen this bug referenced in a different thread: https://forums.oracle.com/thread/2569315
    However there were no solution. Java 6 is no longer supported by Oracle, we are required to use Java 7 in order to get any of the support we pay Oracle for.

    Not sure I follow you and it's pretty clear that you have been misinformed.
    If you're using JDeveloper 11.1.1.7, you need JDK 1.6.  Go to http://www.oracle.com/technetwork/developer-tools/jdev/documentation/index-091111.html that says 11.1.1.7 corresponds to FMW 11.1.1.7 and WL 10.3.6.  The certification matrix shows these both need JDK 1.6.  The compatibility matrix that shows this can be reached by going to Oracle Fusion Middleware Supported System Configurations - > search for "BPM" on the page -> if you're in the 11g section, click on "xls".  This will take you to http://www.oracle.com/technetwork/middleware/downloads/fmw-11gr1certmatrix.xls.
    For JDeveloper, also make sure that you've installed the 32 bit version of the JDK and not the 64 bit version of the JDK.  This also has caused an issue with the drag and drop problem you are seeing.  Stuart Fleming addresses this here - https://community.oracle.com/thread/3515829.
    Dan

  • Ask the Experts Session on AJAX Support in the Java Platform -- June 19-23

    Got a question about AJAX support in the Java Platform? Post it on the Ask the Experts page (http://java.sun.com/developer/community/askxprt/) during the week of June 19 and get answers from Sun experts Greg Murray, Mark Basler, and Carla Mott.

    Perhaps this explains why Sun removed the crossposting ban from the site "Terms of Use"?

  • JSF 2.0 Ajax Support

    I am trying to solve this problem for days but couldn't find a proper solution. People suggested to use Ajax but I couldn't implement it. I have a jspf page in which I am using facelets. I have a form with input values and a button. When user clicks on the button I want to check the validation and give user a feedback.
    <?xml version="1.0" encoding="UTF-8"?>
    <div class="rave-layout" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <f:subview id="webfilteroverview">
    <webuijsf:form id="form1">
    <tr>
    <td>
    <webuijsf:label for="textField1" text="#{msg.reports_request_name}"/>
    </td>
    <td colspan="2">
    <webuijsf:textField binding="#{report.reportNameField}" columns="26" id="textField1" required="true"
    style="margin-left:10px;" styleClass="textfield"/>
    </td>
    </tr>
    <h:commandButton value="push" action="#{report.submitReportRequest}">
    <f:ajax execute="@form1" render="@form1"/>
    </h:commandButton>
    report.java:
    public void submitReportRequest() {
    if(reportNameField!=null){  
    submitted=true;
    but it is giving:
    PWC6143: No tag "ajax" defined in tag library associated with uri "http://java.sun.com/jsf/core"
    error. However I am using JSF 2.0 and as far as I know JSF 2.0 has Ajax support included. What am I doing wrong?

    lamostreta wrote:
    People suggested to use Ajax but I couldn't implement it. Are you trying to use that as an argument for something?
    I have a jspf page in which I am using facelets.Facelets replaces JSP technology, so you do NOT have a 'jspf' page. Know what and understand what you are using and communicate that clearly or you'll only cause confusion.
    but it is giving:
    PWC6143: No tag "ajax" defined in tag library associated with uri "http://java.sun.com/jsf/core"
    error. However I am using JSF 2.0 and as far as I know JSF 2.0 has Ajax support included. What am I doing wrong?I believe that you think you are using JSF 2.0, but this error right here seems to hint that you are mistaken. Are you sure you don't have both JSF 1.2 and JSF 2.0 floating around on the classpath?

  • TimesTen support in JDeveloper

    Hi,
    Does anyone know if there is TimesTen support in JDeveloper or future releases of JDeveloper? E.g. defining a database connection in JDeveloper to a TimesTen data source?
    Ronald

    Hi Frank,
    Currently, I'm working on a Java project involved in implementing simulation processes. This typically concerns high-throughput and low-latency processes in which a lot of statistics have to be stored in a database to be available for analysis later on.
    In the old situation, the simulation logic was programmed (dispersed) in the simulation tool itself. To enable reuse, this logic will be implemented in Java components.
    As a start (pilot-phase), Log4J is used to log information (i.e. statistics) to console, files and also to a "plain" Oracle RDBMS. As the speed of the simulation in the simutation tool is increased a bottleneck occurs in the Java application. Not surprisingly; this is caused by disk I/O of Log4J.
    As a possible work-around, TimesTen is investigated to store log statements and statistics. I did several tests and it seems the performance increase is "only" 5x over the "plain" Oracle RDBMS. I asked some questions on the possible performance increase when using TimesTen on the TimesTen forum of OTN. It seems they can't give precise answers in relation to Java applications.
    As our project evolves it could very well be possible that we use JPA or a full-blown TopLink implementation to write/read statistics. I was wondering whether someone has experience in combining TimesTen with a persistency framework like TopLink.
    Thanks,
    Ronald

  • How to add Ajax support to the dynamic UI componets.

    Hi,
    I am generating a dynamic table and want to add Ajax support to that table.
    How I can do that?

    Hi,
    In my appication, I am using Ajax with Myfaces (JSF 1.2) & Jboss 4.2.1.
    I m generating a table having (couple of selectmenu) dynamically by using the binding attribute of <h:panelGrid> and made that table Ajaxed. When i select some item form the select menu its works fine with Myfaces (JSF 1.2) but when I switched to Sun RI implementaion I got "AjaxUpdate component not found for id: :fForm:null" as exception in the console.

  • Apple Application Support was not found. Apple Application Support is required to run iTunesHelper. Please uninstall iTunes and then install iTunes again. Error 2.   After this I

    So when I plugged in my iPhone 4 (iOS 7.0.4), iTunes told me it needed to update to the newest version... so I did. After installing it it gave me an error (-45019) that said that a required component wasn't installed. I looked it up and people were saying to unistall iTunes and all apple related software and reinstall itunes which i did. I am on Windows 8.1.
    Now it gives me this error. "Apple Application Support was not found. Apple Application Support is required to run iTunes. Please unistall iTunes and install iTunes again. Error 2 (Windows Error 2)." I did this and it gave me the same message... Please help! How do i get iTunes running again?

    Let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • It says this when I try to open iTunes:  Apple Application Support was not found.   Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again.   Error 2   I've tried uninstalling it and installing it several t

    It says this when I try to open iTunes:
    Apple Application Support was not found.
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again.
    Error 2
    I've tried uninstalling it and installing it several times. I've tried to download Apple Application Support separately but it just says:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4... Please refer to Help and Support for more information. HRESULT:0x800736FD

    You have missing information in your Windows programming. 
    You need to repair your computer so it can run iTunes.  If you plug those error codes into your browser you may get an answer.

Maybe you are looking for