Access report row data from javascript

-- I have a report. Something like this.
Select id, name, htmldb_item.checkbox(1, '#ROWNUM#')
from test;
-- I can get the rownum via javascript.
var ml = document.wwv_flow;
var i;
for(i = 0; i < ml.elements.length; i++){
alert("name = " + ml.elements.name);
alert("value = " + ml.elements[i].value);
-- I would like to access the other items I selected in the report from javascript. ie. id and name.
-- So knowing the rownum how do i get those values for a given row?
Thanks
Jon

hi jfortney,
i have one problem in oa framework, ie i need to get the row number by javascript but could not do . my way is
document.getElementById('tableid').rows.length.. but there is no id for that table when i c the view source. so please suggest me some idea as to how to get the row number of a table in oa framework page.
thanks in advance...
prabhakaran.p

Similar Messages

  • Access netui pageflow data from javascript in a response.jsp

    How do I access a pageflow variable from a javascript in a response.jsp page? I understand that the follow line can be used in a response.jsp:
    <netui:label value="{pageFlow.m_applicant.createdDate}"/>, but it can not be used in a javascript of that rensponse.jsp.

    Jack,
    You can't directly bind to a pageFlow variable but you can store the
    variable in the page using the getData tag and access it via javascript as I
    have done in this example.
    <netui-data:getData resultId="myId" value="{pageFlow.theString}" />
    <script language="javascript">
    function showAlert()
    var myJpfProperty = "<%=pageContext.getAttribute(
    "myId" )%>";
    alert( "Here is the Jpf property value: " + myJpfProperty );
    </script>
    Here is some related documentation, though it doesn't show a javascript
    example
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/howdoi/howAccessDataBindingContextsScriptletJavaScript.html
    - john
    "jackz" <[email protected]> wrote in message
    news:4074251a$[email protected]..
    How do I access a pageflow variable from a javascript in a response.jsppage? I understand that the follow line can be used in a response.jsp:
    <netui:label value="{pageFlow.m_applicant.createdDate}"/>, but it can notbe used in a javascript of that rensponse.jsp.

  • Accessing Datagrid row data from within an itemRenderer

    I would like to know how I can access another row's data from within an itemRenderer.  I need to do some formatting of my cells based on other row data. Here's what I mean... I have a datagrid and in row 0 col 2's itemRenderer I would like to access row 1 col 1's data in order to do a comparison so I can determine how to format row 0 col 2's data and so on.  Is there a way from within the item renderer to reach into another row and access the data?  I can't seem to find a clear answer so I thought I'd go to the pro's.
    Thanks!!

    You can use this code to get to the dataProvider of the grid.
    var o:Object = this.parent.parent;
    var dp:Object = o.dataProvider;

  • How to access listbox binding data from a button which is not part of listbox in xaml page

    Hi
    I have the below listbox and its bdining as below
     <ListBox x:Name="listMyPosts" ItemsSource="{Binding Path=MyPostsDataSource}" Grid.Row="0"  >
               <ListBox.ItemTemplate >
                          <DataTemplate >                                      
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="{Binding
    NewPostText ,Mode=TwoWay}"/>
                                            <TextBlock Text="{Binding
    NewPostSender}"/>
                                        </StackPanel>                                      
                                </DataTemplate>
                </ListBox.ItemTemplate>
               <Button content="Send Post" command ="Binding SendClickCommand} />
      </ListBox>
    And i am assining postsViewmodel
    private PostsViewModel _PostsViewModel ;
    public Conversation()
    InitializeComponent();
    _PostsViewModel = new PostsViewModel ();
    this.DataContext = _PostsViewModel ;
    public ObservableCollection<PostsModel> MyPostsDataSource
    get
    if (_MyPostsDataSource== null)
    _MyPostsDataSource= GetMyPosts();
    return _MyPostsDataSource;
    set
    this._MyPostsDataSource = value;
    RaisePropertyChanged("MyPostsDataSource");
    is that possible to access listbox binding data from the ViewModel's SendClickCommand property ?
    Krrishna

    If you need to pass to the command selected item, try this
    <Button Сontent="Send Post"
          Сommand ="{Binding SendClickCommand}"
          CommandParameter={Binding ElementName=listMyPosts,
    Path=SelectedItem}/>
    msdn

  • Passing data from JAVASCRIPT to SAP database

    Hi Experts,
    Is it possible to connect or access RFC function module through JAVASCRIPT? I want to send data from JAVASCRIPT to SAP database table.
    Is it possible to pass data from JAVASCRIPT to SAP database table?
    Thanks in advance.
    Regards,
    Arindam Samanta.

    OData services can be one option to achieve this.
    Another possibility can be use of Generic REST enablement with SAP NetWeaver Gateway.
    If you are not considering Gateway at all, then  A JSON adapter like the one mentioned in JSON Adapter for ABAP Function Modules can be handy.

  • What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API

    The question says it all:
    What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API.?
    In the User Profile -> Permissions there is only the option for "Full Control".

    Hi Nikolay,
    Thanks for posting your issue, you need to set permissions on User Profiles = Read. Kindly find the below mentioned URLs to get the code and more details on this.
    http://www.vrdmn.com/2013/02/sharepoint-2013-working-with-user.html
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    http://sharepoint.stackexchange.com/questions/61714/sharepoint-2013-call-the-rest-api-from-sharepoint-hosted-app
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/09/how-to-query-sharepoint-2013-using-rest-and-javascript.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Access Address Book data from terminal

    Hi everyone,
    I was wondering if there is a way to access Address Book data from the terminal. For instance, I would
    need a command that would output an address of a given person.
    Thanks in advance for your input

    this script could be used in Terminal (save the code below as
    "getaddress" and mark it as executable):
    case $# in
    2) firstname=$1; lastname=$2;;
    *) echo 'Usage: getaddress <firstname> <lastname>' 1>&2; exit 1 ;;
    esac
    count=`osascript -e "tell application \"Address Book\" to count (people whose first name is \"${firstname}\" and last name is \"${lastname}\")"`
    case $count in
    0) echo "$firstname $lastname is not in Address Book." 1>&2; exit 1;;
    1) ;;
    *) echo "There are multiple entries for $firstname $lastname in Address Book (unhandled error)." 1>&2; exit 1;;
    esac
    osascript -e "tell application \"Address Book\" to get formatted address of address of first person whose first name is \"${firstname}\" and last name is \"${lastname}\""
    Message was edited by: jazzy79

  • How to access internal table data from webdynpro to Flex application.

    Hi Connoisseur
    The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and  Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
    There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
    i tried to do pass internal table value  to flex-datagrid.but its not work.
    i would like to know
    1.how to access internal table data from webdynpro to Flex application.
    2.how to pass the internal table to flex-datagrid.
    2.how to pass dynamically in ADOBE flex.
    3. how to do Flex is receiving the wd context data?
    4. how can we update WD context with FLEX data.
    Ple give me sample example and step by step procedure.
    Regards
    laxmikanth

    Hi Laxmikanth,
    Please refer this...
    Flash island: update complex type from flex
    Cheers..
    kris.

  • Access to EHS data from system outside of SAP

    We are creating a Formulation tool in a SQL database with a Access front end which will need to use EHS Specification data and eventually push the Formulation data back into the SAP EHS Spec database.
    I would like this new database to have Real-Time access to SAP data. We currently are using RFC connections with tools such as EASY-Expert and a external Rules based program Atrion as well, so I know it is possible to feed this data back and forth using XML files.
    Any advice on how I should proceed and maybe some external tools for purchase that will help me do this.

    Hi Beverly,
    it is possible to access EH&S data from outside SAP by using the standard SAP BAPIs (e.g. BAPI_BUS1077_GETDETAIL for reading EH&S data) which are RFC enabled. Another possibility would be to develop your own RFC enabled function modules in the SAP system and call them from outside.
    From your access database you can use VBA to perform the RFC call.
    Best regards,
    Andreas

  • Access SQL-Server Data from Oracle 10gXE

    Hello,
    I want to access sql-server data from oracle 10g XE. I need the same functionality provided by Sql-server by Linked Servers, by which we can query on any data source(oracle, Excel, Access).
    do, Oracle 10gXE provide us with same functionality ???
    any pointers ???

    Yes, it does work with Express Edition.
    Here is a thread from the XE forum with examples.
    Re: Database Link to MS Access
    They refer to a MS Access database, but the procedure is the same.
    Doug

  • How to access Sybase IQ data from SAP BW

    Hi,
    I read from Sybase website that we can access Sybase IQ data from SAP BW using Remote Cube through JDBC driver.
    Is there any documentation on how to configure that?
    Thanks in advance for your help.
    Our BW version is 7.01
    Sybase IQ is 15.4
    Thanks,
    CH

    Hi,
    The two files that are created are one is Control File ( will save as filename_s ) and other is data file. The control file will give you the details of your fields in your Infospoke
    regards
    Srini
    Message was edited by:
            Srinivas

  • Transport data from Javascript file to BSP application

    Hi,
            How can we transport data from Javascript file that is stored in MIME repository to the BSP application that uses this Javascript?
    To elaborate :
    I  have a  BSP application which calls few functions from a Javascript file that is stored in the MIME repository. Now, i need to pass one of the values that is obtained dynamically in the Javascript function to the BSP application inorder to store it in DB.. How can I do this?
    Thanks,
    Vasuki

    Hi,
    you must only identify in which variable the javascript function stores the values. So you can enrich
    your bsp application with such a function. Then you must transfer the value to a hidden input field.
    This field content can be requested via  request->get_form_field( 'name_of_the_field' ).
    On the other side, check out, if ther is a getter function in this library.
    Use firwefox with firbug plugin an set breakpoint in the javascript function to get an overview about the dom modcel.
    Best regards, Stefan

  • Error while loading Reported Financial Data from Data Stream

    Hi Guys,
    I'm facing the following error while loading Reported Financial Data from Data Stream:
    Message no. UCD1003: Item "Blank" is not defined in Cons Chart of Accts 01
    The message appears in Target Data.  Item is not filled in almost 50% of the target data records and the error message appears.
    Upon deeper analysis I found that Some Items are defined with Dr./Cr. sign of + and with no breakdown.  When these items appear as negative (Cr.) in the Source Data, they are not properly loaded to the target data.  Item is not filled up, hence causing the error.
    For Example: Item "114190 - Prepayments" is defined with + Debit/Credit Sign.  When it is posted as negative / Credit in the source data, it is not properly written to the target.
    Should I need to define any breakdown category for these items?  I think there's something wrong with the Item definitions OR I'm missing something....
    I would highly appreciate your quick assistance in this.
    Kind regards,
    Amir

    Found the answer with OSS Note: 642591..... 
    Thanks

  • Hyperion Financial Reporting: Retrieve Multi-rows Data From Another Grid

    Hi Geniuses,
    Not sure if this is the right place to ask questions about HFR...
    I have two grids: main and supporting. I was trying to retrieve data from supporting grid, where there are 10 children rows in report derived from one row in HFR. I intended to show all the 10 children rows in the report. I tried "Grid[X].row[X]" to retrieve the data and <<MemberName>> to retrieve the project name, but only one row showed up in the main report with the first line project name (supporting grid) and data of sum of the total 10 rows (supporting grid).
    Any good ideas?
    Thanks a bunch.

    999833 wrote:
    Thank you, Celvin. It worked.
    One further question: the cell that contains data and contains text strings only pulls up the "pointer". Is there anyway to translate the pointer to the correct date/text?
    I really appreciate your help.I really didn't get you mean by translating pointer?
    Are you trying to show date and text from a planning cube?
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark the responses as helpful/correct if applicable

  • Access to Data from Javascript

    I have a propertie call it "country" in my "Data View" and I need access its value from javascript code to use in a IF sentence.
    I try thinks such as "xfa.node.getAttribute("country")" but doens't work.
    How can I access it?
    Thanks.

    You can try like this:-
    if(country.rawValue == "IN")
       xfa.host.messageBox ("You selected India");  // This will display a pop-up
    else
       xfa.host.messageBox ("You selected some other country");
    Chintan

