How to identify the current row in the table of selectOneChoice compact mode

Hello

I have an af:table in which one of the columns is selectOneChoice in compact mode.  When you select the point in this selectOneChoice, valueChangeListener fires and do some work based on this line.  However, my problem is that it is difficult to identify the current line, because the selectOneChoice is in compact mode.  If the selectOneChoice is not in compact mode, when the user selects an item in selectOnechoice, af selectionListener: table is triggered to identify the current row.  But if selectOneChoice is in compact mode, user has the option to choose from selectOneChoice and valueChangeListener fires before af selectionListener: table is triggered.  Therefore, not able to identify the current row.

As a workaround is not so perfect, I tried to put the line identifier (in my case it is DetailSeq) in shortDesc and do it from there.  But users complain seeing this not user-friendly in shortDesc/hintText.  I tried to put DetailSeq as the id of the selectOneChoice, but it works not (cannot get the selectOneChoice in the table Id)

< af:table >

....

< af:column = 'Action' id headerText = "c5" width = "30" >

< af:selectOneChoice id = "has$ {row.» AutoSubmit DetailSeq}' = 'true' valueChangeListener = "#{viewScope.backing_requestOverview.onSelectAction}" label = "Action" mode = "compact" shortDesc = "#{row." " DetailSeq} ">"

< f: selectItems value = "#{backing_requestOverview.requestActionsMap [row." StatusUid]}"id ="si333"/ >

< / af:selectOneChoice >

< / af:column >

....

< / af:table >

In the valueChangeListener:

{} public void onSelectAction (ValueChangeEvent valueChangeEvent)

RichSelectOneChoice actionChoice = (RichSelectOneChoice) valueChangeEvent.getComponent ();

LOGGER.info ("Short Desc:" + actionChoice.getShortDesc ());

LOGGER.info ("Id of the component:" + actionChoice.getId ());

}

Any advice?

Thank you

-Mina

Have you tried the setPropertyListener?

Timo

Tags: Java

