Looking for documentation about filling Comboboxes in bc4j forms

Im looking documentation about filling comboboxes in bc4j forms. My case is as follows:
I have an edit form. This edit form needs two comboboxes. The values in the second combo box depends of the choice selected in the first combo box. Both combos are bounded to its respective tables.
How can i do that?
Thank u.

Orlando
JComboBox jComb1 = new JComboBox();
// bind combo box to BC4J
jComb1.addPropertyChangeListener(new PropertyChangeListener()
public void propertyChange(PropertyChangeEvent e)
String val = ((JComboBox) e.getSource()).getSelectedItem();
// use value to change query for VO2 and combobox 2
Frank

Similar Messages

  • Looking documentation about filling comboboxes in bc4j JSP´s edit pages.

    Im looking documentation about filling comboboxes in bc4j JSP pages (bc4j forms). My case is as follows:
    I have an edit JSP form. This edit jsp form needs two comboboxes. The values in the second combo box depends of the choice selected in the first combo box. Both combos are bounded to its respective tables.
    How can i do that?
    Thank u.

    It is possible to use Javascript to refresh, but the code in Javascript is not entirely trivial.
    Here is an example of a dependent select control which uses javascript to refresh the dependent list.
    One use BC4J tags to populate a similar dependent list dynamically:
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script type="text/javascript">
    // Create arrays containing state cities
    // Note: These arrays could be created dynamically
    var arrStates, arrFlorida, arrNewYork, arrTennessee
    arrFlorida = ["Daytona Beach", "Miami", "Orlando", "Tampa"]
    arrNewYork = ["Albany","New York", "Oakland", "Rochester"]
    arrTennessee = ["Gatlinburg", "Knoxville", "Memphis", "Nashville"]
    arrStates =[arrFlorida, arrNewYork, arrTennessee]
    // Function to handle dynamically altering the contents of the City List box
    function handleChange(newDisplay)
    {   var StateSelect, CitySelect, NumEntries, i
    StateSelect = document.frm.States
    CitySelect = document.frm.Cities
    // Delete all entries in the cities list box
    for (i = CitySelect.length; i > 0; i--)
    CitySelect.options[i-1] = null
    // Add comment option to City List box
    CitySelect.options[0] = new Option("-- Select City --",0)
    // If state is selected add its cities to the City List box
    if (newDisplay >= 0)
    NumEntries = arrStates[newDisplay].length
    for (i = 1; i <= NumEntries; i++)
    CitySelect.options[i] = new Option((arrStates[newDisplay])[i-1],(i))
    CitySelect.selectedIndex = 0
    </script>
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <p>This is a test.. </p>
    <p>  </p>
    <form name="frm" action="">
    States:
    <select name="States" onChange="handleChange(this[this.selectedIndex].value)">
    <option value="-1">-- Select State --
    <option value="0">Florida
    <option value="1">New York
    <option value="2">Tennessee
    </select>
    <p>
    Cities:
    <select name="Cities">
    <option value="-1">-- Select City --
    <option>
    <option>
    <option>
    <option>
    </select>
    <script type="text/javascript">
    handleChange(-1)
    </script>
    </form>
    </body>
    </body>
    </html>

  • Looking for documentation about..

    There is so much documentation about ADF but most is about using and not how it works.
    I'm looking for documentation about the lifecycle in general
    Which methods get called from startup to program exit etc.
    I looked at the JDev Documentation but I cant find any documents which describe this.
    Does anyone know of such a document?
    Regards
    Anton

    Yes I have i'm trying several seperate documents now.
    I'm getting there but its not easy.
    Its for my graduation project so all the info I can get is good.
    Anton

  • Looking for documentation about AIA EBO for insurance industry

    Hello,
    Is there some documentation about the AIA EBO (javadocs? pdf ?) that describe EBO properties ?
    Thanks

    Hi,
    You may want to look at this [blog entry|http://blogs.oracle.com/aia/2009/07/where_do_i_find_information_on.html ].
    EBO documentation is available on E-Delivery and on Metalink. Datasheet is available here.
    Regards
    Rohit

  • Looking for papers about Solaris containers performance studies

    Hi everybody! I'm looking for papers about Solaris containers performance studies. Can you suggest me where to find them (if they exist...)? I tried to look at IEEE website and others similar but I didn't find anything. I'm preparing my master thesis on this topic with the aim to develop queueing network models and adopt them to the behavior of Solaris containers virtualization technology for capacity planning purposes. Every advice will be appreciated!
    Best Regards
    Davide

    How do you characterize the performance of a zone when there are so many variables in zone configuration?

  • Looking for book about performance tuning 11g database

    Hi,
    I am looking for books about performance tuning oracle 11g. The documents from OTN 2 days 11g performance tuning and performance tuning guide are not really study material.
    Has someone idea?
    greeting,
    Max

    Hi,
    http://astore.amazon.com/oraclebooks-20/detail/1590599683 {Part IV Database Tuning }
    Greetings,
    Sim

  • Looking for information about AS3 sound classes in "audio" wrong places?

    I'm looking for in depth information about ActionScript 3.0 sound classes. No matter where I search I continually encounter the same sort of kindergarten level descriptions, which never teach more than what we can readily glean from Adobe's documentation. Someone must know where there a discussion that really gets to the heart of the matter.
    I've read Adobe's LiveDocs on the Sound, SoundChannel, SoundMixer, SoundTransform classes. Indeed, they provided me enough guidance to create my own streaming MP3 player, with volume, pan, my own custom mono mix, http request, a preloading animation, and peak meters ...
    Here's an example (in the last statement of the following code) where I understand the end effect, but I fail to comprehend what happens at the compiler level:
    var currentSoundSource:Sound = new Sound();
    currentSoundSource.load(new URLRequest("http://www.mySite.com/myRecording.mp3"));
    var audioChannel_01:SoundChannel = new SoundChannel();
    audioChannel_01 = currentSoundSource.play();
    Unfortunately the class definitions in LiveDocs are quite terse, and they're seemingly incomplete with respect to:
         •     advice on best practices
         •     a thorough coverage of class to class interactivity
         •     a description of exactly how audio streams/plays into channels
    ... and in certain cases it appears that Adobe's descriptions are not fully accurate.*
    Regarding best practices, at first blush I'm sure everyone ponders over the fact that SoundChannel and SoundMixer have a stop method while the Sound class does not.
    One assumes that this surprising design must bear some advantages. If so,  what are they? Where are the analog sound mixer analogies? What would be the disadvantage of a sound class with a stop method ...  particularly when they have their own play method?
    Where are the discussion of these concepts? (Even if Adobe hired the wrong guy to write its sound classes, there should be some follow through that thoroughly explains the existing situation.)
    Phrankie
    * Here's an instance where the docs appear to be partially in error. (Is "and play" mistakenly included in the following?)
    "The Sound class lets you lets you create a new Sound object [and] load and play an external MP3 file into that object."
    ... uh, mmmmmm ... we play an MP3 into a sound class object?
    Wouldn't it be more accurate to say the following:
    A soundChannel can receive the audio data from a sound class object. We can play a sound object into an SoundChannel and manipulate it by altering the SoundChannel's soundTransform property, and we can stop it with the SoundChannel's stop method. 

    check everything you can find written by tinic uro.  this will get you started:  http://www.kaourantin.net/

  • Looking for formula to fill dates of particular days of week for a given month

    Hi
    I have a Numbers document with a sheet for each month of the year, named "January", "February", "March", etc.
    Each sheet contains a table as follows:
    I am looking for a function that will calculate the dates in a given month that I am due to see each client, based on the year (contained in a single cell table on a seperate sheet) and the month of the sheet (I am presuming that a function can refer to the name of a sheet).  These dates would populate the cells under "Session 1", "Session 2", etc. (for some days of the week there may be only four sessions, for others five).
    I hope this is clear, and would be grateful for any help in getting this working.
    Thanks,
    Nick

    Here's an example, using September, 2011 as the month.
    Main Table:
    A1: =DATE(Year :: A2,9,1)
    This calculates the Date and Time value for midnight at the beginning of the first day of the ninth month of the year indicated in cell A2 of the table "Year" (September 1, 2011). It uses a Custom format to display only the month and year of this date. The Dates calculated in the rest of the table depend on the Date and Time value in this cell.
    A2 - A11: Entered data. Not used in calculations.
    B2 - B10: Entered data. The text values here are used as search-for values, and must match the text values in column A of the table Weekday lookup.
    C2, Filled down to C10: =$A$1+MOD(7-WEEKDAY($A$1)+VLOOKUP(B,Weekday lookup :: $A:$B,2,FALSE),7)
    This calculates the Date corresponding to the first occurrence of the weekday indicated in B during the month in A1. The result is a Date and Time value (used in formulas to the right). The cells use a custom format to display only the Day (of the month) number.
    D2, Filled right to column F and down to row 10: =C+7
    Calculates the date seven days after the date in column C.
    G2, filled down to row 10: =IF(MONTH($A$1)=MONTH(F+7),F+7,"")
    This is the same formula as used in D2, but adds a check to suppress the calculation if the result is not in the same month as other dates on the table.
    Year: The requested single cell table to record the year.
    Weekday Lookup: A lookup table from which to retrieve the weekday number for the day in column B of the main table.
    Custom formats:
    Select cells C2 - G10
    Open the Inspector > Cell Format Inspector > Date and Time
    Delete the unwanted elements from the workspace in the Inspector.
    Repeat for cell A1.
    Regards,
    Barry
    PS: Numbers cannot use the Sheet name or Table name as data for a formula unless the name is placed into a cell on a table.
    B

  • Looking for Documentation on PeopleSoft Delivered App Packages.

    Hey Guys,
    Do anyone know whether PeopleSoft provide documentation for the Delivered App Packages.
    I'm expecting something like Java documentation, we get complete documentation like complete list of classes, respective methods, properties, and relation with other classes and packages.
    It would be really helpful, if there is any documentation something similar for PeopleSoft Delivered Packages too.
    Thanks in advance.
    -M

    I've been looking for something similar. There is some interesting stuff around the CDM for PeopleSoft CRM:
    http://bloggingaboutoracleapplications.org/creating-peoplesoft-crm-worker-using-cdm-classes/
    However nothing as comprehensive as JavaDoc for PeopleSoft - well that I know of anyway.

  • Looking for history about 6 months ago. history is not set far enough back. any other options to retrieve it?

    i need to retrieve my history from about 6 months ago. if my history folder does not go back this far, is there another way to review it? Anyway?

    To view your browsing history, go to '''History > Show all History'''. If what you're looking for is not there, there is no way to retrieve it.

  • Looking for documentation for CSM and the Lync 2010

    hi experts,
    Does anybody knows have Cisco any good documentation for the Lync 2010?
    We have to setup the CSM for the load balancing as we are not able to use DNS load balanbing method. Or we have done so, but we need to very if things are correct.
    Pepi

    Hello Dunc_F,
    Is this what you were looking for?
    http://a248.e.akamai.net/pix.crutchfield.com/Manuals/472/472RADIO2.PDF
    B-rock

  • Looking for topic about OS 9.2.2 powerpc g3

    hello, i'm from brasil. i use mac to work with audio.
    but I'm looking for a forum about software for g3...
    please help me. I'd like to know some site I can find a audio software for mac os 9.2.2....
    please help me!!!
    thanks a lot

    Rafael, welcome to the discussion area.
    You might be better served if you do 2 things.
    Be very specific as to exactly what you do and what you are trying to accomplish. Audio Software covers a wide range. 2nd be sure you post it where it will get you the largest response.
    Mac OS 9
    Cheers Don

  • Looking for book about building secured webpages

    Hi, I'm looking for a good book about building secured webpages, the use of SSL etc.
    Can't find much about this subject. Anyone?!
    Greetings BG

    It depends on what you wish to do and which language you wish to use (php, asp, .net, jave, etc), also which server you will be using.
    If you are new to the subject a good starting point would be a book on your preferred langages security, (e.g. PHP security, .net security), a simple search at any of the on-line book stores will deliver a long list (the newer ones are normally better as they cover the newer versions of the language).
    As for building an e-commerce system (or similar), the above books and a good book in programming generally is also helpful, (ensure it covers processing on-line payments).
    If you wish to build a 'ssl vpn', then I have found, "SSL VPN: Understanding, Evaluating and Planning Secure, Web-Based Remote Access" by  Joseph Steinberg a good start.
    HTH
    PZ

  • Looking for documents about stand-by & failover

    Hi,
    I'm looking for a document, which should explain stand-by DB & failover procedure, and how to realize it. It is best to give a scenario as details. Who could do me a favor to post it?
    Thanks
    Robin

    If the information that you are looking for is regarding 9i. Here you are:
    Data Guard Broker Contents / Search / Index / PDF
    Data Guard Concepts and Administration Contents / Search / Index / PDF
    http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
    Joel Pérez

  • Looking for documentation of scheduling agreement

    Dear friends,
    Please kindly let me know if you know where to find the documentation of business process documentation of Scheduling agreement(SA)..
    Also,,Can a PO created reference the SA?
    As I realized that SA could be shown on MD04 a after source list to it..if I am able to create a PO reference SA, Could PO replace SA on MD04?
    Your advice will be deeply appreciated,
    Thanks,
    Linda

    Hi
    Refer the below link for documentation on SA
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    Check the below link also
    http://www.sap-img.com/materials/what-is-outline-and-scheduling-agreement.htm
    Thanks !
    E.Avudaiappan

Maybe you are looking for