Maybe you are looking for

  • How can I turn off my smart lock on ios7 when it's not in settings general?

    Hi, I am in need of help from some one who can tell me what is wrong with my IPad 2. My lock button stopped functioning after screen replacement and it does not lock the iPad unless the smart lock if off in the settings. I can perform other actions s

  • Java character validation

    Hi there, I know this question may seem very elementary, but I was wondering. Would anyone know the opposite of: Character.isDigit(myVariable.charAt(0))I tried using this below but it didn't do anything: !Character.isDigit(myVariable.charAt(0))Is the

  • Forcing a browser to ignore cache and display current version of a page

    I just uploaded some revised pages to my site. When I went to view them online, the older pages displayed instead of the new ones - since the older ones were in my browser cache (same thing happens in both I.E. and Firefox).  Going into I.E.'s Tools

  • Error on executing queries in FORMS

    hi when i execute query in my Form Builder, the uery is executed but there is an error (ERROR:ORA-00932: inconsistent datatypes: expected got ) and the query is this: SELECT ROWID,TR_ID,TTD_ID,CITY_FROM,DATE_FROM,CITY_TO,DATE_TO,FLIGHT_NO, ADDRESS,PH

  • Which version do I have in my TX

    I feel stupid to post this but how do I find the version of Palm in my TX. I have clicked several different places trying to determine the verison in my TX so I can determine if I need to update. I have only had the TX for a short while and have it s