Reset Row repeater Ui element

Hello,
how can I reset a row repeater, when the user clicks on an action button, the row repeater should be intialized,
can anybody tell me how can I resolve this?
thank you

Invalidate node bound to RowRepeater dataSource
ROWREAP_NODE->INVALIDATE( ).
Regards,
Nikhil Bose

Similar Messages

  • Issue with Row repeater

    Hi All,
    I am using a row repeater UI element to display the results of search. Once the results are displayed the user can navigate to a different page in the row repeater. Lets say the user navigates to page 5. Now when the user goes back and modifies the selection criteria, the row repeater still displays page 5. This time there might be no data in page 5. How can we go back to first page.
    Thanks,
    Pooja

    Hello Pooja,
    I didnt see any method available in the CL_WD_ROW_REPEATED to reset it. Alternative what I can think of is to reset the view elements. But I'm not sure whether this will have impact on you other UI elements. May be you can try this
    1. create a member variable in Attributes tab (MR_VIEW) of type ref to IF_WD_VIEW
    2. in the WDDOMODIFYVIEW, write the following code
    if first_time = abap_true.
       wd_this->mr_view = view.
    endif.
    3. in the search method or in the event handler method for search, call reset_view
    wd_this->mr_view->reset_view( ).
    this method will reset all the UI elements in the view
    other alternative would be to place the Row_Repeater in a transparent container. And during search delete the old row repeater and create a new one and bind the data source.
    BR, Saravanan

  • Dynamically populating a row repeater

    Hi,
    I have a requirement  wherein in the UI i have to populate a link with a delete icon for each of the selected(multiple via f4) records. This would be 0..n. The row reaptor should have 2 columns. The contents are generated on the fly as and when the records are selected. In the Webdynpro view we jst have a transparent container and a button.
         Can anyone suggest how do we go  about this? [I also tried using a row repeater ui element in the view but it actually repeats the same row :).  ]
    Regards,
    Abhay

    I hope you already created table column with link_to_action UI element as cell editor and created another attribute in the context node which is binded to your table UI element.
    You just need to bind the imageSource property with the newly created context attribute.
    In the event handler of the onSelect of the table.
    get the lead selected element and set the new attribute to value 'ICON_DELETE'
    Abhi

  • Row repeater use.

    Hi,
    I would like to know how to use Row Repeater, UI Element,  in WD. I want to create a layout for email where recipients can be more than one. so the Input field has to be accordingly set for input from user.
    Regards
    Piyush

    I agree with Silke, for this kind of requirement I prefer the multipane as well.
    Online help for the RowRepeater:
    http://help.sap.com/saphelp_nw70/helpdata/EN/44/93d3792e8c60d6e10000000a114a6b/frameset.htm
    Online help for the Multipane:
    http://help.sap.com/saphelp_nw70/helpdata/EN/df/da8b412bb5b35fe10000000a1550b0/frameset.htm
    I'm afriad that unless you provide us with more specfics on where you are having problems, that is about all the help I can offer.

  • Deleting a row from a Row Repeater

    Hi All,
    How could i delete a row from a row repeater??????
    I am using REMOVE_ELEMENT method from IF_WD_CONTEXT_NODE interface... Is this the correct way!!!!!!.
    Is there anyother way to do the same?????
    Best Regards.
    Shafiq Ahmed Khan.

    Hi
    first u get the index from the context element. with the help of the index u can get that particular element using get element.
    then u remove the element .
    check this code.
    CALL METHOD context_element->get_index
      receiving
        my_index = lv_index.
    CALL METHOD lo_nd_rcf_edu_det->get_element
      EXPORTING
        index        = lv_index
      receiving
        node_element = lo_el_rcf_edu_det .
    CALL METHOD lo_nd_rcf_edu_det->remove_element
      EXPORTING
        element          = lo_el_rcf_edu_det
    receiving
       has_been_removed =
    Declare a parameter context_element in the method of type if_wd_context_element
    regards
    chythanya

  • DropDown by Key and Row Repeater

    Hello,
    I 've build a form inside a rowrepeater, inside the form there are several empty drop down by key.
    The key value table of each dropdown by key belong to the selected country grouping (an input field with search help inside the form).
    OnEnter event of the molga field, I call a BL to fill the key value table and get the index of the form (regarding to the dataprovider of my row repeater).
    Here is the structure of my context:
    CONTEXT _
                     |_CTX_COLL (0:N)
                                  |_CTX_DROPDOWN (1:1)
    * --- GET MOLGA --- *
    * navigate from <CONTEXT> to <CTX_COLL> via lead selection
      lo_nd_ctx_coll = wd_context->get_child_node( name = wd_this->wdctx_ctx_coll ).
      lo_nd_ctx_coll->get_static_attributes_table( importing table = lt_ctx_coll ).
      read table lt_ctx_coll into ls_ctx_coll index iv_index.
      lv_molga = ls_ctx_coll-country.
    * --- GET DROPDOWN NODE INDEX REFERENCE --- *
      lv_idx_str = iv_index.
      concatenate 'CTX_COLL.'
                  lv_idx_str
                  '.CTX_DROPDOWN' into lv_path.
      condense lv_path no-gaps.
    * navigate from <CONTEXT> to <CTX_DROPDOWN> via index selection
      lo_nd_ctx_dropdown = wd_context->path_get_node( path = lv_path ).
      lr_node_info = lo_nd_ctx_dropdown->get_node_info( ).
    * --- SET DROPDOWN --- *
      lt_value_set = wd_assist->get_priority( lv_molga ).
    * set values (table) to context attribute
      lr_node_info->set_attribute_value_set(
       name = `PRIORITY`
       value_set = lt_value_set

    well ehrr
    I see two completely different implementations
    the context dropdown must be used with a drop down by INDEX
    the value set must be used wth a dropdown by KEY
    as you have a ddk, it uses the value set
    furthermore, you set the value set on the dropdown context
    try the index one
    I'm not sure what you are trying to do, but try the following option
    you have a node in which your dropdown field resides
    make a subnode with the values for that field
    fill the subnode depending on the selected country (don't forget to invalidate the node when the country changes)
    bind a ddi to the dropdown values in the node
    the value set is defined on node level, not on element level
    so setting a different value set per element won't work i'm afraid
    correct me if i'm rong
    Edited by: Tom Van Doorslaer on Apr 3, 2009 3:48 PM

  • Using Row Repeater - adding a remove row button

    I have an input field on my view for users to enter Project Numbers along with an Add Button.
    When the user enters a project number & clicks on the add button, I append that project to my row repeater. this is working fine.
    In my Context, I defined my row repeater as having 2 attributes: project_num and rem_row.
    I bound my row repeater to my context node. I wanted to use a Button element as my rem_row, so a user could click on the icon and I could remove that particular row.
    However, I can't bind the Button to the rem_row attribute of my context.
    is there a way to find out which row the user selects?

    what i've done is place a checkbox in the second field and evaluate that on the "on toggle" event. then delete the appropriate row.
    this works, but i'd really like an icon there instead of a checkbox and "Remove Row" text

  • RTF Header Rows Repeat in eBus BI Publisher (5.6.3)

    Hi,
    I have been struggling to get the Header Rows Repeat functionality working when generating RTF output with the eBus integrated BI Publisher - currently eBus 11.5.10.2 with ATG H RUP 7. The "How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12" Note (362496.1) doesn't provide anything more specific than 5.6.3. Based on the "Naming and Versioning" sticky note from Tim, I think this is equivalent to 10.1.3.2.
    According to http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_misc_101333.htm, this functionality is not available until BI Publisher 10.1.3.3.3.
    To "Overview of Available Patches for Oracle XML Publisher (embedded in Oracle E-Business Suite)" Note (1138602.1) does not list any stand alone patch which seems to be refer to this functionality.
    Can someone tell me if this Header Rows Repeat in RTF output functionality available with the eBus integrated BI Publisher? Or do I need to log an SR?
    theFurryOne
    Edited by: thefurryone on Sep 14, 2010 5:01 PM

    Hi Tim,
    Thanks for that - the 7487412 readme doesn't say anything about the RTF header bug fix being included, but the Bugs Resolved by this Patch lists 6270261 (ER: RTF Output to support set Table Header Report, Table Row Keep-Together).
    Patch # 7487412 is only available in R12, but with the specific ER number, I was able to find Note # 861915.1 (I couldn't it find with my keyword search) and this note indicates that 11i patch # 7702372 should resolve the problem for me in 11i (and it's readme explicitly documents 6270261 as being fixed by the patch).
    Thanks again,
    theFurryOne

  • Multi-level nested tables for repeatable XML Elements

    Hi there,
    Suppose we have a XML Schema „ASchema“ like this (XMLDB schema annotations are left out for simplicity):
    <xs:schema xmlns:xs=" .... " />
    <xs:element name=“A“>
         <xs:complexType>
              <xs:sequence>
                   <xs:element name=“B“ maxOccurs=“unbounded“/>
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name = “C“ maxOccurs=“unbounded“/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
    </xs:element>
    </xs:schema>
    After registering this schema in Oracle, I can define a table like this:
    CREATE TABLE ATable
    id NUMBER,
    doc XMLTYPE
    XMLTYPE COLUMN doc
    XMLSCHEMA “ASchema“ ELEMENT “A“
    VARARRAY doc.“XMLDATA“.“B“ STORE AS TABLE “BTable“
    ((PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)) ORGANIZATION INDEX)
    This creates a nested table "BTable" within the table "ATable". So far so good, I can use this nested table to gain faster access on every possible subelement of Element B when I set an appropriate index.
    I now want to create another nested table for element “C“ like this:
    DROP TABLE ATable;
    CREATE TABLE ATable
    id NUMBER,
    doc XMLTYPE
    XMLTYPE COLUMN doc
    XMLSCHEMA “ASchema“ ELEMENT “A“
    VARARRAY doc.“XMLDATA“.“B“ STORE AS TABLE “BTable“
    ((PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)) ORGANIZATION INDEX)
    VARARRAY doc.“XMLDATA“.“B“.“C“ STORE AS TABLE “CTable“
    ((PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)) ORGANIZATION INDEX)
    But this statement fails with the error message something like „ ... no such attribute ... „
    And here's my question: is it possible to create nested tables for repeatable XML Elements that are subelements of other repeatable XML Elements ? And if so, how can I do it ?
    Thank you very much in advance
    Jan

    Found a (partial) solution myself:
    If you add the attribute xdb:storeVarrayAsTable="true" to the root element of the XML schema, Oracle XMLDB generates nested tables for all repeatable XML Elements while registering the XML schema.
    Unfortunately, the names of these nested tables are system-generated, hence it's a bit uncomfortable to set indices on them. You can find out the names of these nested tables as follows:
    select table_name, parent_table_name, parent_table_column from user_nested_tables;
    Further information on that subject is supplied in the following thread:
    Re: default tables for elements with maxoccurs > 1
    It would be nice if there was a way to name the generated nested tables via appropriate XMLDB schema annotations.
    regards
    Jan

  • Header Row Repeating Erratically

    Hi,
    I have a problem with a dynamic table using Adobe Lifecycle Designer 8.0 and Adobe Acrobat Professional 8.0.
    The table starts with a header row and a single row. The user can add additional rows and the table flows onto multiple pages. Everything appears OK, but when EITHER the user goes back to page 1 or if the user closes and reopens the file, there can be multiple header rows repeated on page 1. Sometimes there might only be 2 header rows, but other times there can be upwards of seven header rows one on top of the other.
    This is wrecking the layout and my head. Has anyone had similar problems or could give me a direction as to where I am going wrong.
    Thanks in advance.
    Niall

    Hi,
    I am facing the same issue.
    My table header has 2-3 rows of data...the data is populated dynamically. The text fields are set to expand, so I have to make the subforms to flowed.
    As soon as I set the subforms to Flowed...evrything overlaps on the second page.
    Please help.
    Regards
    Neha

  • I'm getting a error that says NONE when I'm trying to reset up Adobe Photoshop Element. How do I fix it?

    I'm getting a error that says NONE when I'm trying to reset up Adobe Photoshop Element. How do I fix it? I already have the program but updated my computer from Vista to windows 7, and it didn't transfer over. What do I do?

    Sorry, but I'm not clear when you get the message NONE.
    Which version of Photoshop Elements do you have?
    Have you installed Photoshop Elements on your Windows 7 system?
    What are you doing when you get the message NONE?
    Brian

  • Row Repeater

    Hi All,
    I am having a requirment, where in, on action of a button i am displaying  a pop up. In this pop up i am having search functionality & after retriving the data if click on OK button of pop up the data should be displayed on my first screen.
    If this process repeats means if want to add more data how could i do that using row repeater??

    hi Mr Khan,
      Well wht i understood from your requirement i am giving you following solution by considering that you know webdynpro abap .
    Step 1: In first view you created a button ADD.
    Step 2: After clicking your ADD button you call other window which will act as pop up and in this new window you embed a view in which you have your search crieteria and table result.
    Step 3: Now in second window's view when you select particular row from the table again you have to close this windo and call the first view and pass this data ie lead select to the first view.
    NOTE : for this solution the most important thing is you should knw how to migrate your data from one window to other window efficiently.
    regards
    pankaj

  • Code Look - Row Repeated, just one

    I've got a single row that's repeating in the middle of my
    code-block, and I
    can't see why. I wonder if you guys could take a peek and let
    me know if
    you see where I went wrong.
    Here is my results, note article #16 (number beside title) is
    repeated
    twice.
    Front Page Stories
    Status Title Pic? Action Other Group Publish Date Expire
    Date
    EXPIRED 31-Church Ragtime CDs and DVDs Edit Delete E R A D
    Choir
    06/28/2006 09/30/2006
    EXPIRED 29-Reflections on the General Convention... Edit
    Delete E R A
    D 06/28/2006 08/31/2006
    EXPIRED 1-Pardon our Progress... Edit Delete E R A D
    03/16/2006
    04/15/2006
    EXPIRED 30-Annual Visit from the Bishop Add E R A D
    06/28/2006
    07/3/2006
    EXPIRED 3-Calvary is Online! Edit Delete E R A D 03/13/2006
    07/16/2006
    EXPIRED 15-Katy Trail Biking Trip Edit Delete E R A D
    06/14/2006
    07/14/2006
    EXPIRED 16-Our Progressive Church Add E R A D 06/15/2006
    07/15/2006
    EXPIRED 16-Our Progressive Church Add E R A D 06/15/2006
    07/15/2006
    EXPIRED 32-Rotary Youth Exchange Add E R A D Youth
    06/29/2006
    07/31/2006
    Now, here is the code block for that section (I have not put
    in Recordsets
    or SQL statements:
    //create the header for the table
    echo '<h3>Front Page Stories</h3>
    <table border="1" cellspacing="0" padding="0"
    width="740px">
    <tr>
    <td
    width="70"><strong>Status</strong></td>
    <td
    width="250"><strong>Title</strong></td>
    <td
    width="80"><strong>Pic?</strong></td>
    <td
    width="70"><strong>Action</strong></td>
    <td width="110"><strong>Other
    Group</strong></td>
    <td width="80"><strong>Publish
    Date</strong></td>
    <td width="80"><strong>Expire
    Date</strong></td>
    <tr>';
    do { //This group creates the front Page listings
    $newsID = $row_rsNews['ID'];
    $newsPublish = $row_rsNews['Publish'];
    $newsFrontPage = $row_rsNews['FrontPage'];
    $newsTitle = $row_rsNews['Title'];
    $newsGroupID = $row_rsNews['Group'];
    //check to ensure group is not front page
    if ($newsGroupID == 1){
    $newsGroup = '';}
    else {$newsGroup = $row_rsNews['groupName'];}
    //$newsGroup = $row_rsNews['groupName'];
    $newsDatePublish = $row_rsNews['DateSubmit'];
    $newsDateExpire = $row_rsNews['DateRetire'];
    //check expiration
    if ($newsDateExpire < time()) {
    $newsDateStatus = 'EXPIRED';}
    else {$newsDateStatus = 'ACTIVE';}
    //check picture
    if($row_rsNews['Picture'] != ''){
    $newsPicture = "Y";}
    else {$newsPicture = '';} //if it's not reset to null, it
    never changes
    from yes
    if ($newsFrontPage == 1){
    $mcfp = '
    <tr>
    <td>'.$newsDateStatus.'</td>
    <td>'.$newsID.'-'.$newsTitle.'</td>
    <td>'.mcpa($newsID,$newsPicture).'</td>
    <td>'.mcai($newsID, $newsDateStatus).'</td>
    <td>'.$newsGroup.'</td>
    <td>'.date("m/j/Y"
    ,strtotime($newsDatePublish)).'</td>
    <td>'.date("m/j/Y"
    ,strtotime($newsDateExpire)).'</td>
    </tr>';
    echo $mcfp;
    } while ($row_rsNews = mysql_fetch_assoc($rsNews));
    echo '</table><br /><br />';
    mysql_data_seek($rsNews, 0); //resets the recordset so that
    we can re-use
    it.
    TIA,
    Jon Parkhurst
    PriivaWeb
    http://priiva.net.

    Rewriting entire section to place in multidimensional arrays
    to try to fit
    in with the "PHPBB" "Templated" system (tpl class files).
    Will let you know more later, will be on board attempting to
    create
    multidimensional arrays.
    I have to feed these to the templates in segmented sections
    w/o HTML. :(
    Onward!!!!!
    "crash" <[email protected]> wrote in message
    news:e9ogcd$qd8$[email protected]..
    > oh gross. it looks like it's my last line - i removed
    that article's
    > "front page" attribute, now it's repeating the *next*
    item 3 times.
    >
    > You see anything in my code that could be doing that?
    >
    > I'm heading to lunch, I'll get on this tomorrow morning
    - got some admin
    > to catch up with.
    >
    > Thanks,
    >
    > Jon
    >
    > "crash" <[email protected]> wrote in message
    > news:e9odu6$n55$[email protected]..
    >> good call Joe. Didn't see the forest for the trees.
    I'll remove some
    >> attribs and post back. (god i hate testing like
    this, obvious code
    >> errors so much better, lol).
    >>
    >>
    >> "Joe Makowiec" <[email protected]>
    wrote in message
    >>
    news:[email protected]..
    >>> On Thu 20 Jul 2006 11:53:14a, crash wrote in
    >>> macromedia.dreamweaver.appdev:
    >>>
    >>>> The data is not duplicate, just the process
    I'm using to write it with
    >>>> (tested from within recordset).
    >>>
    >>> I just don't see where in that code you could
    have a record repeating.
    >>> What happens if you delete that record? Or mark
    it with a date which
    >>> would
    >>> make it active, and so presumably not be picked
    up in this recordset?
    >>
    >>
    >
    >

  • Binding a sequence XSD Schema to repeating subform elements

    Hi, I am creating a form with repeated table rows using an Add button to add rows dynamically. I am binding the row with the xsd schema with [*] at the end in the data binding option with checked repeat row for each data item. While submitting the form as XML data to the java controller I am getting only one table row and not other rows added dynamically by add button functionality.
    I want to know that how to generate the xml of dynamically added rows bonded with XSD schema.
    I have also explore the below link but doesn't resolve the issues:
    http://www.adobe.com/devnet/livecycle/articles/binding-xsd.html
    Thanks in advance

    I have resolved the issues by adding maxOccurs="unbounded" in xsd schema with the binded element name.

  • XML DB: is it possible to get a row for each element in a container element?

    I have an XML document containing a container element (collection). If I query, using an XPath expression, the contained elements I get a row for each container element with the contained element concatenated. Is it possible to get a row for each contained element?
    I run this simple query:
    select extract(xmltype('<colors><color>Red</color><color>Green</color></colors>')
    , '/colors/color/text()').getstringval() from dual
    And get this result:
    EXTRACT(XMLTYPE('<COLORS><COLOR>RED</COLOR><COLOR>GREEN</COLOR></COLORS>'),'/COL
    RedGreen
    1 row selected.
    What I would like to have is:
    Red
    Green
    2 rows selected.
    Wishful thinking or possible? Many thanks!

    Sure. This is where our XMLSequence() function comes in. It allows you to treat the top-level nodes in a nodeset as if they were rows in a table when combined with the TABLE() operator. Here's an example.
    First, to make the SQL look a little cleaner, I like to define a function like this:
    create or replace function testdoc return xmltype as
    begin
      return xmltype('<colors><color>Red</color><color>Green</color></colors>');
    end;.
    To break out the nodeset of <color> elements as a table, we use the following query:
    select value(list_of_color_elements).extract('*/text()').getStringVal() as color
    from TABLE( XMLSequence( extract(testdoc(),'/colors/color'))) list_of_color_elements.
    Or, using the new-in-9.2 extractValue() operator so we don't have to remember the text() part:
    select extractValue( value(list_of_color_elements), '.') as color
    from TABLE( XMLSequence( extract( testdoc() ,'/colors/color'))) list_of_color_elements.
    Here the TABLE(XMLSequence(...)) combo produces a table of XMLType, with one XMLType object in each row of the table.
    In general, if the XMLType instance were coming from an XMLType table xmltab the query would look like this:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( value(x),'/colors/color'))) colors.
    And if the XMLType were instead in a column of XMLType named doc in a table xmltab, then we would have the syntax:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( x.doc ,'/colors/color'))) colorsOnce you get the hang of it, you'll see that the combination of TABLE(XMLSequence()) to "shred" XML nodes into rows, and XMLAgg() to aggregate fragments of XML across multiple rows back into a single document, is quite powerful.

