Link between 2 SelectOnceChoice component doesn't work.

Hello all,
I am using ADF BC, with Jdev version 10.1.3.3.
Right now I have the requirement to put 2 SelectOneChoice and 1 table component on a new page.
User select the value in the 1st list box and the value in 2nd list box should change according to the 1st one dynamiclly. After user select the value for the 2nd SelectOneChoice, the table records in the readonly table should also change dyamiclly.
I have find way to link a SelectOnceChoice to a readonly table, that is create a nested query with view-links and drag the master item and nested view to the page. And set the auto-submit and PartialTriggers properies for them.
Right now my question is how to make the dynamic change between the 2 SelectOneChoice? I have search the forum for many threads and it seems the #62 example in Steve Muench's blog should be the similiar solution. The link is http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#62
I have test the example, it works well. And I also make a new page with the table in hr schema, and make link successful, although a little different from the example:
Create Region EO and RegionView VO(use it to creat regionlist LOV) based on Region table, create Country EO, CountryView VO(use it as base query for the 2 SelectOnceChoice component) and CountriesForRegion VO(use it to creat Country LOV, contains a parameter) based on country table. Then drag region_id and country_id from Data Control Palette to the page and link them to regionlist LOV and Country LOV. Set the 1st SelectOneChoice componnet's ID and autosubmit property and set 2nd SelectOneChoice componnet's PartialTriggers property. Then set the action and revoke action in the page def: use base view's region id as parameter, to create a ExecuteWith Parameters action and create invoke action with renderModel and condition is #{empty requestScope.CountryChanged}
So far it works well and I don't need to add code in the example coz the link has been created.
But when I turn to my table, all the thing changed. I have 2 tables contain process infomation and emp name information.
the process table: processID(PK) and Process name
the emp name list table : processID, UserID(PK) and Name
I create the page as I did in above example, use ProcessID as parameter. But nothing happen when I change the value of 1st SelectOnceChoice.
the where clause in the NameListForProc is: where namelist.PROCESS_ID = :TheProcessID
and it seems not work. when I change to nvl(:TheProcessID,26) nothing happen.
when I change to hardcode decode(:TheProcessID,0,0,26) it can retrive valule in the 2nd SelectOnceChoice. I don't know what happen in this place.
I had suspect the datetype of processID and change number(20,0) to number as in hr tables. nothing happen.
I also change the parameter to use process name, still no value. the returned :TheProcessID is not null, but I don't why it can't retrieve value as I did in the hr example.
So I wonder what will impact this process? some setting of VO or some setting in action and revokeaction or some properties or I misssing something in the steps?
can any one give me some hint? many thanks.
Scott

The SelectOneChoice section is:
<af:selectOneChoice value="#{bindings.ProcessId1.inputValue}"
label="#{bindings.ProcessId1.label}"
autoSubmit="true" id="ProcList"
showRequired="true">
<f:selectItems value="#{bindings.ProcessId1.items}"/>
</af:selectOneChoice>
and the binding list:
<list StaticList="false" ListOperMode="0" IterBinding="NameViewIterator"
ListIter="ProcessListIterator" id="ProcessId1" NullValueFlag="1"
NullValueId="ProcessId1_null">
<AttrNames>
<Item Value="ProcessId"/>
</AttrNames>
<ListAttrNames>
<Item Value="ProcessId"/>
</ListAttrNames>
<ListDisplayAttrNames>
<Item Value="ProcessName"/>
</ListDisplayAttrNames>
</list>
Do I need to change the format of SelectOneChoice to add "for each"?
Message was edited by:
[email protected]

