How to intercept clickToEdit action in af table?

Hello,
I am using EditingMode: clickToEdit in af table.
The functionality i am trying to achieve is when user clicks on table row then he can change some values. It is straight forward.
What is tricky is that i am looking to show LOV (af:selectOneChoice) in one of the attribute and the selection should depend on other attribute's value.
For example I have columns A and B.
if A value equals to 1 then B should show LOV only with selection of values 10,11,12
if A value equals to 2 then B should show LOV only with selection of values 21.22.23 etc. (this is simplify example in real it is more complected and LOV is depend on different parameters so harcoding different af:selectOneChoice elements and rendering only one is not the option - only dynamic LOV)
So depending on what row user clicks column B should show different list of values.
I am dancing around to find how to intercept clickToEdit action so i can dynamically change list of values - meanwhile unsuccessfully. The option is to create special popup for editing a row - but somehow i want to avoid this.
Any suggestions?

Hi,
I think the problem is talking about cascading LOV. You don't need to intercept clickToEdit action.
You can search by google : "cascading LOV ADF"
It will solve your problem.
Thanks.
- LSR

Similar Messages

  • How to audit "TRUNCATE" action on a table

    If I want to AUDIT "TRUNCATE" action on a
    table, which dictionary table should I refer.
    Thanks.

    If I want to AUDIT "TRUNCATE" action on a
    table, which dictionary table should I refer.
    Thanks.

  • How to intercept the InCopy 'Save' button action?

    Hi,
    I have an InCopy plug-in that can successfully intercept ‘Save’ actions from the File->Save menu (using an Action Filter).
    But in InCopy there is also a Command Bar that contains a ‘Save’ button. The problem is that I cannot work out how to intercept this button action from within the plug-in code.
    I have tried ‘Spy’ and tracing events and so far there does not appear to be any clue to what I should be intercepting to achieve this.
    (the button action does not appear to trigger a FileSave action... which is what I was hoping it would do).

    Thanks for the reply, I am beginning to think that I need to do something similar.
    Did you disable the button via code?
    I know that the class id (boss) for this button is kSaveButtonBoss.
    Regards
    Malcolm

  • How to initiate some action when user clicks a field in CRViewer?

    <p><span style="font-family: Courier"><font size="1">ReportObjects doesn't expose click event despite the fact that a field can get focus frame, you can even tab from field to field. </font></span><span style="font-family: Courier"><font size="1">Drill() event works only on group names.</font></span><span style="font-family: Courier"><font size="1">So, how to initiate some action (based on a clicked field value) when user clicks a field in CRViewer?</font></span><span style="font-family: Courier"><font size="1">After doing some googling, have found that something similar exists but it's FoxPro API</font></span></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">From some PDF: </font></span></strong><strong><span style="font-size: 12pt; font-family: Courier"><font size="1"> </font></span></strong></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> Report objects events</font></span></strong> </p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Report object events occur when you click or double-click a field, </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>heading, or label in a report.</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Doing this creates the EventInfo object. This object contains </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>information about the event and</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>passes as a parameter to the event method. </span><strong><span style="font-size: 10pt; font-family: Courier">Table 3 </span></strong><span style="font-size: 10pt; font-family: Courier">lists the</span></font></p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> </font></span></strong>EventInfo object properties.......</span></font></p>

    The article you found refers to the ActiveX viewer which is used with the COM-based tool called Report Designer Component. Since you have posted to the .NET forum, I'm assuming you're not using the RDC and therefore this article will not apply.
    Recently, Click events were added to the Windows Form Viewer to get similar functionality as the ActiveX viewer. Take a look at the following link for more information....
    [http://diamond.businessobjects.com/node/2109 | /node/2109]
    However, if you are using the CR Web Forms Viewer in an ASP.NET app, then this functionality is not available.

  • How to configure ActiveSync for a database table in IdM 7.0

    Hi All,
    Please suggest me the steps to configure ActiveSync in IdM 7.0.
    when i try it by resource-->activeSync wizard it gives
    "The ActiveSync Wizard has been deprecated in Identity Manager 7.0 in favor of using MetaView and the resource action "Edit Synchronization Policy". "
    how to configure ActiveSync for a database table.
    Thanx
    Shant

    Hi,
    You need to a script and run it on os level. Here is an example:-
    emcli relocate_targets -src_agent=agentmachine1.domain:3872
    -dest_agent=agentmachine2.domain:3872 -target_name=RACDB
    -target_type=oracle_database -copy_from_src -force=yes
    -changed_param=MachineName:agentmachine2.domain
    Regards
    Jomon
    Edited by: JohnJomon on Nov 17, 2011 2:27 PM

  • How to identify new records in a table using OBIEE

    Hi,
    I have price change table as and when a record comes into this table i have to generate an alert. Then show a report with the price changes on which i can invoke an action to go into my transactional system to make the chnage. And once the change is made the process again starts to look for any new price chnage records that are recieved.
    Could anyone pls tell me how to identify new records in a table.
    Rgds

    SELECT ID, LastName, FirstName,
    RANK() OVER (PARTITION BY LastName,
    FirstName ORDER BY ID) AS SeqNumber
    FROM
    (SELECT ID, LastName, FirstName
    FROM Customers
    WHERE (LastName, FirstName) IN
    (SELECT LastName, FirstName
    FROM Customers
    GROUP BY LastName, FirstName
    HAVING COUNT(*) > 1)

  • How to achieve atomic insertion in multiple tables in ADF ?

    I am trying to implement a situation where:-
    There is a screen which allows the user to enter information regarding "Orders" and "OrderLines". The information related to the orders is stored in the "Orders" table & information related to order lines in the "OrderLines" table.
    Say for a particular order, there are 4 order lines, then one record should get inserted into the "Orders" table and 4 in the "OrderLines" table. Each record in the "OrderLines" table will have a foreign key reference to the record for the new order.
    So the point is that I want both these operations-insertion into the "Orders" table and insertion in the "OrderLines" table to be atomic i.e. either both operation succeed or both operation fail.
    How to do this in ADF ?
    Any Help.

    Thanks for the Reply,
    But I want both these operations-insertion into the "Orders" table and insertion in the "OrderLines" table to be atomic i.e. either both operation succeed or both operation fail.
    If there was an insert action on first table and 2nd one fails then i want to rollback the changes in first table as well.
    Is this default?

  • Icon on ALV..How to assign an action to it ?

    Hi
    I have got a LinkToAction icon in the column of an ALV table. How to assign an action to it..
      DATA: lr_icon_action    TYPE REF TO cl_salv_wd_uie_link_to_action.
      CREATE OBJECT lr_icon_action.
      lr_icon_action->set_image_source( 'ICON_INFORMATION' ).
      lr_col->set_cell_editor( lr_icon_action ).
    How to assign an action to this icon ??
    Regards
    Sukanya

    SOLVED:
    I found a solution for me:
    I forgot all the previous code and with a class implementing ActionListener like this:
    class ClickImagen implements ActionListener
    public void processAction(ActionEvent actionEvent)
    <do something>
    And assigning a ClickImage's object to my component's ActionListener turns all ok:
    miImagen.addActionListener(new ClickImagen());

  • How do we use Data rules/error table for source validation?

    How do we use Data rules/error table for source validation?
    We are using OWB repository 10.2.0.3.0 and OWB client 10.2.0.3.33. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    I reviewed the posting
    Re: Using Data Rules
    Thanks for this forum.
    I want to apply data rules to source table/view and rule violated rows should go to defined error table. Here is an example.
    Table ProjectA
    Pro_ID Number(10)
    Project_name Varchar(50)
    Pro_date Date
    As per above posting, I created the table in object editor, created the data rule
    NAME_NOT_NULL (ie project name not null). I specified the shadow table name as ProjectA_ERR
    In mapping editor, I have projectA as source. I did not find error table name and defined data rules in table properties. It is not showing up the ERR group in source table
    How do we bring the defined data rules and error table into mapping?
    Are there any additional steps/process?
    Any idea ?
    Thanks in advance.
    RI

    Hi,
    Thanks for your reply/pointer. I reviewed the blog. It is interesting.
    What is the version of OWB used in this blog?
    After defining data rule/shadow table, I deployed the table via CC. It created a error table and created the all the source coulmns in alphabatical order. If I have the primary key as 1st coulmn (which does not start with 'A') in my source, it will apprear middle of of columns in error table.
    How do we prevent/workaround this?
    If I have source(view) in sch A, how do we create Error table in Sch B for source(view)?
    Is it feasible?
    I brought the error table details in mapping. Configured the data rules/error tables.
    If I picked up 'MOVE TO ERROR' option, I am getting "VLD-2802 Missing delete matching criteria in table. the condition is needed because the operator contain at least one data rule with a MOVE TO ERROR action"
    On condition Loading - I have 'All constraints' for matching criteria.
    I changed to "no constraints' still I get the above error.
    If I change to 'REPORT' option instead of 'MOVE TO ERROR' option, error goes off.
    Any idea?
    Thanks in advance.
    RI

  • Add action listener to table cell

    The topic of my previous thread was:
    How can I get characters, which user inputs into table cell?
    I've added lisateners to table:
    table.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyPressed(java.awt.event.KeyEvent evt){
                    System.out.println("keyPressed");
                public void keyReleased(java.awt.event.KeyEvent evt){
                    System.out.println("keyReleased");
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    System.out.println("keyTyped");
            });But it's not exactly what I need.
    I need to do the same, but with table cell.
    I want to see user input char by char and set color font for user input string.
    How can I add action listener to tble cell?

    This is my newly created JTextField which I will use as CellEditor for My JTable
    JTextField textField = new JTextField(); //creating Component
            textField.addKeyListener(new java.awt.event.KeyAdapter(){ //adding KeyListener
                public void keyReleased(java.awt.event.KeyEvent evt){
                    System.out.println("keyReleased" + ((JTextField)evt.getSource()).getText() + "column = " +table.getSelectedColumn());//test functionality
                    if ( isColumnHasSameValue(table.getSelectedRow(),table.getSelectedColumn(), ((JTextField)evt.getSource()).getText() ) ){//test column for equal values
                        ((JTextField)evt.getSource()).setForeground(Color.RED); //if there is equal value set Color.RED for JTextField text
                    else{ //else set Color.BLACK
                        ((JTextField)evt.getSource()).setForeground(Color.BLACK);
            table.getColumnModel().getColumn(1).setCellEditor(new DefaultCellEditor(textField)); //set custom CellEditor
    private boolean isColumnHasSameValue(int row, int column, String testVal){
            testVal = testVal.trim().toLowerCase(); //put away UpperCase and empty spaces
            for(int i=0;i<model.getRowCount();i++){
               if(i == row){
                   continue;//skip selected row where user inputs text
               if(model.getValueAt(i,column).toString().trim().toLowerCase().startsWith(testVal)){
                    return true; //if test passed
            return false; //if there are no mathes
        }I have a question:
    It seems to me, I did not use optimal solution for JTable values testing.
    What can ty else?
    Maybe, It is better to use
    tableModel.getDataVector();And then use Pattern and Matcher ?
    Am I right?

  • How to perform TERMINATION action

    Hello experts....
    I am new to SAP... can anybody please let me know how to configure termination action and what type of infortype we will configure for Termination.Thanks in advance...........

    Hi,
    Follow the below mentuion steps:-
    1. Create an action say 'TM' at the img path mention below:-
    Personnel Management->Personnel Administration->Actions->Set up personnel actions
    2. Create action reasons also at the link below:-
    Personnel Management->Personnel Administration->Actions->Create reasons for personnel actions
    3. Add the termintaion action in the Action menu of your country:-
    Personnel Management->Personnel Administration->Actions->Change action menu
    4. Define infogroup for your termination action below:-
    Personnel Management->Personnel Administration->Actions->Define infogroups
    Usually, IT0001, IT0002, IT0014, IT0015, IT0041 are set up in the infogroup action. Also, get the requirements from your customer like which all infotype he will like to delimit.
    5. Most important is to set the Inactive status for the employee
    Go to table T529A and set the status as '0' in the employment field 'STAT2'.
    Thanks & Regards, Swapnil Mishra

  • How  to call  DYNAMIC ACTIONS

    hi experts,
          i have an subroutine for dynamice action for creating IT2006 with me.
    but i dont no where to call that subroutine can anyone plz tell me how to do this.
    where should i write perform statement.
    for eg. i want to call that action while creating /changing the record in IT0001.
    plz do ASAP.
    thanks in advance.
    vinod.

    HI,
    Go to IMG>Personnel Management>Personnel Administration>Customizing Procedures>Dynamic Actions
      Or Use table T588Z.
    Have a look at these links
    http://wiki.ittoolbox.com/index.php/Dynamic_Action
    http://www.hrexpertonline.com/downloads/Rehan%20Zaidi%20Online%20Portion.doc
    Reward points if Helpful.
    Regards,
    Manoj.

  • How to retrieve the values from a table if they differ in Unit of Measure

    How to retrieve the values from a table if they differ in Unit of Measure?

    If no data is read
    - Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
    If no quanity in result internal table
    - There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
    - - Remove the CORRESPONDING, so quantity will fill the first field adqntp1.  ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
    - - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
    * Fill the internal table
    SELECT msehi adqntp
      INTO TABLE internal table
      FROM lipso2
      WHERE vbeln = wrk_doc1
        AND msehi IN ('KL','K15','MT').
    * If required move the read quantity in the appropriate column.
    LOOP AT internal_table ASSIGNING <fs>.
      CASE <fs>-msehi.
        WHEN 'K15'.
          <fs>-adqnt2 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
        WHEN 'MT'.
          <fs>-adqnt3 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
      ENDCASE.
    ENDLOOP.
    - You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
    Regards,
    Raymond

  • How to get the data from Pooled Table T157E.

    Hi Experts,
    How to get the data from Pooled Table T157E.
    Any help.
    Thanks in Advance,
    Ur's Harsha.

    create some internal table similar to T157E and pass all data as per SPRAS.
    After that use internal table in your program as per the requirement.
    Regds,
    Anil

  • How to increas the width of the Table in OBIEE Report

    Hi ,
    I am creating a OBIEE report, the report has table and 30 column in it. When I am viewing the report in an excel file , its appearing good but the width of the table is so small if I am viewing the same in internet explorer/PDF .I dont know how to increase the width of the table. Could you please sort this issue out.
    Thanks
    Govindan P

    - you can increase the width of a column -> column format values -> Additional Formatting Options
    increase the width:
    - Report level:
    result tab -> Click on Format container of Table -> Additional Formatting Options
    u can assign value width : 500 height:.....
    - dashboard level:
    Edit options -> section -> Format section -> Additional Formatting Options
    here also u can change the width
    u can assign value width : 500 height:.....
    pls mark it helps....
    Edited by: 979481 on Feb 6, 2013 1:25 AM

Maybe you are looking for

  • Audiobook confusion – no order to how they are listed – cant find anything

    OK I have lots of audio books on my ipod. The only issue is, some of them are ones I have ripped from CD and so they have tons and tons of tracks. At first, the ones I ripped were in the music section of my library and the ones I bought from audible

  • No GUI after reboot for Oracle Linux 6 installation

    I am trying to resolve an Oracle Linux 6.2 (64 bit) installation issue. I selected Oracle Linux server default setup and after the reboot, the X-Window or KDE GUI graphical interface does not come up. Instead, I get a command line prompt. Any idea ho

  • Heat with mac book pro 15 need cooler

    i am searching for the right cooler for my mac book pro 15" can someone suggest it to me please

  • My iPhone 4 deleted the music on it by itself

    I had 7 GB of music on it and now it's gone (not all, but like 90%). I hadn't synced it for a long time, I didn't delete anything manually, my music genius is on. I was listening to my music everyday, but lately I started noticing that the number of

  • 704x480 from a DVD - Messing Me Up!

    I have a dvd that someone sent me and it shows as 704x480 resolution. When I play it on DVD Player, it is 4:3 aspect ratio. When I import it into FCP, it looks squished, as if 16x9. When I change the sequence settings to use the rectangular pixels (N