Refresh Two selectOneChoice  on run time ADF rich client

HI...
i have two selectOneChoice .. the first from master table and the second from detail table
i have create view link between the two VO .
in the page.jspx i display the allies in the selectonechoice for bothe
now.. first* i need to refresh the second one depend on the first selectonechoice selected value
second* i need to know the value of the selected item at the run time to do some operation before commit
i use refreshCondition but it is not work ...
plz help me
thanks
Edited by: AJWEH on Sep 22, 2008 5:05 PM

Hi,
first:
you have to set partialTrigger of master to detail.
Cascading LOV refresh
second:
Re: How to get selected value from SelectOneChoice
regards
Peter

Similar Messages

  • Tomcat 6 - Deployment of the ADF Rich Client Demo Fails

    I have been able to deploy and run the ADF Rich Client Demo in the embedded Oracle Weblogic server and a standalone Weblogic server.
    However, when I deploy the application to an instance of Tomcat 6 (6.0.18) I get the following:
    Dec 1, 2008 2:06:06 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Dec 1, 2008 2:06:06 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 297 ms
    Dec 1, 2008 2:06:06 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Dec 1, 2008 2:06:06 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
    Dec 1, 2008 2:06:06 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Dec 1, 2008 2:06:06 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Dec 1, 2008 2:06:06 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/15 config=null
    Dec 1, 2008 2:06:06 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 493 ms
    Dec 1, 2008 2:21:37 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive adf-richclient-demo.war
    Dec 1, 2008 2:21:52 PM org.apache.catalina.core.StandardContext start
    ***SEVERE: Error filterStart***
    Dec 1, 2008 2:21:52 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [adf-richclient-demo] startup failed due to previous errors
    I have tried the deployment from within JDeveloper 11g and also by dropping the WAR file into the Tomcat container webapps directory.
    Any one know why this is happening?
    Thanks,
    Vince

    Jonn,
    Thanks for the pointer.
    I located the missing libraries by finding those that looked like the ones you recommended. The locations can be found by looking them up in the JDeveloper project Libraries and Classpath (click on an entry and select the view button):
    jsf-ri-12.war
    jsf-ri.jar
    jsf-api.jar
    glassfish.jstl_1.2.0.1.jar
    I copied these to the tomcat-6.0.18\lib level rather than putting them in the project lib.
    Works great.
    Thanks again for the help.
    Vince

  • How to Refresh System Form in Run Time

    Dear All,
    Please give me idea for Refresh System Document in Run Time using DI,basically I am using  system columns for update for some scenarios.
    So please give solution that how should refresh system form.
    Thanks a lot.
    Ashish Singh.

    Hi,
    Please post above discussion in SDK forum.
    Thanks & Regards,
    Nagarajan

  • Difference Between Oracle ADF and ADF Rich Client

    Hello Gurus,
    I want to know the difference between those two:
    Oracle ADF:
    http://goo.gl/6Q1i2
    and
    ADF Rich Client:
    http://goo.gl/L31ra
    I downloaded Jdeveloper 11g (11.1.2.3.0)
    I did this tutorial which It adf right? http://goo.gl/8Mf7c
    and this other is rich client right? http://goo.gl/7Krew
    Can I please know the advantages of them over the other one? THANKS !!!

    ADF Faces Rich Client Components are a part of Oracle ADF.
    So Oracle ADF uses ADF Faces as the components for the rich web UI, but it also offers things like simplified database access through ADF Business Components, an advanced ADF Controller layer, and simple data binding.
    I would suggest starting with this seminar:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/Introduction_To_ADF/Introduction_To_ADF.html

  • Facelets support in ADF Rich Client

    I have tried to use ADF Rich Client with Facelets
    but it looks like the tag library schema is not recongined, and the ADF RC tag schema definition in html root tag and all ADF RC tags are copied into output.
    any comments or info from any one?

    hi,
    to add my 2 cents
    by the way do you know when will be a code drop of ADF RC available in Apache ?
    I assume this to happen some time after ADF Faces RC goes production
    1) legacy(!?) pages in one of projects we have hundreds of pages developed in facelets and it is a little hard to convert them all.
    We don't support JSF 1.1 content (and Trinidad content) to be on the same page as ADF Faces RC. So if you like to continue using your current stack then the option to go with in Trinidad in JDeveloper 11, not ADF Faces RC
    3) Templating
    ADF Rich Faces Templating mechanism is an strong one, but a little different with Facelets, for example in Facelets templates can be used inside each other but in ADF RC as far I I know they can not.
    The runtime does support template nesting, the designtime does. However, as Shay mentioned using daclarative components might be a nice addition to reuse.
    4) composition component
    in facelets it is easy make a new composite component by mixing existing components
    for example add an export to PDF and Excel button to a table.
    looks like the current ADF Templating mechanism can be used to solve this issue.
    Declarative components do.
    Frabj

  • Integrate an ADF rich client component in form

    Hi all. I'm on devsuite10g. I have got a question: how I can integrate/insert an ADF rich client component in my form without using Jdeveloper??
    Is there a way to do it??
    Thanks all for the collaboration,
    Fabrizio

    Hi,
    you can use any other Java IDE for this and just work with the properly configured tag libary and the required settings in web.xml. However, since Developer Suite 10g is 10.1.2, you can't use the components unless your form runs on a platform that supports JavaEE 1.5
    Frank

  • ADF rich client: How to automate testing

    Hi Experts,
    We need to do some automate testing against application that is developed with ADF Faces 11g, I've tried with loadrunner 8.1, which provides 2 approaches to record web applications, web(html / http) and web(click / script).
    According to my experiment and this article , it's not feasible to record actions to rich client app with the first protocol.
    As for the second one, according to my test, some of actions works and the others not (for example, input field, expand accordion).
    My question is, Is there a solution to fully automate adf 11g UI interactions? Solutions based on loadrunner is preferred.
    Thanks for any help,
    Todd

    Thanks CM.,
    Sorry I didn't make my question clear. Selenium does fit in AJAX well, but seems that it lacks of ability to do stress test, what if we need highly concurrent workload(say, 5000 users)? Can selenium RC or some tools else generate that?
    And, are you sure that loadrunner 8.1 is not feasible to do stress test against ADF rich client apps? I need a good reason to persuade my bosses to consider adopting new tools.
    Regards,
    Todd

  • Adf Rich Client - Free or License?

    Hello!!
    In previous post, you say the Adf Rich Client will be free when a production version is available, all right?
    Then, you have a idea of a date to Adf Rich Client goes into production version?
    What the license for Adf Rich Client now? I can developer my comercial applications with the Adf Rich Client?
    Thanks and congratulations for your good job with the Adf Rich Client!!!

    Frank,
    First of all thank you for your support on this forum.
    I have a hypothetical question though... In our development process we are entering a phase when we need to start working on application... We took a look into Jdev11 and ADF RC, and really liked it - it has many components that our users are already used to in Oracle Forms, like dropdown menus, toolbars and most important the ability to have spread tables. We are wondering, if we start development with Jdev 11 next month and are planning to have the application production ready by the end of Q12008, what are our chances of having Jdev 11 to be production ready, and how significant the changes will be between the current version and prod release?
    I understand, you cannot answer these question, but could give me a hint, or a 'wink' as to what to expect. I would really appreciate it. We could start going with Jdev 10.1.3.3, but we really like new componnts in Jdev 11.
    Thank you,
    VO

  • TP4 / ADF Rich client demo just downloaded from otn / 41 compiling errors !

    I just downloaded ADF Riche client demo and installed it jdev tp4.
    Rebuild causes 41 compilation errors and the application is not runnable.
    Is it a way to solve this ?
    Some of the errors:
    Error: cannot read: C:\JDeveloper\myWork\adf-richclient-demo\adf-richclient-demo\public_html\WEB-INF\classes\.jsps\_components\_inputComboboxListOfValues_jspx.java
    Error: cannot read: C:\JDeveloper\myWork\adf-richclient-demo\adf-richclient-demo\public_html\WEB-INF\classes\.jsps\_components\_queryToggle_jspx.java
    Error(57): "rows" is not a valid attribute name.
    Error(57): "maxColumns" is not a valid attribute name.

    Forget about it ... downloading again and reinstalling it without any errors ... may be i downloaded from an older link or do some bad copy ... sorry disturbing you !

  • Refresh two regions at a time

    Hi,
    Iam new to ADF Framework. Using JDeveloper 11.1.1.5.0. Following is the high level description of our requirement.
    I've JSF page with four regions localted at left,Center, Bottom & Right. Left region having three buttons. Based on button click, center region will be populated with corresponding tree. User can select the required elements from the each tree & then click on 'Submit' button (which is in Center region).
    As of now Iam able to achieve till this part with the help of " Programmatic Partial page refresh (PPR) with dynamic regions »http://asktown.co.uk/?p=223"
    Now the pending part is, If user clicks on 'Submit' Button then need to send the selected item references to bottom region & right region at a time to do some thing. i.e Bottom region will display the selected items and right region will perform calculation part.
    There are two things pending as I know
    1. Getting the selected nodes from three trees(Each botton will display separate tree in center region)
    2. Refreshing two regions (bottom & right) at a time with Submit click.
    Ihope, If i could achieve these two things,Iam almost done with my task.
    Can you provide hint to proceed on these two things. It would be helpful, if some one provide pointer to achive this task.
    Thanks in advance,
    MSR.

    Hi,
    if you use shared data controls then this is not so difficult to achieve. Here's what you would do
    1. http://docs.oracle.com/cd/E23943_01/web.1111/b31974/web_masterdetail.htm#sthref2108 --> "Using the TargetIterator Property" explains how to synchronize iterators with the selection in the tree. Say the tree has locations, departments and employees. Then when you click the employees node, a employees iterator is synchronized
    2. For each iterator used or referenced by the tree create an attributeValue binding for the value you want to pass on to the other regions
    3. the region input parameters of the two regions to synchronize point to a managed bean in view scope. The refresh condition is set to if needed on the task flow binding so that when the input parameter value changes, the region restarts the contained task flow
    4. See http://www.oracle.com/technetwork/developer-tools/adf/learnmore/50-synchromize-form-treeselection-169192.pdf (--> page 6, "Building the Custom Selection Listener"). Change this code so that whenever a user selected a tree node you
    i) retain the default functionality
    ii) determine the selected node and read the attribute value binding for this node. Say the node is employees and the attributeValueBinding you created is for EmployeeId. Then the code looks like
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    AttributeBinding attr = (AttributeBinding) bindings.get("EmployeeId);
    Object selectedNodeValue = attr.getInputValue();
    5) Set the selectedNodeValue to the managed bean property referenced from the region input parameters
    6) Call AdfFacesContext.getCurrentInstance().addPartialTarget(region reference) for each region
    7) The last thing to consider is that the tree is in a region itself. So here is some complexity that you handle following the idea mentioned in this blog (http://one-size-doesnt-fit-all.blogspot.de/2010/09/master-child-btf-chaperone-contextual.html)
    Since the two dependent regions are refreshed by the parent view, you need to define a managed bean in view scope for the parent view and then pass the bean as an input parameter reference to the region having the tree component. You use this handle then to pass the selected EmployeeId and the partial refresh notification to the view bean. The bean then sets the managed bean property read by the task flows in the dependent regions
    Frank
    Ps.: This is a very complex use case for a start with ADF
    Frank

  • Bex Query using BICS running fine in Rich client but v. slow in Launchpad

    Hi guys,
    At my client client we are using BICS to use Bex Query in Web Intellience, and i created a report that takes less than 10 seconds once run in Rich client but when i create the same Webi report in Launch pad: the list of values take forever to refesh and the report runs for about 30 mins before it displays data..
    In both cases it shows data but the time difference is huge.
    Kindly direct me on what could be the possible issues considering this case.
    Regards,
    Sheikh

    Hi Sheikh,
    There are some known issues with the BICS connectivity and LOV's when retreiving data in BI4.0
    This is detailed in the note - 1581323 - BI 4.0 Web Intelligence very slow performance when using BICS
    Basically there are some registry changes which need to be made to result in quicker data retreival. The full fix is scheduled for Patch 2.1. It may not be your precise issue but the registry change should help I believe.
    Can you test with the registry fix and let me know if this improves matters for you:
    Resolution
    The following fix is planned for Patch2.1 (w/c 27th June 2011):
        Add 2 new registry entries (string keys) under
            For the 32-bit using Rich Client: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\default\WebIntelligence\Calculator]:
            For the 64-bit Web Intelligence:[HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\default\WebIntelligence\Calculator]
    "BICSLOVChunkSize"="4000"
    "BICSResultChunkSize"="100000"
    Note 1: In a specific test case, a value of 4000 yielded good results, reducing fetch time from 20 minutes to under 5 minutes.
    Note 2: Registry key usage:
        BICSLOVChunkSize is defined as a string. It help create a chunk of List of Value of maximum the number given. The bigger the number the more likely the retrieval of the list of value will crash. Consider using a value between 100 and 5000. If you have 1000 values in your database and you set the BICSLOVChunkSize to 200. Then you will see a hierarchical view of 5 groups having eah 200 list of value.
         BICSResultChunkSize is defined as a string. It limits the number of results that can be retrieved as a List of Value. If you have a List of Value which contains 1 Millions values and set the BICSResultChunkSize to 1000 than only the first 1000 rows will be retrieved. Therefore you will get a partial result set for the list of value.
    Parallel correction for interoperability:
        A parallel fix has been delivered via component BW-BEX-OT-BICS by way of a correction attached to Note 1593802.
    Workaround:
        Set all the values of column u201COrder for F4 Helpu201D to 0 (zero) in BW Transaction RSD1 so that the attributes are not retrieved.
    -> List of members are now displayed in 20 seconds.
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • ADF Rich client demo link down?

    Is the ADF faces rich client demo link down?
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/index.jspx
    Thanks,
    Rajesh

    Yes looks like it. The link is often down. You can load the war from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html and run it in your jdev.
    Timo

  • ADF Rich Client Faces af:table editingMode="clickToEdit" event handling

    I have a table with editingMode="clickToEdit" that contains columns with inputText with values that map to Eclipselink JPA Entity bean properties.
    I am struggling to find an event that I can monitor that would allow me to persist or cancel the changes the user enters. I might add "Commit" and "Cancel" commands in their own columns but then I would like to have an event that allow me to enable and disable those commandButtons. In any event I would like to capture the fact that a row has entered editing mode with either a clientListener or a servletListener.
    Is any of this possible?
    Frank's suggestion in Re: Edit Specific Row on click of button in ADF table implies that the table be re-rendered and I would specifically like to avoid that as it is disturbing to the user to have the entire table redrawn, particularly when the size of the table exceeds the displayed rows.
    Thanks, Mark.

    I suppose I didn't ask my question properly. I have been persisting POJO and JPA beans with ADF Faces, Trinidad and ADF Faces Rich Client since 2004 and I have a hundred thousand lines of library code to manage that.
    The tricky thing about <af:tables (and <tr:tables for that matter) is that it is challenging to render individual rows or cells and re-rendering the entire table is disruptive to the user experience. My normal practice is to allow the user to select a row and then click an edit button that re-renders an edit panel (or detail stamp) which contains a submit button. However, for small simple tables this is overkill and in-line editing would be very attractive. The WONDERFUL thing about <af:table editingMode="clickToEdit" is that the user can enter an EDIT mode without redrawing the table.
    My problem is that I have not yet discovered an event that I can monitor to let me know that the user has done this. What I think that I want is something like the clientListener selection event that would fire when the editingMode state changed: a clientListener editingMode event.
    If I use the clientListener selection event, is there any way I can determine editingMode state of the row?
    Here is what I have tried
          <af:table id="paymentTable" binding="#{PaymentLogTable.table}"
                    rows="5" value="#{PaymentLogTable.model}" rowSelection="single" columnSelection="single"
                    var="payRow" displayRow="selected" editingMode="clickToEdit"
                    selectionListener="#{PaymentLogTable.selectionListener}">
            <af:clientAttribute name="keyColumn" value="payRow_amount"/>
            <af:clientListener method="MIZAR.adf.selectionHandler" type="selection"/>
            <af:clientListener method="MIZAR.adf.editingModeHandler" type="dblClick"/>
            <af:column clientComponent="true" width="50" align="center" headerText="ID" sortable="false">
              <af:outputText value="#{payRow.id}" />
            </af:column>
            <af:column width="75" align="right" headerText="Amount" sortable="false" clientComponent="true">
              <af:inputText id="payRow_amount" value="#{payRow.amount}" valueChangeListener="#{payRow.setRowDirty}" clientComponent="true">
                <af:convertNumber minFractionDigits="2" maxFractionDigits="2"/>
              </af:inputText>
            </af:column>
    ... more columns
    MIZAR.adf.selectionHandler = function (event){
      MIZAR.adf.editingModeHandler(event);
    MIZAR.adf.editingModeHandler = function (event) {
      var table = event.getSource();
      var keys = table.getPropertyKeys();
      var selectedRowKeys = table.getSelectedRowKeys();
      var keyColumn = table.getProperty('keyColumn');
      var aKeySet = event.getAddedSet();
      for(aRowKey in aKeySet){
          var newRowKey = aRowKey;
      var newRowComp = table.findComponent(keyColumn,newRowKey);
      if ( newRowComp ){
        var readOnly = newRowComp.getReadOnly();
        if ( !readOnly ){
          alert ('Editable'); // NEVER GETS HERE
      if (table.getProperty('isCanceled')) {
        alert ('canceled');
    }But, the MIZAR.adf.editingModeHandler doesn't get called when I double click the row and neither does the MIZAR.adf.selectionHandler. The inputText component always shows up as readOnly = true.
    Thanks, Mark

  • Can I disable the ADF Rich client javascript?

    I would like to work around the ADF framework and use my own javascript. Is there a way to turn off the rich client libs so they are not downloaded to the client? I want to use jQuery and my own javascript.
    Thanks for any tips, tricks, links, or examples.

    ADF is an MVC framework - ADF Faces is the View layer.
    You can use the rest of the MV layers with a different front end.
    So you can use ADF Business services and access them for example from a simple JSF that doesn't use the Oracle JSF components.
    That being said, I think you are going about it the wrong way.
    The real question is what specifically does JQuery gives you that ADF Faces doesn't?
    What specifically are you trying to achieve and can't achieve with ADF Faces?

  • Client Upgrade tool - run-time error on client?

    Hello,
    Iu2019m facing an issue sending out Client Upgrade Packages. The package arrives on the client, but it the install process gets stuck immediately with the Run-time error 35603.
    Have you got this error below u2013 or do you have any idea what I should look for?
    BR MC

    Hi,
    in case you are running 5.0 SP9 the note 1106147 should help.
    Regards,
    Wolfhard

Maybe you are looking for

  • Information about Client(Browser)

    Hi All, I have a question. While handling simple file based HTTP request -response code, how can it be determined that the request is coming from the same browser window and not from a new browser?

  • Loose head phone jack?

    ive been having this problem for a while, but now its really starting to bug me. no matter what kind of head phone (skull candy, ipod or sony) and audio thing, even the smallest, like the absolutetly tiniest budge, the cord will come out maby 3mm and

  • Audition 5.5 crashes immediately

    Here is what the event viewer shows. Also how do I find the audtion log txt file. I have no idea where to look. Here is the info   Faulting application name: Adobe Audition.exe, version: 4.0.0.1815, time stamp: 0x4d8ba538 Faulting module name: AuScri

  • Integration with other modules

    Hi Sap Gurus. Hi, Plz explain... MM module is integrated with which modules . And how it is Integrated?? How MM module to integrate with CO(Product Costing). If thr any material please send me to [email protected] Thanks.. Raju

  • Adobe No Longer Supports Flash 9

    Since losing "flash" interfers with many applications the community has questioned both Motorola and Verizon as to what if anything they were going to do about it.  You are correct, nothing.  We were referred to Goggle which is a lost cause as they t