BPM Object Presentation - array items - (add / delete rows dynamically)

Hi,
We have a BPM Object presentation which uses a 'group' inner object to display ROWS of data. The presentation has an 'array0' created by default to handle the 'group' of rows. It also has the '+' and '-' buttons by default.
There is a field at the upper level which shows the 'sum' of values in individual rows. It needs to 'REFRESH' when an add (+) or deletetion (-) or rows happen.
But we see that all the controls (text boxes etc which are wired to the 'inner' bpm object of the group and the +/- buttons are one unit 'array0'. And the only method if at all, is an 'Event Listner' which is not showing any methods related to BPM Object.
Can anyone help us with a clue as to how to handle the '+' and '-' events or wire the 'array/group' events to code - any clue with 'events'?
This is a little urgent as it is an issue and we need to fix the same. Appreciate any quick responses/clues.
Thanks in advance,
-user8702013.

The SUM field needs refresh() method to be called to reflect the new value whenever we are adding/deleting rows.
To call this method for to show the reflection we have to declare a method on BPM object level which receives a argument of type ‘Fuego.Util.GroupEvent’, then in this method you can have your logic(here refresh() method is required to show new value on deletion/addition, hence this method is being called). This method can then be wired (it shows up) to the 'Event Listener' of the group/array.
The newly created method will be called whenever a new row is added/deleted (Event will be fired hence method call).

Similar Messages

  • Add/delete row in JTable

    I went through the tutorial of JDK about how to programming JTable, i can NOT find a way to add/delete row into/from JTable.
    I immagine it would be a difficult task because the data set it takes 'Object data[][]' is NOT dynamically grow/shrinkble.
    Can we make it take ArrayList[] as input dataset so that the dataset can dynamically grow/shrink?
    Any other way around to add/delete row?
    THANKS for your consideration.

    You have to write your own TableModel like extending AbstractTableModel. In that class add custom methods to add and remove rows. From those methods call fireTableRowsDeleted(..) and fireTableRowsInserted(..) to update UI.

  • HOW TO : Initialize / On Load of a BPM Object Presentation

    Hi,
    We have a BPM Object Presentation. On Load of the same, we need to enable/disable a UI field basing on data of one of the BPM Object attributes.
    If we put it in constructor, it is not allowing to enable/disable the Presentation UI Component as it is a 'client side' operation.
    Wanted to know where we can put the code to 'initialize' of a presentation or do something 'on load' of the presentation form.
    Regards,
    user8702013

    Hello,
    You can create a method which can be called on the initialization of the screen.
    To map the method with the presentation, you need to click on the presentation(be careful not to select one of the components). You will then see the properties of the entire presentation in the right hand side pane.
    Change the initialization method from <None> to the method you want to call on the loading of the presentation.
    This method will get executed every time the presentation is called.
    If you are making any DB calls or want to interact with some other external resources in this method then change the Server side property of this method to Yes.
    In case of queries revert back.
    HTH.
    Regards,
    Jaydev Doshi

  • My add/delete row function is unselectable. How do I fix this?

    For no reason that I can guess I am unable to add or delete rows. That little circle icon with the two horizontal dashes is gone and when I click on a numbered row the 'add/delete row' choices are grayed out, unelectable. My spreadsheet needs are VERY basic so I'm at a loss for what has happened because I've been using this file. It WAS working like it should, but now it's not and I don't know if I clicked something OFF or what. I am not new to a Mac, so I'm not a newbie with this stuff. Any ideas??????

    Try deactivating any filter you have set on the table.
    SG

  • How to add/delete rows on the form without saving data

    I am new to apex
    I am working on project and need some help on creating a form
    my requirment is to save a request that has multiple questions.
    i have a request form with multiple regions
    On one of the region that takes questions, I want to create a tabular form such that i can add/delete/update row without hitting database and enter multiple questions
    each row is one question.
    Apex has the default functionality of having a tabular form linked to a table that onload shows the data from that table and also on click of add or delete hits the data base to save the data.
    However i want to load a form that does not show any data if its a new request and click of add/delete should not update the databse. It should just add/delete a row on the form
    so user logs in and can create a request that has multiple questions
    finally want to submit the form and save all the information of the form in multiple tables.
    As of now i a m able to have a simple form and a process that save 1 question per request.
    How do i achieve this. Please assist.

    Do that using collections like in this example:
    http://apex.oracle.com/pls/otn/f?p=31517:176
    Once you are done, you may decide either to save that or to clean it up.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Editable ALV- Disable Add, delete row buttons

    Hi,
    I have an editable ALV using OO Grid. Some columns are editable and some are not using field catalog. I want to disable the 'add new row' and 'delete row' buttons. How to go about it ?
    Regards,
    Vin

    You can simply add them to the "Exclude" table and pass them to the SET_TABLE_FOR_FIRST_DISPLAY method.
       data: iexclude type ui_functions,
       data: xexclude type ui_func.
        define macro_exclude.
         xexclude = &1.
          append xexclude to iexclude.
        end-of-definition.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_copy_row.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_delete_row.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_append_row.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_insert_row.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_move_row.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_copy.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_cut.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_paste.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_paste_new_row.
        macro_exclude cl_gui_alv_grid=>mc_fc_loc_undo.
        call method alv_grid->set_table_for_first_display(
            exporting
                 it_toolbar_excluding  = iexclude     "<--- Right HEre
                 is_layout             = xlayout
            changing
                 it_outtab       =  izcmptrans[]
                 it_fieldcatalog = ifc[] ).
    Regards,
    Rich Heilman

  • Add/Delete Rows problem

    I'm having a problem with the add row and delete row for my table.  I have a table set up with the add row button in the header, and the delete row button in the first cell of the row beneath the header.  I have it set so that the initial count of the row is 2.  My problem is if the user adds several rows with data, and save the form.  When that user goes back into the same form later, it keeps the several rows that the user entered, which is fine, but then it automatically adds 3 more blank rows to the table, which I don't want.  I don't understand why it is doing this.  Does anyone have a clue to why this is happening?
    Thanks
    Connie

    Hi Connie,
    Just make sure that you have checked the below thing.\
    File > Form Properties > Run tIme > Scripting > Automatically is checked.
    Thanks,
    Bibhu.

  • Add/Delete rows from ALV-grid

    Hi to all,
    i have 2 questions concerning alv-grids:
    i have an alvgrid displaying a table and what i need is some functionality to add or delete rows from the alvgrid - how can i do that ?
    within one row i have one field containing the status and i want to be able to select the status from a combo/dropdown-field and set it for this particular row.
    thanks in advance!

    Hi,
    Report BCALV_EDIT_04 shows how to append and delete rows.
    Report BCALV_EDIT_06 shows drop down list for cells in a column.
    These report should be available in any R/3 system including all ABAP Preview versions.
    Hope this can help.
    Regards, Johan

  • Add/Delete row

    Hello,
    How can add a new row directly after the current row not at the end of the form?
    For example: User fills the question/answer form and they want to add new row(s) to ones that already added. Suppose that they are at question 1, 2, 3 but realize that they want to add a new row between row#1 & 2 or row# 2 & 3 which can re-number to reflect the new row to the right number instead of at the end after row#3.
    Can any one please advise.
    Thanks,
    Han

    Hi Han,
    Check out this example: http://assure.ly/gk8Q7a.
    In particular Tables 5 (uses Tables) and 6 (uses Subforms). Basically I have set up the index cell as a button. When clicked it will "add" a new row directly underneath the row clicked.
    The script is in fact doing two things, one directly after the other.
    It adds a new row at the end of the table, and
    Then it moves that new row based on the index of that new instance.
    Does that make sense?
    Niall

  • How to add another row dynamically in Adobe Forms ?

    Hello All,
      Can someone advise on how am I able to add another row to my table upon the click of a button in Adobe Form ?
    Based on some sample PDFs that I downloaded from the net as reference, it seems that all I need to do is add the statment "_Car.addInstance(1)" in the script editor that will trigger upon a clicking of a button where Car is a subform that is of Type : Flow Content and Direction : Table Row set.
      Any suggestion/advise will be greatly appreciated.
    from
    Kwok Wei

    Hello Kwok Wei,
    in NW 2004s, this will be possible on the client using a special forms library object provided by Adobe.
    Be aware, though, that while you are able to add any number of additional lines on the PDF, the original Web Dynpro context is not aware of these actions. This means that your application needs to create the corresponding new nodes in the context before the data contained in these nodes can be submitted back to the application.
    Regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Add/Delete rows in TableView

    hi all,
    i wanna add rows in the tableView and also wanna delete the selected rows from the tableView.
    how to do it?
    regards,
    purushothaman.

    Hi,
    As Harish said, use addElement to add elements to the Vector (using which you have created the DefaultTableViewModel and assigned it to your tableview).
    Capture the index of the rows to be deleted and use
    <Vector>.removeElementAt(index) to remove the specific rows.
    Check out this link as well
    http://help.sap.com/saphelp_nw04/helpdata/en/a9/76bd3b57743b09e10000000a11402f/frameset.htm
    http://java.sun.com/j2se/1.5.0/docs/api/
    Thanks
    Senthil
    P.S: Reward points for useful answers

  • BPM Object presentation collapses and disappears, UNDO disabled

    I got a problem with BPM5.7.
    During a presentation build I created a number of tables and inserted labels and controls, but after I inserted new table and clicked in a cell entire presentation collapsed and transformed into page with a Header and 2 Buttons (Submit and Cancel) only.
    “Undo” button got disabled and I lost my 2 hours work. This is the 4th case of same behavior and 3 times I just rebuild presentations (they were simple).
    I need to understand how to eliminate same problems again.
    Thanks

    Hi,
    Stating the obvious here, but it looks like you've collided into a bug and you're able to duplicate it only after a couple hours of hard work.
    Over the years, I've gotten into the habit of saving frequently when I'm editing a presentation.
    You probably have already discovered that presentations are pesky in that you usually have to manually click the save icon with the focus still on the presentation for any changes I've made to take effect. I'm wondering if this might be used to your advantage in this case. I'm thinking if you save frequently while editing the presentation and if (hopefully you never run into the bug again but if you do) you run into the bug, you immediately exit Studio without saving. Sure you've thought of this, but this way you'd lose only a few minutes of work.
    Not a great thought, but only thing I can think of to get around the bug you're running into.
    hth,
    Dan

  • Dependency between projects for presentations, BPM objects and external res

    Hi,
    I am trying to create a common project for all our exceptions, presentations and external resources...
    I have updated the properties of the project1 for dependeny on project2(exceptions project)
    but I am not able to see the user exception BPM Objects in the depended project to use...
    Project 1 is having all code that needs to call the BPM objects, presentations and external resources on the Project 2
    but these objects and presentations etc., are not visible to the project1.
    please advice if I need to do anything in relation to configs apart from making the Project 1 properties to dependency --> check box ticked and selecting the Project 2.
    thanks
    Satya

    When you use the project dependency feature, you do not see the BPM Objects in the Catalog. You see them (shown in blue) when you add variables in the process that refer to BPM Objects from the master project. You see them when you create a new attribute in your BPM object that is an BPM Object in the master project. You see them when you use them in logic inside your methods.
    Dan

  • Table layout w.r.t other tables and text while inserting/deleting rows.

    I have 3 tables in a single page. One is left aligned and other two are right aligned. Then there is some text below the tables. 
    Now when I delete some rows from Table-1 the left aligned one, the Table 2 and text shift up filling the space below Table1.
    Now I don't want the text/table to shift up/down when I add/delete rows from Table1 i.e Table1  should expand/contract in the empty space below it.
    Now If I do the same thing for Table3 (Right aligned one) i.e add/delete rows there is no effect on text as shown :
    All 3 tables are same and have exact positioning and other properties.
    Please suggest any solution as I would be populating the table through word automation service (interop).

    Another approach would be to use nested tables, with your 'outer' table having two columns and the inner tables going into different columns. You can hide the outer table's cell borders so its presence is less apparent. If the Outer table has auto row
    height, it will adjust to accommodate whatever row addition/deletion you do to the inner tables. The only proviso is that the inner tables shouldn't have 'around' text wrapping. The two rhs tables can go into the same cell - all they need is a separating paragraph.
    With this layout, the text will always remain below the outer table.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Adding/Deleting rows in a Table

    I am trying to get a couple of buttons to work in a table to add/delete rows. I have followed the directions in the LiveCycle designer help and it isn't working.
    In a test setup the only difference I can see from the help file is my Table is called Table1 and the subform containing the 2 buttons is called Subform1
    I have therefore amended the script for the click event for the AddRow to
    "Table1.Row1.instanceManager.addInstance(1);"
    Any ideas where I am going wrong?
    TIA
    Antony

    Hi,
    My usecase is that user enters a url with parameters for example in the text box--> http://host:port/employee/all?department=abc&location=india. Now i want to parse this url , get the parameters out and put it in the table so that it is convenient for users to modify these parameters. User has a option to add and delete the parameter in the table. So once all this is done and user clicks on say save i don't need to send this table to server. i just have to make sure that the values added/deleted from the table are in sync with the url. So in the server i get all the parameters from the url and continue.
    Since this is only needed on the client side i wanted to know if we can create a table with no values and then say on tabbing out of the url text box call a javascript that takes value from it and adds new rows to the table.
    I am using JDEVADF_MAIN_GENERIC_140109.0434.S

Maybe you are looking for

  • DTW BUSINESS PARTNER IMPORT

    Hi all, I've been attempting to import customers to a database and I seem to have mapped all of the fields except I can't seem to get a "state" in the mail to section of the card. I looked at the choices available when mapping in the DTW but I'm unsu

  • Upgrade to mac pro from two G5's

    I am currently using a G5 2.5 ghz as my main Logic computer, and an additional G5 2.0 ghz to ease the cpu burden by hosting Ivory as well as additional instances of Kontakt, EWQLSO, etc. This works fine but I would prefer to use one computer if it we

  • Net Parameter "keepalive" And Remote Gateway

    Hello,everyone There are some over time connections in the remote gateways monitor,Tcode "SMGW".I used command "netstat -ano | grep 172.27.0.*". Output like this "tcp        0      0 172.59.2.19:3300            172.27.0.203:59454          ESTABLISHED

  • Turn off "Recent Calls" and "History"

    There is a real need for Skype to allow a user privacy by TURNING OFF the recording of recent calls and history.   I am aware that History can be "disabled" in Skype Preferences -- and that one can ERASE the list of recent calls with Conversations >

  • FCP 5.0 crash OSX 10.4

    Run FCP 5.0 Studio on OSX 10.3.9 with no problem a year back. Powermac dual 2.0, 1.5 ram. After upgradering to OSX 10.4.6 quicktime, automator, compressor, soundtrack won´t launch. Did a install and archive and then a least quicktime worked again on