Similar Questions

  • How to identify the primary Parent of a shared node?

    We have a property that is set to Local defined, inherit,

    Suppose the 'Color' property and currently is the behavior in DRM

    Parent A - blue

    Child 1 - blue (inherited from Parent)

    Child 2 - color blue (inherited from Parent)

    Child 3-color blue (inherited from Parent)

    Parent B - Red

    Child 3 ~ part 1 - red color (inherited from Parent B)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    The customer has improved the requirement so that in the case of shared members 'color' is inherited from the primary parent like the example below.

    Parent B - Red

    Child 3 ~ action1 - blue (inherited from "Primary" Parent A)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    I guess I'm going to need a new property like 'Primary colors' and I need to write a formula to calculate the color of base on the primary parent.  However, I do not know how to identify the "main Parent" a shared node we use version 11.1.1.2 N-Tier

    I'm looking for suggestions on how to calculate the value of the property you want.

    Any help will be greatly appreciated.

    Hello

    You can create a new property derived like u said and use instead of the property defined in your exports or anywhere where you have to refer to the color. The property set can be used just to take the user input.

    The new derived property should be a logic like that-

    If (PropValue (Core.SharedFlag_MDM),

    NodePropValue (PropValue (Core.PrimaryName_MDM), Custom.Colour)

    PropValue (Custom.Colour))

    Now, 11.1.1.2 I lost the memory of how the properties are referred to as - if they are just used with their names or namespaces is mentioned (Core. , custom.). You can change the formula accordingly to view properties

    Thus, if SharedFlag_MDM is True, then it will take the value of the property to its primary node, which is inherited from the primary parent and if the shared flag is False then it is just a varValeurProp on the node itself.

    I hope that answers you.

    Thank you

    Denzz

  • How can identify the real space in my SGPT123 Tablet?

    Hello

    How can identify the real space in my Xperia Tablet? I can see only 10.0 GB, if suppose has 16 GB, where's the rest?

    A space is medical, the Android operating system and recovery Partition.

  • C: drive is running out of space, even if I moved everything I could to the E: drive. How to identify the "space Eater"?

    I moved all my data to the other disk. I was installing new programs on the other disk. Yet, the space on drive C: (37 GB) keeps becoming 'used '. Free space now is 2%. How to identify the "space Monster" which takes more and more the training?

    37GB is size sorry for C:.  My minimum recommendation for everything that came out at the time of and after Windows Vista is 60 GB.

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

  • How iterate/identify the screens of the application stack

    Hi all

    1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.75
    2 opportunity BB JDE 4.7

    3. the request is:

    In my application I have screens showns one based on the click number, how can I display no matter which screen every time I required.i tell how fetch/identify the battery and display.

    Thanks in advance

    Ratna

    I donno what are your exact needs...

    If you want to load screens on selcting a menuitem from the GUI go to create menuItem.

    In the case depends on certain conditions of your application then just use

    try
      {
           UiApplication.getUiApplication().pushScreen(TestScreen);
      }
    
    catch(Exception e)
    {
    // PUSH screen fails because the screen was already pushed.
    // remove the screens from top of the required screen.
    while(UiApplication.getUiApplication().getActiveScreen() != TestScreen)
    
      {
         UiApplication.getUiApplication().popScreen();
      }
    }
    
  • How to identify the virtual copies (in my records) that have already been deleted a collection

    Hello!

    I keep looking for an answer to this anywhere on the web and 3 books, but can't find the answer...

    How to identify the virtual copies (in my records) that have already been deleted a collection?

    Here's the workflow, and where I'm stuck.

    1. I chose a picture and put it in a collection.

    2. I did a whole bunch of virtual photos in the collection copies that I tried different modifications.

    3. after and during a lot of changes, I have a lot of virtual copies removed from my collection because I decided against the changes after doing some comparisons.

    4. when I went the folders to select my next picture to work away and so to add to the collection, I discovered that each of my virtual copies was in the original folder, even if I had deleted from my collection.

    5. I really don't want these virtual copies deleted to be in my home folder.  They were virtual copies of trial and error and I wanted them to really just be thrown out.

    6. how to identify these virtual copies removed-from-the-collection in my folder?  File names all look the same, and besides, I want to be absolutely certain that I have selected the right ones.  Some of the changes were very minor and would be difficult to see without laboriously go through them one by one.

    Thank you very much!!

    Anne

    No easy answer on fixing the mess other than an individual inspection of the virtual copy can't watching the Images/Edit history to determine which ones that you no longer need.

    But to help prevent the problem in the future: when you are working from a collection, you must use ALT + return back to remove a copy of Photo or virtual catalog. With just the key DELETE or BACKSPACE only deletes the photo from the collection.

  • How to identify the iSCSI nodes?

    How to identify the iSCSI nodes?

    with IQN

  • How to identify the fonts used in text format?

    How to identify the fonts used in text format?

    Hi DSB.

    Open the document in Reader, go to the menu file-> properties, then click on the tag are. You will see a list of the fonts used in the document.

    Another option is to copy the text and paste it into MS Word, where you can simply move your mouse over the text to display the name of the font.

    Kind regards

    Nicos

  • How to identify the Protocol of network storage using PowerCli

    Hi all

    Does anyone know how to identify the network storage protocol using Powercli? If you do could you please point me in the right direction and appropriate controls to be used.

    Thank you.

    See you soon

    With the Get-EsxCli cmdlet, you get to many of the features esxcli.

    Something like that

    $esxcli = Get-EsxCli -VMHost MyEsx$esxcli.storage.core.path.list()
    

    You can use Select-Object to choose the specific properties of the returned objects.

    For example

    $esxcli = Get-EsxCli -VMHost MyEsx$esxcli.storage.core.path.list() | Select RuntimeName,Transport
    
  • How to identify the serial number for the instalation?

    How to identify the serial number for adobe photoshop cs5?

    http://helpx.Adobe.com/x-productkb/global/find-serial-number.html

  • How to identify the primary key relationship, key and forien

    Hello

    I wanted to know for a given table, how to identify if there is no child table. I could get details of the constraint in ALL_CONSTRAINTS or DBA_CONSTRAINTS, but I will not be able to determine who his children tables.
    If there is no other available table, it's possible to identify the parent and child tables so please please let me know.

    I know that we can check through creation of Table (DDL) script, but I need to understand programmatically. Is sort available?

    Thanks in advance.

    Kind regards
    SK

    SK says:
    Hello

    I wanted to know for a given table, how to identify if there is no child table. I could get details of the constraint in ALL_CONSTRAINTS or DBA_CONSTRAINTS, but I will not be able to determine who his children tables.
    If there is no other available table, it's possible to identify the parent and child tables so please please let me know.

    I know that we can check through creation of Table (DDL) script, but I need to understand programmatically. Is sort available?

    use

    query using R_CONSTRAINT_NAME where CONSTRAINT_TYPE = 'R '.

    SQL> desc user_constraints
     Name                            Null?    Type
     ----------------------------------------- -------- ----------------------------
     OWNER                                  VARCHAR2(30)
     CONSTRAINT_NAME                  NOT NULL VARCHAR2(30)
     CONSTRAINT_TYPE                        VARCHAR2(1)
     TABLE_NAME                       NOT NULL VARCHAR2(30)
     SEARCH_CONDITION                        LONG
     R_OWNER                             VARCHAR2(30)
     R_CONSTRAINT_NAME                        VARCHAR2(30)
     DELETE_RULE                             VARCHAR2(9)
     STATUS                              VARCHAR2(8)
     DEFERRABLE                             VARCHAR2(14)
     DEFERRED                             VARCHAR2(9)
     VALIDATED                             VARCHAR2(13)
     GENERATED                             VARCHAR2(14)
     BAD                                  VARCHAR2(3)
     RELY                                  VARCHAR2(4)
     LAST_CHANGE                             DATE
     INDEX_OWNER                             VARCHAR2(30)
     INDEX_NAME                             VARCHAR2(30)
     INVALID                             VARCHAR2(7)
     VIEW_RELATED                             VARCHAR2(14)
    
    SQL> 
    
  • How to identify the expressions of folklore in the lot while reading File adapter

    Hello
    I have a bepl process to read data from a batch of 100 records text file and write in an Oracle EBS interface table.
    After the completion of the above, I have to call a partner link.
    Problem here is that, how to identify the expressions of folklore, so that I could call my link partner in BPEL.
    How do I get there? Any help is greatly appreciated.

    Hello

    You can implement a separate process, say FileNotificationProcess, you call the link partner, based on the batch Manager wsdl to $ORACLE_HOME/bpel/system/xmllib/jca/BatchManager.wsdl. This new process would be notified of different States of the file reading activity:
    # onBatchReadStart - indicates when a file is started to read
    # onBatchReadComplete - indicates when a file is done playing
    # onBatchReadFailure - tells when a record cannot be processed by the infrastructure of adapters.
    In your case, you would call the partnerlink when a notification of "onBatchReadComplete" is sent.

    In your main process to the file adapter, add the below property, so that the file adapter would inform the new process of the different stages of the processing of batch file.

    bpel://default|FileNotificationProcess
    

    This is described in detail in BPEL best practices guide page 3-18 http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf and the article excellent blog of anthony at http://blogs.oracle.com/reynolds/2008/06/more_on_batch_processing_in_bp.html.

    Kind regards
    Yohanna.
    http://www.prshanmu.com/articles/

  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

  • How to get the computer out of safe mode of power

    How to get the computer out of safe mode of power

    Hello jeffg56,

    I understand that you want to leave safe mode, follow the steps below:

    Exit Safe Mode:

    1. Click Start, type msconfig in the search field and press ENTER to open the System Configuration window.

    2. On the general tab of the System Configuration window, select Normal startup, and then click OK.

    I hope this has been helpful, please let me know if you need more help.

    Thank you

  • How to clear the table dhcp clients

    Does anyone know how to clear the Table of Clients DHCP?

    I have a WRV54G.

    Concerning

    I understand this is a very old post, but since I found it when I was looking for the same answer in 2009, I thought go ahead and give my $.02 worth.

    I have a different router, so it may not be present in your.

    I use a version of the firmware WRT54GLwith 4.30.7 and finally found on the status under "Local network" page a link to the DHCP table. You can click on that and delete existing IP addresses.

Maybe you are looking for