Dynamic MessageChoice based on the value of each line

Hi all

I'm trying to implement a requirment, don't know how I can acchive this in the OPS.
I appriciate any person that makes me in the right direction


How to have a dynamic messageChoice in OAFTable.

My scenario is like this,


OAFTable [UI Table]
========================================
| Name | xxx movies | MessageChoice values.
========================================
| 12-A | xxx movies | Apple, Airport |
| 15-B | xxx movies | Ball, box |
| 20 S | xxx movies | Singapore |
=======================================|


VALUE_TABLE [table DB]
=======================
| Letter | Value |
=======================
| A     | Apple |
| S     | Singapore |
| A     | Airport |
| B | Ball |
| B | Box |
=======================

(There is a messageChoice column in my third OAFTable represented above column).
the values for this messageChoice must be filtered on the 'Name' column in each snippet of it IE row letter and use this value to filter the values of VALUE_TABLE.

Where clause for each message lines choice should change dynamically as

Rank 1: select the value in VALUE_TABLE where letter = "A".
Rank 2: select the value in VALUE_TABLE where letter = 'B '.
Rank 3: select the value from VALUE_TABLE where letter = 'C '.

Since the messageChoice EVENT is generated only after the exchange of value, I cann which allows to change the place where the clause of the VO.

Is there a feature in OAF WHERE clause of that VO modifyes for each line?


What will be the ideal approach to acchive. Surely someone would have solved this kind of scenario...

Thanks for your suggestions in advance :)

Srinath

Hello

Yes there is an available standard approach

Consider a container, such as a table that has two columns. A column is a Department, while the
another column shows all employees of this Ministry in a poplist. The view object used for the poplist
(The view definition list pick) needs the number of Department (the "Deptno" of the container field) destined for bind
variable: 1. This can be done with the following sample code in the processRequest of the controller method:
Table OATableBean =...
OAMessageChoiceBean = empPoplist
(OAMessageChoiceBean) table.findChildRecursive ("EmpName");
empPoplist.setListVOBoundContainerColumn (0, / * bind index * /)
table, "Deptno");
Copy the following lie the first index of (0th) bind to the view of poplist object used to the displayed value by the
column named Deptno in the table.
The setListVOBoundContainerColumn method can be called multiple times if the query used for the poplist
several bind variables. Note that this approach actually simulates a BC4J link, except that it relies on
the table columns of the user interface for bind rather than object attribute values values view directly.

Thank you
Gerard

Tags: Oracle Applications

Similar Questions

  • Dynamic action based on the value in a table

    Greetings,

    I would like to use a dynamic action to disable a button depending on the value selected/entry in a field in tabular form. Thus, for example, if someone enters the value "LKSG", then a button is disabled (in this case, the 'Add Row' button).

    How I would do this using the tools of dynamic measurements? When I create a dynamic action, I see that my choice of Type 'selection' for dynamic action of shooting is point, area, button, object DOM, jQuery Selector. I don't know how to use a field in a presentation of tabular to firing. Or if it is possible.

    I use APEX version 4.1.1.00.23

    Thanks in advance!

    John

    jfosteroracle wrote:
    Tom - it's very useful! A few questions:

    -J' use a 'button of the model '. To use the static code for the button, I see that the model must include the #BUTTON_ID # in the model. I added the #BUTTON_ID # in the template like this:

    #LABEL#

    Where is the the BUTTON_ID should go, in the

    ?

    After adding this, it does not for a button of the model. But if I change the touch of a button HTML, your method works great!

    It is of course the difference between the two buttons: how they react and, above all, how they are marked upward. An HTML button is a real

  • Fields hide APEX 4.1 show based on the value of the checkbox/radio

    I'm trying successfully, hide and show fields based on the value of a selected checkbox.  I use a dynamic action, but it does not work.

    I followed the example in the is Oracle Apex 4 enable the following AJAX features? (IE without the written Javascript dev) - stack overflow

    I even tried an option button, but it did not work.  I can not uncheck the option button.  What I am doing wrong?  Thanks for any help you can provide.

    Hello

    For example, the point of view refer Packaged application > application sample database > page 11

    Kind regards.

    GO

  • Change the Label element based on the value of another element

    Hi guys,.

    I need to put a label of point (A) based on the value of another article (B). I did the following:
    I created a dynamic action.
    When B changes:
    1. present the value of B
    Article 2-updated
    Is element A label: myitem & b.

    Any ideas?

    Best regards
    Fateh

    His work! Check it out now

    Just do it

    $('#mylabel').children('label').children('span').text($v('P1_A'));
    

    Published by: VC on June 9, 2012 11:21

Maybe you are looking for

  • Do not play L850D WMP and VLC player video but audio satellite

    Hello I have a L850D running Windows 7 and all of a sudden the windows media player, VLC does not play the video file but reads the audio file.When you use youtube video playback. Anyone have any ideas?

  • B580 cpu change

    Hello! I want to improve my laptop. Pentium B970 (Sandy Bridge) has been installed in it. Can I change the cpu in my machine, but I don't know what CPU will be fit to my bios or motherboard based on the HM77 chipset. I've got a grip of rPGA 988B. Ple

  • The new iOS update

    The new update of iOS has blocked to my children iPhones two different phones. And trying to connect to iTunes to happen to different problems, why we can not access iTunes very frustrating that my children are both with a phone now

  • Generate impulses to drive an instrument AND trigger some HAVE (the S Series DAQ)?

    Hello I use a PCI-6122 (with LV 7.1 and Windows XP).  I'm generating a TTL pulse with one of the counters on the Board (from 0).  I need to use this momentum to drive a shutter and also as a trigger for data acquisition (HAVE).  Is there a way to "sp

  • Impossible to change any display including screen saver setting

    can't change my display settings as a background screen or screensaver. It happens with your administrator has disabled launching of the display of the settings panel. I use vista and I am the administrator of the computer.