Maybe you are looking for

  • Error : Running Managed Servers in a cluster

    Hi, I tried creating a new domain from my local pc - by using the configuration wizard provided by weblogic.. the configuration used is like this - Admin Server - adminServer - 1.1.1.19 - on port 7001 Managed servers - machines:ip's - port 1. mgndSer

  • 'Auto resize image' 'Settings' dialog box controls

    I have a signature that contains an avatar image (size 120px by 120px) Every time I 'Send' an 'Auto Resize Image' > 'Settings' dialogue box pops up How can I bypass this as its becoming annoying. Most emails (98%) do not contain any other embedded or

  • How do I control the sampling rate of a PCI-6602 counter

    Labview version: 7.1 Processor: Pentium 4 1.8 GHz Hello All, I have two avalanche photo diodes connected to two counter entrances on a 6602 (ctr 0 and ctr 1). As can be seen in the attached VI, I'm generating a signal on ctr2 and using that as an ext

  • I have just brought a brand new Iphone 5 and it will not turn on or charge.

    Have brought a brand new iphone and it will not turn on, charge, In fact won't do anything

  • How to disable wrapping in textarea

    I try to disable the standard wrap="virtual" for a textarea. In the HTML Form Element Attributes of this textarea I add wrap="off" but Apex is no using this setting, instead I see wrap="virtual". I also tried adding the inline style on the textarea.