ADF JS API methods not working for the newly created rows in table

Hi All,
We need to make sure the focus goes back to the newly created rows first column's first component.
Used findComponent and findComponentByAbsoulteId and even hard coded the id, but still the methods are returning null.
Even tried ADFRichTable.getRowKey(index), by passing index as 0 for the first row, still the method is returning null.
Tried ADFUITable.findComponent(Object scopedId, Object rowKey), but unable to pass client side rowKey as the above method is returning null.
All our requirement is to make the focus back to the first row's component when the user clicks on the cancel button instead of save button. Appreciate your help. Thanks.
P.S.: Rows will be created using CreateInsert method.
JDEV Version: 11.1.2.0.0 and Table is in a region and we are using UI Shell Tab Template to launch regions.
Raja.
Edited by: RajaRamasamy on Feb 10, 2013 4:30 PM
Edited by: RajaRamasamy on Feb 10, 2013 4:30 PM

Thanks Frank,
But some times even we use findComponentByAbsoulteLocator, its not working. So i followed the approach where you will get the rowID like the below and construct the client ID and pushing the JS to client using Service class. And it worked.
String rowId = table.getClientRowKeyManager().getClientRowKey(facesContext, table, rowKey);
But i am worried that even though we hard coded the client and executing the js function from the command button by keeping client listener's type as click, the focus is not setting. And i tried giving the id as tableId[rowIndex]:componentId in the findComponentByAbsoulteLocator.
Can you let me know is there another way to make focus only using JS on click of command button, where the button does not have any action or actionListener.
Raja.

