Selection of strength to call for listener table the ADF

Hello

JDev 11.1.2.4

I wrote a custom listener selection I associate with my table of the adf.

< af:table selectionListener = "#{pageFlowScope.rangePaging.singleSelectionListener}" >

It is called as expected every time except when I click on a line that is already selected. For example, you have a table with 1 row, the row is selected by default after the initial rendering. Then you click on a link that is of type int row. The selection listener is supposed to be called, but it is not. I guess the selection listener is too smart, that he is not triggered because the line is already selected.

Is there a way to force the listener to selection to be called even if the line is already selected?

Thank you

Hello

I guess you need the selection of the event initially. to do this, remove the property selectedRowKeys, then by default no line will be selected.

Kind regards

Birame

Tags: Java

Similar Questions

  • Calls for Freeway with the required forced authorization code does not work.

    Hi all!

    I have implemented a collaborative edge Expressway, seems to work fine, except for calls limited requiring a forced authorization code.

    If I connect to the local network (with Jabber, of course) I have no problem for any call restricted or unrestricted, but if I connect outside my firewall (using my expressway) I can't make tight calls, only unrestricted calls. In the jabber never complete call Office and in the jabber for android or iPhone the call drop instantly.

    TTE termination reason code is "(3) no route to the destination.» The user to call can not be reached, because the network serving the called user is unreachable.

    any idea?

    CUCM 10.5

    vcsce & vcs - c 8.2.1

    Jabber version (one more for Iphone, android, mac and windows)

    Hello

    I am facing the same issue.

    How you solved the problem?

    Kind regards

  • The use of tables of database for authentication in the ADF

    Hello

    I need to use my user table in the database for authentication in ADF (adf 11.1.2).

    I have 3 categories: agent admin and user is unique, each has its own page, logging, the application checks the type of user and directs its jsf task or the page of the jsf page flow.

    I have a user with the type attribute table

    HOW CAN I MAKE THIS PRAYER.

    Hello

    See links below.

    Whatever Fusion Middleware: Tables database user to implement authentication in the ADF

    Java / Oracle SOA blog: the use of tables of database as in WebLogic authentication provider

  • job creation for listening to the queue unique consumer

    I have the code that will allow listening on a queue for a queue of the mulitple consumer but I was wondering how to change it to a queue of each consumer. The code that I currently have for the many conusmer looks like this

    DBMS_SCHEDULER. () DEFINE_METADATA_ARGUMENT
    program name = > 'P_ToDBlocking_Implement '.
    argument_position = > 1
    , metadata_attribute = > 'EVENT_MESSAGE '.
    );
    dbms_scheduler. Enable ('P_ToDBlocking_Implement');

    DBMS_SCHEDULER. () CREATE_EVENT_SCHEDULE
    schedule_name = > 'S_ToDBlocking_Implement '.
    , start_date = > systimestamp
    , event_condition = > ' corrid'art = "NOTIFY" '
    queue_spec = > 'event_msg_q');
    Maybe I think over this evil how can I get a consumer in a queue single consumer to listen to the queue and process all queues that come in?

    Published by: user457357 on Sep 12, 2008 12:19 AM

    Makes sense. But why take away with work planned and not with a stored procedure?

    Take a look at this demo:
    http://www.psoug.org/reference/aq_demo1.html

    What features do you need not included in the demo?

  • Hello everyone. How can I make the styles for tables, I mean the table itself not the cells. A style that I can call for a table instead of copy paste an existinf one. Thanks for your help!

    And of course a table with cells embeded style styles...

    Have you tried to table styles (window > Styles > table style)?

  • call for review of the price of a global component

    Hello

    I want to call the new pricing of my component global, how should I do how it.whatever I found, it took a few or other parameters that are not available worldwide.

    Scenario:

    In my requirement, I need to remove some control elements with global components such as the droplets, processors etc.
    I expanded method removeItemFromOrder of the CommerceItemManager to meet my needs, the problem is that after the point to remove from the agenda, I need to call the new pricing (which is automatically called when we use management form, but here, this isn't the case).

    I was thinking of calling:

    getPurchaseProcessHelper () .runProcessRepriceOrder (pPricingOperation, pOrder, pPricingModels, pLocale, pProfile, pExtraParameters, pErrorHandler)

    How can I get pPricingModels, pLocale pProfile, pExtraParameters, pErrorHandler params in my global components.

    Note: I do not want to use RepriceOrderDroplet, I want to do it programmatically.

    Please suggest.

    Thank you
    ~ Abdelali

    This can help you.

    ================================================================

    DynamoHttpServletRequest dynReq = ServletUtil.getCurrentRequest ();
    Basket of OrderHolder = dynReq.resolveName (getShoppingCartCompPath ()) (OrderHolder);
    Profile = profile (Profile) dynReq.resolveName (getProfilePath ());
    The OrderManager orderManager = (OrderManager) dynReq.resolveName (COMPPATH_ORDERMANAGER);
    Locale localeVal = getLocale2reprice (shoppingCart.getCurrent (), dynReq);

    PricingModelHolder userPricingModels = (COMPPATH_PRICING_MODELS) dynReq.resolveName (PricingModelHolder);
    Card parameterMap = new HashMap ();
    parameterMap.put (PRICING_OP, ORDER_TOTAL);
    parameterMap.put (PRICING_MODELS, userPricingModels);
    parameterMap.put (LOCAL, local);
    parameterMap.put (PROFILE, profile);
    parameterMap.put (ORDER, shoppingCart.getCurrent ());
    parameterMap.put (COMPNAME_ORDERMANAGER, orderManager);

    PipelineResult result = getPurchaseProcessHelper () .getPipelineManager () .runProcess (repriceChainIdName, parameterMap);

    {If (pipelineResult! = null & {pipelineResult.hasErrors ())}
    Subject to errors [] = pipelineResult.getErrors ();
    for (object currError: error) {}
    you would collect error here; that can be passed to the Summoner
    }
    }

    -------

    getLocale2reprice private locale (order orderVal, DynamoHttpServletRequest dynReq) {}
    Locale locale2reprice = null;
    String localeVal = orderVal.getLocale ();
    If (localeVal == null) {}
    RequestLocale reqLocaleVal = dynReq.getRequestLocale ();
    If (reqLocaleVal! = null & reqLocaleVal.getLocaleString ()! = null) {}
    localeVal = reqLocaleVal.getLocaleString ();
    }

    If (localeVal! = null) {}
    locale2reprice = new local (localeVal);
    }
    }

    Return locale2reprice;
    }

    ================================================================

    NOTE: the respective components of profile & order will be charged for the connected client.
    So dynReq.resolveName(profile/shoppingCart) get good values in the global scope pane.

    Published by: user1697061 on May 13, 2012 15:59

  • Framework for logging to the ADF

    HIE

    For my ADF application, what are the options provided by Oracle to make the registration to be able to debug production env later?

    Vik

    http://database.in2p3.fr/doc/Oracle/Oracle_Application_Server_10_Release_3/Web.1013/b25947/web_testdebug004.htm

    hope this helps... !

  • Get all the current statements for a table

    Hi all

    I would like to know if its possible to retrieve all select, insert, delete, instructions update for a table at a given time or for a period of approximately 10 seconds.

    as something like that

    Select username, ORDER MACHINE, SQL_ID, SQL_EXEC_START session $ v where sql_id in)
    Select sql_id in v$ sql where sql_text like '% MYTABLENAME %');

    I know there are several requests for this table, but with this query, I see only my own queries!
    Why?

    Perhaps the best way is using audit or FGA. If you are looking for in the library cache, older statements do not exist. Depends or you install Grid Control/DB Console can help too but if you have the default values you have only one month.

    HTH
    Antonio NAVARRO

  • View the calls for papers

    I'm content Chair EMP/BI for the Kscope16 Conference in Chicago. I would like to publish a call for contributions in the concerned areas.

    It of nothing that specifically prohibits this as far as I can see in the rules, FAQ or rules of conduct documents. The moderators have no problem with that? I don't really want to have my deleted messages simultaneously in eight areas and become a topic of conversation in the mod space...

    I do not think that a post from me on OTN involves any kind of support of the Oracle, but for what is interesting (and for those who don't know) Kscope is a 100% Oracle conference that enjoys the support of several "branches" of Oracle, OTN no less.

    I post here in order to achieve the OTN community managers (moniquevdb-Oracle, Laura Ramsey-Oracle and so on) for an 'official' answer and not to interview all the members, and very respectfully, I ask that someone don't not corresponding to the old description that wants to offer an opinion in a separate discussion. I'm sure that won't work.

    Thanks for your time.

    Product areas would not be the right place for this, but we can probably find a reasonable way to publish a call for contributions in a general area. I added you as a friend if you can me message directly. In the meantime I'll connect with Hocinebelatreche-Oracle and Oracle-valeriesimpson to make a recommendation.

  • Listen to the music of background on phones (UC540)

    Hello world

    I have a client who has updated from an old Nortel Norstar to a UC540 system - staff used to listen to music on hold source through their phone on the sets of Nortel speakers, and they want to do this on the UC540 with the SPA phones.

    I saw a few old posts here asking this question even that have been left unanswered - I thought that I would ask the question to see if there was any new development.

    The music source is just a radio plugged into the external port of the Ministry of HEALTH.

    Please let me know if anyone has suggestions - or if it's a certain "can't do".

    Thank you.

    Brent

    No changes in the situation, it has not supported.

    Unless you are willing to do actually a call to listen to the Health Department.

  • Objects of the class defined by the user for an element of the ADF (button, inputfield)

    How to set a class object defined by the user for objects of the ADF?
    My requirement is that when I make a change to the object of the class, it should get reflectected to all instances on my page.
    For example:-I'll have the class object clsInputField, and all my fields entry in my pages are based on this object. So when I change clsInputField it should get reflected to all my controls based on this class object.
    Help, please!

    It's the classic use of a library of component declarative ADF.
    Put your postal code entry filed in an adf library, as well as any other code you will need to manage the entry, pack it as a library of the adf and reuse the item (and its formatting, validation) on each page as you like.
    If you change the component changes are global to all instances of the component.

    Take a look at this demo

    Timo

  • ADF Code corner #50 - tree selection listener Table do not save the State of the

    Hello world

    With the help of JDev Studio Edition Version 11.1.1.3.0

    I have a table of tree using the earphone generic selection based on the excellent article by Frank Nimphius during synchronization of forms for entries of tree node edit. http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/50-synchromize-form-TreeSelection-169192.PDF

    My problem:

    My selectedNodeRowKey and selectedNodeRowIterator variables are turning to null out the listener.

    Process and code:

    I select a node. It called the selection event of onTreeSelect, which in turn saves the node key and the iterator in the same support bean backingBeanScope value.
          DCIteratorBinding _treeIteratorBinding = null;
          _treeIteratorBinding = treeBinding.getDCIteratorBinding();
    //Frank's code above ...
    
          this.selectedNodeRowKey = nodeBinding.getRowKey();
          for (Object opaqueFacesKey: treeTable.getSelectedRowKeys())
          {
            treeTable.setRowKey(opaqueFacesKey);
            this.selectedNodeRowIterator =
                ((JUCtrlHierNodeBinding) treeTable.getRowData()).getRowIterator();
          }
    
          System.out.println();
          System.out.println("Update Key: " + this.selectedNodeRowKey);
          System.out.println("Update Ite: " + this.selectedNodeRowIterator);
    
    //Frank's code resumes ...
          Row[] found =
            this.selectedNodeRowIterator.findByKey(this.selectedNodeRowKey, 1);
    Then, I click on a button that calls an actionListener in the same bean support.
      public void onButtonRemove(ActionEvent actionEvent)
      {
        System.out.println("Remove button pressed.");
    
        BindingContainer bindings = getBindings();
    
        System.out.println(this.selectedNodeRowKey);
        System.out.println(this.selectedNodeRowIterator);
    
        OperationBinding operationBinding =
          bindings.getOperationBinding("deleteChildren");
        operationBinding.execute();
        System.out.println("Remove complete");
      }
    This gives me the result
    Update Key: oracle.jbo.Key[112 ]
    Update Ite: oracle.jbo.server.ViewRowSetImpl@aa641d
    bos.model.queries.TbomView
    
    Remove button pressed.
    null
    null
    Remove complete
    What happened to my values and node iterator? I guess it has something to do with a scope or something similar to C++ through reference instead of the value. The strange thing is, the default MakeCurrent onSelection the auditor's work, but use this generic listener and values change.

    Published by: LovettWB on December 21, 2010 14:51

    Hello

    You can try setting the bean to the session scope? I guess it works, which brings me to my main point. If the managed bean is used in a stubborn workflow (which I assume you are referring to the use of fragments of page jsff), make sure that it is also defined in the workflow definition and not adfc-config. Personally, I like to feel it is best to set the bean managed in the metadata scopes, in which it is used. So could already solve the problem

    Frank

  • Problem with "select * from table" for dynamic IN the list

    I have a 'for loop' based a query that does not work. The query is supposed to return the name of the table, the data type and the name of the column in the columns poses a number of name filters. The problem I have is when I run the query into a TOAD with:

    schema_list value SCOTT, MED and the clause of 'in' as ' to (select * from table (DATAPUMP_UTIL.in_list_varchar2 (:schema_list))))»

    The query returns the expected lines.

    When I have it in my code as shown below it returns no rows. I don't know what hurts me, but any help would be great! I'm on Oracle 11.1.0.6.0.
    PROCEDURE export_schema_ondemand (schema_list VARCHAR2, encrypt_file NUMBER default 0, mask_sensitive_data NUMBER default 0) IS  
        ...
        schema_list_t := my_package.in_list_varchar2(schema_list);
        ... 
        for c1 in
           (
            with ok_to_mask as (
            select 
                owner,
                table_name, 
                column_name
            from   
               all_tab_columns
            where
                owner in (select * from table(schema_list_t))
            minus
            (SELECT 
                c.owner,
                p.table_name,
                cc.column_name
            FROM 
                all_cons_columns cc, 
                all_constraints p,
                all_constraints c
            WHERE 
                c.owner in (select * from table(schema_list_t))
                c.constraint_type = 'R'
                AND p.owner = c.r_owner
                AND p.constraint_name = c.r_constraint_name
                AND cc.owner = c.owner
                AND cc.constraint_name = c.constraint_name
                AND cc.table_name = c.table_name
            UNION ALL
            SELECT 
                c.owner,
                cc.table_name,
                cc.column_name
            FROM 
                all_cons_columns cc,
                all_constraints p,
                all_constraints c
            WHERE
                p.owner in (select * from table(schema_list_t))
                AND p.constraint_type in ('P','U')
                AND c.r_owner = p.owner
                AND c.r_constraint_name = p.constraint_name
                AND c.constraint_type = 'R'
                AND cc.owner = c.owner
                AND cc.constraint_name = c.constraint_name
                AND cc.table_name = c.table_name))
            select 
                atc.table_name as mask_tab, 
                atc.column_name as mask_col, 
                atc.data_type as mask_type
            from   
                all_tab_columns atc,
                ok_to_mask otm
            where
                atc.owner = otm.owner
                and atc.table_name = otm.table_name
                and atc.column_name = otm.column_name
                and atc.owner in (select * from table(schema_list_t))
                and 
                (
                atc.column_name like '%LAST%NAME%'
                or atc.column_name like '%FIRST%NAME%'
                or atc.column_name like '%NAME_LAST%'
                or  atc.column_name like '%NAME_FIRST%'
                or  atc.column_name like '%ENAME%'
                or atc.column_name like '%SSN%'
                or atc.column_name like '%DOB%'
                or atc.column_name like '%BIRTH%'
                )
                and atc.column_name not like '%PHYSICIAN_%'
                and atc.column_name not like '%DR_%'
                and atc.column_name not like '%PROVIDER_%'
                and atc.column_name not like 'PRESCRIBER_%'     
           )
          loop
             ...
    
    FUNCTION in_list_varchar2 (p_in_list  IN  VARCHAR2)  RETURN VARCHAR2_TT is
    
        l_tab   VARCHAR2_TT := VARCHAR2_TT();
        l_text  VARCHAR2(32767) := p_in_list || ',';
        l_idx   NUMBER;
            
    BEGIN
        LOOP l_idx := INSTR(l_text, ',');
            EXIT WHEN NVL(l_idx, 0) = 0;
            l_tab.extend;
            l_tab(l_tab.last) := TRIM(SUBSTR(l_text, 1, l_idx - 1));
            l_text := SUBSTR(l_text, l_idx + 1);
        END LOOP;
    
        RETURN l_tab;
            
    END in_list_varchar2;
    Published by: BluShadow on June 29, 2011 16:11
    addition of {noformat}
    {noformat} tags.  PLEASE READ {message:id=9360002} TO LEARN TO DO THIS YOURSELF.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Hello

    If you have a query that works well when you launch it directly, and that breaks down when you start with a procedure, this can be a problem of privileges.

    Points of view ALL_ * shows only the objects you have access, but using a procedure, privileges must be granted directly to the user and not with a role.

    You should check the SELECT privileges to your user through roles and give them directly to the user.

    Hope this will help.

    Sylvie

  • How can I default first line below the selected line in the table of the adf

    Hello

    I use Jdeveloper 11 g,
    I created Adf quick query with table and changed selectionListener table as #{CustRMMap.onRMGroupNameChange}.
    and when I click on find fast query no row is selected.
    I want the first row to be selected / highlighted by default when I click search.

    Patel Imran

    You can also set an attributeValue in pagedef.xml
    bind this attributeValue with column of your table. This sets the value of the selected line to the variable attruibute.
    Will now link this with your desired component attributeValue.
    Put partial trigger on the component that should display this value.
    This will save you to write custom code and use the default table selection listener property, which marks the first default line.

    Apart from this, if you want to govern the first default line of managed bean selection use this code...

    + _Table = selectionEvent.getSource ((richeTableau)) richeTableau; + *
    + / / the model in the Collection is the object that provides the structured data.
    + / / for rendering table +.
    + TableModel CollectionModel = table.getValue ((CollectionModel)); + *
    + / / the ADF object that implements the CollectionModel is JUCtrlHierBinding. IT +.
    + / /is wrapped by the CollectionModel API.
    + JUCtrlHierBinding adfTableBinding = tableModel.getWrappedData ((JUCtrlHierBinding)); + *
    + / / Acess the iterator ADF, binding that is used with the binding table ADF +.
    + DCIteratorBinding tableIteratorBinding = adfTableBinding.getDCIteratorBinding (); + *

    + / / the role of this method is to synchronize the table feature selection +.
    + / / with the selection of the model of the ADF +.
    + Object selectedRowData = table.getSelectedRowData (); + *
    + / / cast of JUCtrlHierNodeBinding, which is the subject of the ADF that is +.
    + / line/a +.
    + JUCtrlHierNodeBinding nodeBinding = selectedRowData (JUCtrlHierNodeBinding); + *
    + / / get the key of the node binding line and set it as the current line in the +.
    + / / iterator +.
    + Key rwKey = nodeBinding.getRowKey (); + *
    tableIteratorBinding.setCurrentRowWithKey (rwKey.toStringFormat (true)); + *

    and another way on the right is a custom like this code:

    + public void setDefaultRow (int count) {/ / call this method your method of selection custom, rom pass the line of the line to select index. count = 0, will select first row + *}

    + try {+ *}
    Object oldRowKey = tblMag.getRowKey (); *
    + try {+ *}
    This.

    .getSelectedRowKeys () .clear ();
    *
    * +} catch (System.Exception e) {+ *}
    System.out.println (e.getMessage ()); *
    +}+
    This..setRowIndex (count);
    *
    RKS RowKeySet =. getSelectedRowKeys();
    *
    (RKS). Add(. getRowKey());
    *
    RKS =. getSelectedRowKeys();
    *
    +.setRowKey (oldRowKey); +

    * +} catch (System.Exception e) {+ *}
    System.out.println ("error:" e.getMessage ()); + *
    +}+
    +}+

    Hope this helps

    Concerning
    Maryline Roussel

  • Listen and call pick-up during the recording of the voice message.

    Is it possible in the 4.0 unit (4) with the Callmanager 4.1 integration (2) to implement the following feature?

    A caller call out for the recipient, but the recipient does not meet the call. The callmanager before the call to the voice mail pilot unit, but when the unit starts recording the message to the recipient can hear it during the registration phase and if it then takes the phone tracks back to his phone call, and they can start the conversation. If the recipient picks up the phone during the recording, the unity server automatically removes the voice message. It is the same functionality that is old voice message recording devices in the PSTN.

    This feature is planned for version 4.2 to come next year at the beginning - it is called 'message monitor' - you can listen to voicemail as they are saved and select to pull this caller out of voice mail and talk to them live if you wish.

Maybe you are looking for