Please::Getting Data Through Setting Focus On Row in ADFReadOnly Table ? ??

Hi All ;
By clicking on tableSelectOne on Row in ADFReadOnly I can Get All of the rest of the Row Data in inputtexts ;
I want To Do The Same Action not By clicking on tableSelectOne but by clicking on any Cell On This Row , Can any body help by example ??
Regards;

Abu,
here's a website full of such hints
http://www.oracle.com/technology/jsf/index.html
your usecase is
http://vgoldin.blogspot.com/2007/01/Weing-aftableselectone-by-clicking.html
Frank

Similar Messages

  • Using Item UIDRef, can we get data as set in "text on path option" dailog box for each "text on path" item

    Hi all,
    I have a Item UIDRef but facing a problem for getting data as set in "text on path option" dailog box for each "text on path" item.
    What I did:
    - Getting the  pointer "IMainItemTOPData" using item UIDRef as
      InterfacePtr<IMainItemTOPData> mainItemTOPData(shapesUIDRef, UseDefaultIID());
    - This interface has the method GetTOPOptionData () which return ITOPOptionsData pointer
    - But SDK don't have "ITOPOptionsData" class implementation.
    Second Approch:
    - Used "ITextOnPathSelectionSuite" and getting the correct result for Desktop plugin.But I want the correct result in server plugin also.
    Anyone who has an idea how to get this using UIDRef, please let me know.
    Regards,
    Jitendra Kumar Singh

    Hi Pulse,
    Unfortunately, Flex doesn't currently support text on a path. However, I binged it and found this:
    http://blog.tsclausing.com/post/49
    That might be useful.
    -Adam

  • How to identify date & time of insertion of rows in a table

    Hi,
    Is it possible to identify the date & time of insertion of rows in a table?
    for example:
    Table name: emp
    I have rows like this
    emp_code name dept
    pr01 ram edp
    ac05 gowri civil
    pr02 sam pro
    i want to know the date and time of the insertion this( ac05 gowri civil).
    Could you please help me.....
    Thanks in advance....

    psram wrote:
    sorry for the confusion. I dont want to store date and time. I said that for example only.
    I have table which consists of thousands of rows. I want to know the insertion date & time of a particular row.
    Is it possible?So, if I have a table that stores a load of employee numbers, do you think I could get the database to tell me their names?
    If you don't store the information, you can't query the information.
    Ok, there are some dribbs and drabbs of information available from the back end of the database via the SCN's, Archive Logs etc., but those sort of things disappear or get overwritten as time goes by. The only way to know the information it to ensure you store it in the first place.
    So, in answer to your question, No, there isn't a true and reliable way to get the data/time that rows were inserted into the table, unless you have chosen to store it alongside the data.

  • Updating a variable based on checking expiration date against now() in each row of a table

    I’m using Coldfusion 9,0,0,251028 on Windows 7 64-bit, with a Microsoft Access 97 database.
    I’m trying to create a query which loops through all the rows in a table and checks if the current date is later or earlier than the expiration date. 
    If the expiration date column is earlier than now(), it sets the column “is_current” to 0, which is a variable that controls whether or not a message displays on a different page(breakingnews.cfm). 
    The column that has the expiration date is “exp_dat” in the table “news”. The query I have so far is:
    <cfquery name="expire" datasource="#db#">
    update news
    set is_current = 0
    where exp_dat < now()
    </cfquery>
    What this ends up doing is filtering out the expired items correctly, but once a new row is inserted, the previous items(which haven’t expired yet)
    are still having the “is_current” column set to 0.
    The query is cfincluded on the page the messages are supposed to display on (breakingnews.cfm). 
    How can I get the query to loop over each row every time to check if the now() is earlier or later than “exp_dat” without setting all the other row’s “is_current” to 0?

    Two things:
    1 - A query will never affect rows you haven't told it to. Therefore if new rows have the is_current set to 0, then it's because you're either setting it so in your insert statement or you've set a default value on the column. Just make sure you set the column to 1 when you insert the new row.
    2 - Why are you doing this at all? Say you run your update query (which is relatively intensive) a millisecond before one expires, it'll still be shown on your page. Why are you not just doing "SELECT * FROM mytable WHERE expiration_date > now()"?
    Obviously use cfqueryparams, but that's just an example. It seems at the moment all you're doing is storing out-of-date data in a database and causing yourself a lot more work and overhead.

  • How to set number of Rows of a table to be displayed based on user action?

    Hi Experts,
    I am getting data into the table. But only 5 records are displayed default. I want it to be a user selection.
    If user wishes to see 10 records, then first 10 records should get displayed. If user selects 'n' records then 'n' records should get displayed..
    How to achieve this?
    Regards,
    Yugesh A.

    hi Yugesh ,
    1 create  a input field UI
    2 bind its value property  to a attribute
    3 suppose ca_check attribute ( type string ) under node cn_check is binded
    read this in ur doinit of the view
      DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
      DATA ls_cn_check TYPE wd_this->element_cn_check.
      DATA lv_ca_check LIKE ls_cn_check-ca_check.
    * navigate from <CONTEXT> to <CN_CHECK> via lead selection
      lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
    * get element via lead selection
      lo_el_cn_check = lo_nd_cn_check->get_element(  ).
    * get single attribute
      lo_el_cn_check->get_attribute(
        EXPORTING
          name =  `CA_CHECK`
        IMPORTING
          value = lv_ca_check ).
    4 nw for  ur table , make a another context attribute of type either string or I , say attr1
    bind its visiblerowcount property of table to attr1
    5 make a attribute in ATTRIBUTES tab of type string , say attribute
    set its value to lv_ca_check in doinit itself
    wd_this->attribute = lv_ca_Check
    6 nw in the method , where u need to validate how m,any rows user enter or doinit itself , set attr1 to the value of that attribute created under ATTRIBUTES tab ( named attribute)
    DATA : lv_count type string .
    lv_count = wd_this->attribute
    7 nw its very simple , set attr1 to lv_count , as it contains the count of the number which has entered in the input field
    DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
      DATA ls_cn_check TYPE wd_this->element_cn_check.
      DATA attr1 LIKE ls_cn_check-ca_check.
    * navigate from <CONTEXT> to <CN_CHECK> via lead selection
      lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
    * get element via lead selection
      lo_el_cn_check = lo_nd_cn_check->get_element(  ).
    * set single attribute
      lo_el_cn_check->set_attribute(
        EXPORTING
          name =  `attr1`
          value = lv_count ).
    I hope it shud help
    proceed like these , u wud be able to achieve the desired functionality
    regards,
    amit
    Edited by: amit saini on Oct 20, 2009 1:12 PM

  • Filter and sorting on table when getting data through store proc

    Hi All,
    I am using JDeveloper 11g and trying to implement a table which gets its data from a result set returned by a store procedure. The store procedure is using joins to fetch data from multiple oracle tables. I am able to display the data by binding result set element to each columns of ADF table, but sorting and filtering is not working on this, I have checked the chek box while creating table to make it sortable and filtering.
    Please help on this issue. How can we implement filtering and sorting in this case?
    Thanks in advance
    Saurabh agarwal

    Hi,
    I use managed bean directly to access data. My back end returns me a map with the values and these values are then mapped to columns.
    Can you please suggest me any link or example where this model supporting filter is used.
    Thanks
    Saurabh

  • Please walk me through Setting Up my KORG R3 synth with LOGIC?

    Recently got the Korg R3 Keyboard for my birthday, but i'm having trouble getting it to work in logic.
    i have a mac book pro and i'm currently working on logic 9.
    I've been scouring the internet to find a comprehensible step by step set up to begin recording with this keyboard in logic, but have come up empty handed.
    i would really appreciate if someone could tell me how to set this up.
    Thank You
    P.S.
    This keyboard can supposedly hook up to my computer by simply using a USB connection. Preferably i would like to set it up this way but honestly i am just desperate to start recording this baby into logic. thanks again for the help.

    Ok, you don't say anything about your audio interface, so i'll assume you don't have any. Your R3 can only transmit and receive Midi data to Logic through the USB interface, not audio. So, you can either control Logic own synths and hear them through your laptop headphone. For that you'll need to create Software Instruments tracks. If you want to control the R3 own sounds, you'll need to create External Midi tracks.
    But you'll only hear the R3 through its own outputs or headphones. In this way, you can only play 2 sounds since the R3 is bi- timbral. If you want to hear your R3 through Logic's mixer, you must plug its audio outputs in your laptop audio inputs and create an audio input object and select your laptop input as the input for this object. This way, you can mix the R3 audio signal with the audio signal of Logic "internal" synths. You might run into a ground loop problem by doing this, though. You'll have to RTFM from there...

  • Regarding getting data through network...

    Hi All,
    The program code I have given below is hanging and not even raising any exception, not even timeout, why I could not understand. Please Help...
    Example URL: http://www.mymortgagepros.com
    Please try this code on this URL, I am getting problem on this URL, Some Urls whereas are working perfect...
    public String getBufferedData(String str) {
    URL url = null;
    String line = null, body = null;
    InputStreamReader in = null;
    BufferedReader buffer = null;
    URLConnection myConn = null;
    StringBuffer sb1 = new StringBuffer("");
    try {
         url = new URL(str);
         myConn = (HttpURLConnection)url.openConnection();
         myConn.setRequestProperty("User-agent","");
         buffer = new BufferedReader(new InputStreamReader(myConn.getInputStream()));//*****
         while ((line = buffer.readLine()) != null) {
         System.out.println("We are here3 in loop...");
         sb1.append(line);
         buffer.close();
         body = new String(sb1);
    }catch(MalformedURLException mx) {
         System.out.println("MalformedURLException ");
         System.out.println(mx.getMessage());
    }catch(IOException ix) {
         System.out.println("IOException ");
         System.out.println(ix.getMessage());
    }catch(Exception ex) {
         System.out.println("Exception ");
         System.out.println(ex.getMessage());
    }finally {
         try {
         if(myConn != null)     myConn = null;
         }catch(Exception e) {
    System.out.println("Exception in Finally");
    System.out.println(e.getMessage());}
    return body;
    Thanks in advance...
    Srinivas P.

    Hi
    You Must have a listener for your comm port e.g
    private class CommListener implements SerialPortEventListener{
    case SerialPortEvent.DATA_AVAILABLE:{
    while(true){
    try{
    ch = is.read();
    if(ch==-1)
    break;
    buf.append((char)ch);
    }catch(IOException ioe){
    System.out.println(buf.toString());
    }

  • Get data through query all non validated invoices and unaccounted invoices

    Hi expert,
    I could not find flag in ap_invoices_all to find such invoice which are not accounted yet or such invoices which are not validated.
    please tell me column name used for both condition or give me query to find such records.
    Thanks

    Hi,
    If it's 11i, you can do this by linking with ap_invoice_distribution table . Checking match_staus_flag for validation and accounting date for accounted invoices ..
    Regards
    Muthu

  • Getting data through com port

    how can i understand that data is sent tome through a com port.
    i use dataavailable event but when i read the data iread just meanless codes and it can not be.
    i use javax.comm for my project..

    Hi
    You Must have a listener for your comm port e.g
    private class CommListener implements SerialPortEventListener{
    case SerialPortEvent.DATA_AVAILABLE:{
    while(true){
    try{
    ch = is.read();
    if(ch==-1)
    break;
    buf.append((char)ch);
    }catch(IOException ioe){
    System.out.println(buf.toString());
    }

  • Please walk me through setting up a spell check. It disappeared when i upgraded to firefox. the community help suggested editor manager but i cannot find it.

    how do i add a spell check to the tool bar? It was there but disappeared when i upgraded

    I have this problem, too recently. Go to Toolbar where must be Spell Checker - click right button of mouse... Click Customize... And when menu "Customize Toolbar" appear - drag Spell Checker from this menu to the Toolbar

  • Set focus on cell in ATS Table

    Hi Friends,
    I try to set the focus on a field in a if_fpm_guibb_list.
    I use Methode request_focus_on_cell in if_fpm_list_ats_ext_ctrl.
    And I set lead Index to new line and set selected_line _changes to 'X'.
    When I look in the table what contain the new position, it contains the Data for the new position.
    But the cursor is not jumping to the Cell.
    Is there something in addition what I have to do?
    Thanks in advance
    Joerg.

    Hi Joerg,
    I'm facing exactly the same problem. I want to set the focus to a cell in an FPM_LIST_UIBB and REQUEST_FOCUS_ON_CELL in method GET_DATA looked promising, but the cursor is not set to the field.
    Only the lead index of the table is changed to the correct line if I set parameter CV_LEAD_INDEX in method GET_DATA.
    Did you find a solution?
    Thanks,
    Karsten

  • Get the value from a selected row in a table

    Hi all,
    My table contains a tree structure.
    When I select a single row, I need to get the value of a particular column.
    I created an action on the leadSelect of the table and gave the following code:
    public void onActionleadValue(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionleadValue(ServerEvent)
        String strLeadValue = wdContext.nodeAttribute_View_Out().currentAttribute_View_OutElement().getAttributeAsText("<MyModelAttributename>");
        wdComponentAPI.getMessageManager().reportSuccess("selected lead value "+strLeadValue);
        wdContext.currentContextElement().setLeadselectedvalue(strLeadValue);
        //@@end
    My Bapi returns me 6 records. and when I click on any row its always pointing to the last record value.
    What could be the problem?
    Thanks
    Anjana

    Hi Anjana,
    Try this.
    try
         IWDMessageManager msg = wdComponentAPI.getMessageManager();
         int leadselect = wdContext.nodeSChild1().getLeadSelection();
          for(int i=0;i<wdContext.nodeSChild1().size();i++)
              if(leadselect == i)
              //Displaying output in diff table
    //           IPublicTestComp.ITableNodeElement tabelm = wdContext.createTableNodeElement();
    //           tabelm.setAttribute1(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute1());
    //           tabelm.setAttribute2(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute2());
    //           tabelm.setAttribute3(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute3());
    //           wdContext.nodeTableNode().addElement(tabelm);
              String att1 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute1();
              String att2 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute2();
              String att3 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute3();
                     msg.reportSuccess("Row ("i") : "att1"====="att2"======"+att3);
    } catch (WDDynamicRFCExecuteException e) {
         wdComponentAPI.getMessageManager().reportException("Message : "+ e.getMessage(),true);
    Regards,
    Mithu

  • How to get the total amount of filtered row in a table view

    I have created filter tables for each columns of my tableview. Now I want to add a row with some totals. For this I use an iterator and implement the RENDER_ROW_START. It is easy to add a new lines knowing the number of expected rows (add the line at the end). But the hic comes when there is a filter. How can I know how many rows I will have in the filtered table. There is no parameters that I found. Not even in an event handler.
    Thanks a lot in advance for your help

    i found the solution, thanks

  • How to get the number of hits ("returned rows") in read table statement

    Hi Experts
    I have the statement shown below, which seems not to work as I would like it to. My problem is that I would like to do two different things depending on weather or not a read table statement results in 0 hits or 1 (or more) hits.
        READ TABLE g_ship_item
            WITH KEY
         l_ztknum = DATA_PACKAGE-/bic/ztknum
         BINARY SEARCH.
          IF sy-subrc is initial.
          no hits found
            DATA_PACKAGE-/BIC/ZSTAGEERR = 1.
          ELSE.
          hits where found and we will do something else...
            DATA_PACKAGE-/BIC/ZSTAGEERR = 0.
    Hope someone can help me out of my problem...
    Thanks in advance, regards
    Torben

    Hi,
    As you are using READ statement with Binary search, check whether the internal table g_ship_item is sorted with field /bic/ztknum or not. If it is not sorted then the result of this READ statement is not correct.
    Below is the correct code.
    sort  g_ship_item by /bic/ztknum.
    READ table g_ship_item with key g_ship_item = xxx.
    Thanks,
    Satya

Maybe you are looking for

  • Iphone dropping wifi then reconnects while on skype or viber but not netflix

    while on call in skype or viber at home, my iphone 4 would drop the VOIP call, wifi icon immediately switches back to 3G then after 2 seconds switches back to wifi again(I never have to go connect again manually, it always comes back by itself).  All

  • Structure of Dynamic Table in Function Module

    Hi, I'm trying to find a way to get as OUTPUT a dynamic Table from a Function Module. I declared a table called T_DATA without a type. And this table should have a dynamic table back. The problem that I get the data back but, I only found a data with

  • Migration of downpayment amount

    Hi Friends, We are currently working in a project which involves change in the functional currency of the company code, wherein we are setting up a new company code similar to the existing one, with the changed currency. Under the same we need to mig

  • Handling multiple XML message types in a webservice

    My below scenario is I have a webservice that receives XML messages from third party. The webservice populates 3 database tables through Mediator and DBAdapter from these XML files. Data for each table comes in a single XML file. How will I design th

  • Mac mail not working after ios 10.9.5 update

    After updating to OS X 10.9.5, both of my email accounts are only sporadically sending email through Mac Mail.  About 50% of my outgoing mail is rejected by my mail server Comcast.  My email works on my iphone.  My families' emails using Comcast work