Similar Messages

  • I have an event in my calendar that was sent by someone who does not work for the company anymore and I am reminded 2 times a week. How can I remove it?

    I have an event in my calendar that was sent by someone that does not work for the company anymore and I am reminded 2 times a week. How do I delete it?

    Tap on the event to open the event. Click the 'Edit' button in the event bubble, then press the 'Delete Event' button at the bottom of the Edit pop-up. It's a little different for events that come through Microsoft Exchange, you tap the event to bring up bubble and click the 'Details' button, and then press 'Decline' to remove the event.

  • I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords but it does not work for the macbook.

    I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords several times but it does not work for the macbook.

    You will have to provide the correct password to delete the existing account, if you have tried but are not getting the password reset email, contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • Calendar Issues - "Repitition is not working for the item you tried to access"

    I ran into an interesting error when troubleshooting a calendar issue today, wondering if anyone has seen it.
    Exchange 2010 SP2 latest RU, Outlook 2010
    User changes then start time for a recurring meeting, changes in everybody's calendar but hers 9still shows in her calednar as the original start time)
    Logged into OWA to see if her claendar reflected the correct start time there - no, still  shows the old start time.  So I open the meeting, have a quick look, and the following error pops up:
    "Repitition is not working for the item you tried to access.  It's possible either the start or end date are not correct"
    Has anyone seen this error in OWA before?
    TAG

    Hi,
    Please double check whether the updated start time and end time are changed properly in attendees’ calendar. Also confirm whether the updating message is in the organizer’s sent items both in OWA and Outlook.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • RSRV not showing number of record for the newly created cubes

    In RSRV Elementary tests i execute database information for a newly created cube.It is executed fine and it is showing the no of dimensions and line item dimensions but it is not showing the diff tables E,F.... I tried refreshing the statistics of this cube in the manage and did check statistics aswell.But it is still the same.and I tried in the program SAP_INFOCUBE_DESIGNS  it is showing for all the cubes except for the newly created once.
    Is there any settings as such.
    Let me know ASAP

    Hi Ninad,
    Use the program SAP_INFOCUBE_DESIGNS and get the cube size in bytes.
    Transaction se16 -> fact table name, /bic/f[infocube name] and /bic/e[infocube name] or /bi0/f.. and /bi0/e for business content infocube, click 'number of entries' - This is for no. of records.
    Transaction DB02 -> 'detail analysis' -> object name = [infocube name]
    Function Module - RSDU_INFOCUBE_TABLE_SIZES_INF
    Bye
    Dinesh

  • The newly created row cannot be found with another view

    I'm building a JSP client based on BC.
    I have 2 views based on the single entity.
    I'm creating a new row with one view and want to edit the corresponding row with the other view without intermediate commit.
    However, the last view cannot find the new row.
    For the purpose I get the newly created row's key and trying to find the row at the other view by it's RowKey with the tag <jbo:Row>. Now I have an exception:
    oracle.jbo.JboException: Row was not found using request parameter ...
    Can someone give an advice, please?

    Hi,
    I was a little uncertain. I do not have any view associations in this case.
    I've tried to use " .setAssociationConsistent(true)" - dosen't help.
    I've just changed the standard wizard-generated Browse-Edit UIX/JSP form in such way that I'm using one VO for the browse-table jsp, and some other VO for editing jsp. The editing jsp is by itself divided into a number of tabs.
    Every tab of the editing jsp is based on a specific VO and all of the VOs are based on the single Entity Object to the one table.
    While I am editing the existing records in the table everything goes right, but if I create a new row via the browse page and then try to edit it, I have the exception:
    " Row was not found using request parameter: .... " This thread is continued in another post
    Re: ORA-03113 end of file on communication channel error
    There is a bug with hanlding of viewlink-consistency and DBsequence in Jdev 9.0.2 that leads to this issue as discussed in the other thread.

  • Timing of text box will not appear.  My text boxes stop working on slide 5 and they will not work for the remainder of the slide show.

    Timing of text box not working.  I get the first few slides to work and then on slide 5 my text boxes will not appear.  And they do not appear for the rest of the slide show.   Help anyone.

    Text caption is timed to appear at 2 seconds, but you have a click box at 0sec. Its duration is very short, which means that I cannot see if there is a pause. I suspect this click box is pausing at the end of its timeline, which is at 0.3secs and the Text caption at 2 seconds will not appear before the user has clicked on that click box. The timeline is the core of Captivate, learn at least how to read it.
    Tiny Timeline Tidbits - Captivate blog
    If you want the green text caption 'Click on...' to appear right at the beginning of the slide, you have to check its Timing accordion: set it to start at 0 secs instead of 2 secs and extend its duration to the 'rest of the slide'.
    I don't know what is in the Group. That group and the HIghlight box will disappear at 3 seconds. Or maybe the action that is triggered by the Clickbox is different from 'Continue'?
    Lilybiri

  • SSRS CatalogItem method not working for deploying a shared data source

    I have been working with the SSRS CreateCatalogItem method to deploy reports to a SSRS 2012 in SharePoint integrated mode with SharePoint Server Enterprise 2013. I am using Powershell. The CreateCatalogItem method works fine when I deploy RDL files,
    but fails when I deploy an RDS. I get an rsInvalidXML1400 error, whatever that is. Here is a cut-down version of my code to establish the bare essentials:
        [String] $reportserver = "server20";
        [String] $url = "http://$($reportserver)/sites/AdventureWorks/_vti_bin/reportserver/reportservice2010.asmx?WSDL";
        [String] $SPFolderPath = "http://server20/sites/AdventureWorks/BICenter/Data%20Connections/";
        [String] $fileFolder = "C:\SiteBackups\BIReports\BIReports\";
        [String] $itemName = "AdventureWorksCube.rds";
        $ssrs = New-WebServiceProxy -uri $url -UseDefaultCredential;       
        $warnings = $null; 
        $itemPath= $($fileFolder + $itemName);
        $definition = get-content $itemPath -encoding byte;      
        try
            $ssrs.CreateCatalogItem("DataSource", $itemName, $SPFolderPath,$False,$definition,$null, [ref] $warnings);
        catch [System.Web.Services.Protocols.SoapException]
            $msg = $_.Exception.Detail.InnerText;
            Write-Error $msg;
    I have a workaround whereby I read the XML of the data source file directly and extract the ConnectString and Extension elements then use the text within them to create the data source using the DataSourceDefinition class. My point is not to get a workaround.
    I want to establish that the CreateCatalogItem method indeed does not work when used with the ItemType "DataSource". In the code above, if I change the itemType i.e. first parameter of CreateCatalogItem to "Report" and change the $itemName
    to the name of an RDL file, it deploys correctly. Has anyone else encountered this behavior or am I doing something wrong here?
    Charles Kangai, MCT
    author of the following Microsoft Business Intelligence courses:
    http://www.learningtree.co.uk/courses/139/sql-server-analysis-services-for-business-intelligence/
    http://www.learningtree.co.uk/courses/134/sql-server-integration-services-for-business-intelligence/
    http://www.learningtree.co.uk/courses/140/sql-server-reporting-services/
    http://www.learningtree.co.uk/courses/146/sharepoint-business-intelligence/
    Charles Kangai, MCT

    Hello,
    We can invoke the SSRS proxy endpoint (ReportService2006.asmx)from PowerShell to publish report definitions (.rdl) and report models (.smdl) to a SharePoint library, but this does not apply to data source (.rds) files.
    In order to deploy .rds to SharePoint library without using SSDT, you should convert the .rds file to its .rsds counterpart which is pretty contains same content but in different schema.
    If you want to fully automate your deployment, you should write your own converter and perform the deployment by utilizing SharePoint feature framework and SSRS proxy endpoint (ReportService2006.asmx).
    Please refer to the following blog about this issue:
    PowerShell:Deploying SSRS Reports in Integrated Mode
    Deploying Reports in Integrated Mode
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click
    here.
    Fanny Liu
    TechNet Community Support

  • LOV /ADF UIX pages does not work on the older version od UIX page

    Hi
    I have recently migrated UIX project from the Jdeveoper 9i to Jdev10g version 1.0.1.2, everything work without any issue, however when I try to create a LOV or any component that are ADF-UIX based, but it does not work I don't even get any error, it just does not work based on the ADF-UIX (Expression base component),
    Any help to resolve this issue will be greatly appericated
    Thanks

    I too have problems with LOVs in UIX pages. I have
    some that you have to run twice to get back a value.To solve this problem,
    1) open your UIX page where you create a new row
    2) in the Structure window, click third tab "UI Model"
    3) double-click the control action binding corresponding to Create
    4) select CreateInsert from the list
    The problem is related to the fix we introduced for the "Blank Row Issue" (see http://www.oracle.com/technology/products/jdev/tips/muench/blankrow/index.html).
    If you have access to MetaLink, please refer to Note 299860.1 and Bug 4201020.
    Regards,
    Didier.

  • Phone not working for the 5th time

    I am so happy with my fios service.  Now for the 5th time our phone does not work.  We regularly cant recive calls, and sometimes cant call out.  Each time we call (with cell) they say nothing is wrong and will send a tech out days later and an hour before the tech is supposed to show up, it suddenly starts working again.  A week later it stops working, and we go through the same ordeal.  I wonder who they cut off, whent hey turn ours on, and who gets service when they cut ours off.  Its like they play musical chairs with our phone service.  Sometimes we get incomming calls, sometimes outgoing, but hardly ever both.  **bleep**?  Now waiting another 8 days for them to send someout out because right now we dont even have a ring tone.  Please just fix the problem, or stop charging us the $30 for the service.  What a sham.  Oh, and to top it all off,t his week, Verizon Wireless also assigned my wifes account/phone number to someone elses contract.  She has had the number for over 10 years, I just bought her a new iPhone (full price $900) and when we went the store a man by the name of Carlos told us to pound sand.  He had given the line to someone else and the only way he would fix it is if we returned the phone we bought from Verizon online, and bought a phone in his store!!!  Can you believe it.  Carlos would not give her line back unless she bought a phone in his store. 

    Hi mikalsan,
    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you. Please go to your profile page for the forum and look at the top of the middle column where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under "My Support Cases" you will find a link to the private board where you and the agent may exchange information. The title of your post is the link. This should be checked on a frequent basis, as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe". Please keep all correspondence regarding your issue in the private support portal.

  • Scale does not work for the target movie when using a poster movie

    Hello,
    I have various size video files that I want to scale to a certain display area on a website. I'm using the scale="tofit" attribute. It works fine for the poster movie but when the target movie is loaded it does not scale! Is this a QT bug or by design? Is there a workaround to this or am I doing things wrong? All help is greatly appreciated.
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="489" height="280" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="autoplay" value="false">
    <param name="controller" value="true">
    <param name="href" value="heaven.mov">
    <param name="pluginspage" value="http://www.apple.com/quicktime/download/indext.html">
    <param name="target" value="myself">
    <param name="type" value="video/quicktime">
    <param name="src" value="movies/PosterTest.mov">
    <param name="scale" value="tofit" >
    <embed src="movies/PosterTest.mov" href="heaven.mov" width="489" height="280" autoplay="false" controller="true" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html" target="myself" type="video/quicktime" scale="tofit">
    </object>
    Dell inspiron 8200   Windows XP Pro  

    After quite a lot of Googling I found what I was looking for. This solution was quite hard to find. I found it on http://blog.deconcept.com/2005/01/26/web-standards-compliant-javascript-quicktim e-detect-and-embed (I'm using Geoff Stearns's script to embed my movies, it works great!)
    Anyway here is a url to the final solution:
    http://developer.apple.com/documentation/QuickTime/WhatsNewQT5/QT5NewChapt1/chap ter1_section32.html

  • Database Variant to Data.vi not working for the Date datatype with LV 8.2?

    I'm moving a large body of LV database code from LV 7.1 to 8.2 and find that the Database Variant to Data.vi is not working correctly when used with the Date datatype. It works fine with 8.0, and the common Variant to Data works also. Am I missing something? Thanks in advance for any assistance. Wes

    Thanks for the prompt reply Crystal,
    The data is stored in an Oracle database using the DATE type. I'm querying many rows along with other columns and converting each of the values as necessary for each column with the 'Database Variant to Data' vi. Only conversion to Timestamp is no longer working as of version 8.2. I recognize that plain Variant to Data works but I have many (100's) of VIs to change if that is the only solution (not the end of the world). Most often the dates are originally generated in the database using PL/SQL procedures calling SYSDATE which look like: 5/1/2006 11:56:26 AM (in TOAD anyway) which I then need to read into LV as type Timestamp.
    Regards, Wes.

  • Oracle Workflow Delegate is not Working for the Adhoc Role

    Hi All,
    I have a requirement where I want to send the workflow notification to the Adhoc role and then if the people who are part of the adhoc role are on vacation then the notification should get delegate to the person set by the first approver. Somehow delegate is not working here.
    Please let us know if anyone of you have worked on such requirement or have come across this situation.
    Thanks in Advance,
    Viswas
    Edited by: 873477 on Feb 6, 2012 12:30 AM

    Thanks for the replying on the issue.
    This issue has been resolved now.
    In WF_NOTIFICATION.route procedure, Following query was selecting the Adhoc role name instead of the fnd_user, We have changed our custom in such way that there should always be fnd_user for the follwoing query.
             SELECT   WN.RECIPIENT_ROLE, WN.MESSAGE_TYPE, WN.MESSAGE_NAME
               INTO   recip, msgtype, msgname
               FROM   WF_NOTIFICATIONS WN
              WHERE   WN.NOTIFICATION_ID = nid;Thanks,
    Arun
    Edited by: 873477 on Feb 6, 2012 11:26 PM
    Edited by: 873477 on Feb 6, 2012 11:27 PM

  • My push notifications for Facebook are not working for the iPhone 5.

    All the sounds are working except for Facebook. I have enabled all the settings for the push notifications but they still do not work. I do get alerts but no sound. Please advise.

    We are all in the same situation. It is very annoying. We have to get people to let Apple and Facebook know. It is not my phones (I have a 4 and a 5), because Facely HD, which is an app that accesses Facebook, works fine as does everything on both phone (native functions, native apps and non-native apps).

  • ON CHANGE OF is not working for the below case

    Hi,
      I had a problem with ON CHANGE OF as below
    select * from vbap into gt_vbap where vbeln in s_vbeln.
    loop at gt_vbap into ls_vbap where posnr ne '00010'.
       on change of posnr.
       endon.
    endloop.
    in gt_vbap i have only items 10 & 20 for a Sales Order No so in loop on change of is not triggering because remain line item 
    is only 20.
    can anyone explain me how to solve it

    You need not use ON CHANGE OF....
    Try using this code:
    SORT gt_vbap by posnr.
    Get the index of record
    READ TABLE gt_vbap into ls_vbap with key posnr = '00010'
                 transporting no fields binary search.
    if sy-subrc eq 0.
      l_index = sy-index.
    Read from next line
    add 1 to l_index.
    Loop at internal table from next line after posnr = '00010'....
    loop at gt_vbap into ls_vbap from l_index.
    Write your logic in this loop
    endloop.
    endif.
    Regards,
    Santosh

Maybe you are looking for