Similar Messages

  • Link between Aperture and iTunes doesn't work

    Hi,
    i have the problem that i can not load photos through iTunes on my iPhone or iPad because iTunes can not find my Aperture Library.
    In Aperture itself i have the setting enabled, that other program can use thumbnails.
    Some Tipps for me?

    Hi leonie, thank you very much for replying.  I'm sorry for the vauge "error description"
    iTunes complains = Aperture Library cannot be found (same error as before)
    My library is contained on an external HFS+ formatted USB drive.  I know other programs can see the library because my screeensaver shows photos from it.
    As for your soultion, that didn't fix it unfortunately
    But I did end up figuring out a solution: I don't know why iTunes was so fixated on the original library aperture created on my OS drive in the "Photos" directory (which is now a very limited space SSD).  Even if I created a new library located on my OS drive, it "wouldn't find it" when I switched to it.  So for the solution, I moved (not copied, but moved) the original library to the exact same location as the one on the USB HDD.  Changed the library to the "original one" located now on my USB hdd.  Merged in the one that had all my photos.  iTunes now can see my library located on my HFS+ formatted USB hard drive. *WHEW* I hope that helps someone else out.

  • MPEG-2 component doesn't work anymore

    Hi,
    I now recognized, that the MPEG-2 component doesn't work anymore. I don't know since which moment, but maybe since the last QuickTime update. I reinstalled it, but it didn't solve the problem.

    I can open a m2v fil but there is no content and it displays like a sound file.
    If there is no display screen above the controller (i.e., looks like an audio file), check the Inspector (or Properties) window to see what the QT player thinks is contained in the file. Also, what is the source of the file? Files split by windows users and posted on the internet frequently open in this manner without a display screen. Basically, if the QT MPEG-2 Playback component is not working, the file will not open at all. Also, M2V files are normally paired with a separate AIFF file. If you have QT Pro, open the Properties window and check the "Resource" pointer for your M2V track.
    I can't find where it is installed either.
    Did you check the root "Library > QuickTime" folder on your start-up drive? Also, did you install the correct codec? Two versions should be contained in the image file. You want the one that says "For QuickTime 6.4 and later & Intel Macs."

  • DDE link between MT4 & Excel 2010 no longer works on Windows 8.1 64bit

    I have a DDE link between EXCEL 2010 & Metatrader (MT4)  that has worked flawlessly up until yesterday. Now the spreadsheet just hangs when
    i attempt to update.
    I had not changed anything on my machine prior to the problem, but have since repaired then reinstalled Office and reinstalled MT4 but the problem persists.
    The link still works fine on my Windows 7 64bit PC with the same version of Excel and MT4, so the problem is not at the server end. I have even taken the EXCEL file from the WIN8 machine and it works fine on the Win7 machine
    MT4 is installed in C:/ as the link did not work previously when installed in program files
    Help!

    P.S.  If Excel file was created on an older version of Excel, it should be converted to 2010 format, and the inputs are a little different.
    Example:
    Instead of  =MT4|ASK!EURUSD
    it's now       ='MT4'|ASK!EURUSD

  • Web link is too big and doesn't work

    Hello,
    I have a program where i send an email and in the email body i have a web link. This web link is too big and it's broken in two lines when email is open in email box.
    When i clik in the link, only the first line have the aspect of a link, the line is blue and underline. In this way, the link doesn't work properly because another half is missing.
    This happen in outlook but when i sen the email for gmail account, the link is show correctly and it works.
    Does anybody know how to help me?
    Thanks and best regards,
    Maria

    Dear Rave,
    Thank you for your reply.
    Yes, I tried several times and got the same results.
    Does it have anything to do with the Options/Applications used in Firefox?
    Dr. T

  • Link to download payment receipt doesn't work

    When I click on the link to download my most recent Creative Cloud payment receipt, I receive the following message:
    We were unable to locate the specific transaction you are trying to access.
    I can download my October receipt without any issues.

    No response at all. Nothing. I actually created this post on accident while trying to find a way to contact their customer service. I eventually was able to create a support ticket, but it still says, Open - Pending Adobe Response and the link still doesn't work.
    Yesterday I tried to sign in and check on the ticket, but the support site threw an error.
    This situation combined with them being hacked doesn't give me much confidence in the Creative Cloud.
    Have you received a response?

  • Synchronisation between web and desktop doesn't work anymore (update)

    Before today, I could synchronize my files between Web and my Desktop. It doesn't work anymore.
    It tells me "Available soon"... It worked fine until today...
    >>> That's ok, it's working again since a few minutes...

    The problem is on the PC with Windows 7... where iTunes doesn't work anymore.

  • Install from scratch 3 times Mavericks but cannot used my restore it will just start for ever. After first install and restore mail and link between folder and files didn't work anymore. Now cant see my disk in finder. Help?

    First install through regular update : never finishing the start after automatic restart
    First install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only - Mail crashed each 5 inutes and asked constantly for password of my 2 accounts, links between folders and files not OK and attaching a doc was complicated. I downloaded the update same problems
    Second install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only and settings : never finishing the start after automatic restart
    Third install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - But no disk available in Finder
    So far no Mac since 3 days ...
    Any help is welcome

    Still struggling to understand why copying the entire root dir to a disk image and then restoring from that image did not, as expected, yield an identical system, and why I even had to reinstall after doing this.
    Because there is a lot more going on under the hood than merely copying files.
    The only way to do what you want is to use cloning software like Carbon Copy Cloner.
    My  advice is to rescue your personal files to a regular non-TimeMachine  external drive, Zero erase the ENTIRE drive and install OS X fresh and  update, then your programs from original sources and files from backup.
    Then, make a bootable clone and you can copy that as many times as you want and each one is bootable.
    Most commonly used backup methods
    How to erase and install Snow Leopard 10.6

  • Syncing between Mac and iPhone doesn't work

    I recently upgraded to Mavericks and after that syncing my Mac with my iPhone 5S doesn't work.
    I would like to report syncing bookmarks, contacts, calendars and notes not syncing as a bug, because i find the decision to force me into the cloud to sync these so stupid that I could as well have been using Windows.
    However, nothing else syncs properly. There seems to be a random function deciding which podcasts, iTunes U content etc. that syncs. If I press the sync button several times I get different results every time.
    Does anyone else experience the same thing? Is there a workaround or is it just bad programming from Apples side?

    Hi. Is the iPhone still connected to the WiFi when you separate them? The iPhone must be connected to WiFi for FaceTime to work.

  • Why my new Mac mini  DVI dual link mini display port adapter doesn't work  with my 30"display (LG W3000H)?

    Hello There
    Can any of you advise on the below? Tried to connect Mac mini with a 30" display through a DVI dual link mini display port adapter. For the first try Mac mini go connected to the display, then i've chosen the highest resolution (2560x1600, native) and right at that moment they got disconected. Since then the display stays black. What can be the issue, is it possible DVI dual link mini display port adapter is not compatible with 30"display (LG W3000H)? It works with DVI male-male cable plus DVI HDMI adapter as long as the resolution stays under 1280x800. Any idea is much appreciated.
    Thank you, Vera

    Hi,
    I can report that my Mac Mini Intel Duo connected instantly and without even having to set it up (on the first try) with my 1366x768 native resolution DELL 50" Plasma Display. It's so beautiful that I just want to stand there and fondle my HDTV as I drool haplessly like Homer Simpson with a doughnut in his mouth. Seriously, no problems.... guess I bought the right cable (ebay).
    Before you buy a Duo, make sure you're aware of the airport and bluetooth issues that so many (maybe everyone who tries to use them together) are having. It seems that bluetooth interferes with airport, or maybe the other way around. Anyway, it's messed up. Also, Airport reception is generally VERY poor with the new Intel Mac Mini.
    Despite these things, I still love mine (I now have 2 base stations and an airport express for my powerhouse wireless needs, and an external DLink bluetooth-2-USB dongle solved the bluetooth/airport issues... in my case).
    FWIW,
    awk
    667-MHz Ti PowerBook G4.   Mac OS X (10.3.9)  

  • Nested Composite Component Doesn't work for table column

    I have reported this issue as defect 1541 but I'm hoping someone my have a suggestion on a work around for this. Here is the issue
    I am attempting to use composites to represent a table column. I have tried this with both IceFaces and the standard implementation. I have a custom component that is of type UIColumn that is being inserted into another composite that houses a table. The table renders and the column renders. However, the outputText that should represent the row data does not render. Interestingly this will render using composites when I don't have the column rendering as a composite (IE the table is contained in the composite and the row level output is contained in the top level page.). That is not my requirement though. This seems to be a tough cookie to crack. I have the source now and am starting to acquaint myself with it in an attempt to figure out what is going on. Any brilliant ideas out there?
    Code is below.
    tableColumn.xhtml
    <!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"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    </h:head>
    <h:body>
    <composite:interface componentType="MyColumn">
    </composite:interface>
    <composite:implementation>
    <ice:column headerText="Make" id="column3">
    <composite:insertChildren />
    </ice:column>
    </composite:implementation>
    </h:body>
    </html>
    table.xhtml
    <!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"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    <title></title>
    </h:head>
    <h:body>
    <composite:interface>
    </composite:interface>
    <composite:implementation>
    <ice:dataTable augmentTitle="false"
    rows="10"
    value="#{SessionBean1.carDataProvider.tableDisplayList}"
    var="item" >
    <composite:insertChildren />
    </ice:dataTable>
    </composite:implementation>
    </h:body>
    </html>
    Example Page
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:temp="http://java.sun.com/jsf/composite/tempcomp"
    <h:head id="outputHead1">
    </h:head>
    <h:body>
    <ice:form id="form1">
    <temp:table>
    <temp:tableColumn>
    <ice:outputText id="outputText3" value="#{item.make}"/>
    </temp:tableColumn>
    </temp:table>
    </ice:form>
    </h:body>
    </html>
    The the new UIMyColumn class
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package icefacestestapp2;
    import com.icesoft.faces.component.ext.UIColumn;
    import javax.faces.component.FacesComponent;
    @FacesComponent(value = "MyColumn")
    public class MyColumn extends UIColumn {
    @Override
    public String getFamily() {
    return "custom";
    Interestingly the row text will not render even if I add it directly to the new
    composite column class as seen below.
    <!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"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ice="http://www.icesoft.com/icefaces/component"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <h:head>
    </h:head>
    <h:body>
    <composite:interface componentType="MyColumn">
    </composite:interface>
    <composite:implementation>
    <ice:column headerText="Make" id="column3">
    <ice:outputText id="outputText3" value="#{item.make}"/>
    </ice:column>
    </composite:implementation>
    </h:body>
    </html>

    Hi,
    I recall an issue in 10.1.3.2 with inner frames that had the wrong JavaScript reference to the DOM. So I assume this to be the same in your case. So you can give it a try with JDeveloper 10.1.3.3 and see if this fixes the problem
    Frank

  • RPC through DB Link from 11g to 10g doesn't work

    Guys,
    I am unable to make simple RPC to an Oracle 10g database (Running on Unix Server) from Oracle 11g database (Running on XP Professional).
    But RPC Call from 10g to 11g works fine.
    Any idea?
    C:\temp>sqlplus /nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 24 10:13:50 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    -- Login into 10g Database and create the procedure
    SQL> conn scott/tiger@ORA10G;
    Connected.
    ORA10g> SET SERVEROUTPUT ON
    ORA10g>SELECT * FROM V$VERSION;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    ORA10g>CREATE OR REPLACE PROCEDURE TEST AS
    2 L_CNT NUMBER;
    3
    4 BEGIN
    5 SELECT 1 INTO L_CNT FROM DUAL;
    6 DBMS_OUTPUT.PUT_LINE('10G SYSDATE = ' || SYSDATE);
    7
    8 END;
    9 /
    Procedure created.
    ORA10g>EXEC TEST;
    10G SYSDATE = 24-JAN-08
    PL/SQL procedure successfully completed.
    -- Login to 11g Database and create the DB Link and call the procedure
    ORA10g>conn scott/tiger@ORA11G;
    Connected.
    ORA11g>SELECT * FROM V$VERSION;
    BANNER
    Personal Oracle Database 11g Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE     11.1.0.6.0     Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    ORA11g>create database link DB_LINK connect to SCOTT identified by TIGER using 'ORA10G';
    Database link created.
    ORA11g>SELECT * FROM DUAL@DB_LINK;
    D
    X
    ORA11g>exec test@DB_LINK;
    BEGIN test@DB_LINK; END;
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object SCOTT.TEST@DB_LINK
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [],
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from ORA10G
    ORA11g>exit

    Hello
    Did u get the issue resolved after applying the patch 10.2.0.3?
    I am also having the same problem with RPC and using 10g version 10.2.0.3 and 11g version 11.1.0.6
    Thanks
    Banu

  • Link action (CommandLink): target attribute doesn't work

    I want to use a link action to pop up another JSF page, so I set its target attribute to _blank, and in its event handler,  I return the other jsf page.  However, the other jsf page doesn't open in a new window, it just replaces the current page in the existing window.  Why?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    The way to open a new window is to make use of the javascript function window.open. This can be used on click event for the hyperlink action. The link action does not allow the usage of the above mentioned method.
    Thanks,
    RK

  • XML Component doesn't work (size limitation)

    Hello,
    I'm having problems with "large" XML documents in the XML Component. I have a XML document with 6 records, that fails with the following error:
    ORA-24345: A Truncation or null fetch error occurred
    If I cut the XML document down to 5 records it displays the output just fine. This definetly looks like a bug. I've cut and pasted this XML document into the "XML Code" section, and had it loaded via a URL in the "XML URL". Still I have the same problem.
    I looked at the code, and I noticed that the size for the variables in which to get the XML/XSL+DTD code retrieved into, is hard coded at 32767. Although this doesn't seem to be the source of my problem, 32767 is just too small for XML documents. Is there a patch for this problem, or do I just have to wait to the next release?

    I have the latest version that comes with 1.0.2.1 which is 3.0.8.
    The size of the file that I'm using is approximately 17K.
    I know that there are other ways of displaying XML with XSL, but unfortunatly, Netscape is what we currently use, so XML and XSL don't display easily.
    I'd like to know if this will be fixed in the next release or whether a patch will eventually be available. I was also wondering if there is date or approximation of when it will be fixed. I appreciate you taking the time to answer me.

  • Download link Oracle SOA Composite Editor doesn't work

    The following link http://download.oracle.com/otn/java/jdeveloper/11.1.1.3.0/extensions/soa-jdev-extension.zip returns 404 page not found. The update center in Jdeveloper lists the Oracle SOA Composite Editor 11.1.1.3.0.25.27. The download however fails with 404 as well
    Are there any alternative download locations?
    With kind regards,
    Jornica
    Edited by: Jornica on Jun 9, 2010 9:25 AM

    It seems something is wrong at the side of Oracle. Yesterday i already had a lot of redirects from urls, so couldn't access resources.
    But i can't find some other location to download the extension
    it's working again :)

Maybe you are looking for