Web Form Cancel Edit button changes value of List View item when clicked

I have a web form, I shows 3 buttons, Edit, Save, And cancel. When the user presses the edit button it enables editing. When the user makes an edit and presses the save button it saves the changes. When the user presses the cancel button, it does cancel
the edit ok but it changes the vale in the left list view to a different value.  For instance my left list view has a list of vendor names.  When I click cancel, the vendor name shown for the selected record, changes to the vendor number.  I
have experimented with different values to show in the list view, I have turned off sorting, etc.  No matter what everytime I click cancel button it changes the vendor name to the vendor number.
Even stranger is when I scroll the list up and the item that changed is move out of view and then you scroll back down to put it in view it puts the value back to the vendor name.
This isn't consistent as I have created some forms where it doesn't do this. 
Also when I create a new list view, does anyone know how to get it into the tile pane .  the only way to get anything in that list appears to be that I have to create a whole new table.
Jim

This forum is for the desktop user interface Windows Forms, its classes, apis and components.
For a webform try the ASP.Net forums.
http://forums.asp.net
Success
Cor

Similar Messages

  • How to set a value in a managed bean when click on a button

    Dear all
    I have a managed bean that contains an attribute of type string as follow:
    the attribute name is taskFlowId
    package dhamanADM.view.beans;
    import oracle.adf.controller.TaskFlowId;
    public class dynamicTaskFlowManager {
       private String taskFlowId = "/WEB-INF/flows/procedureMaster.xml#procedureMaster";   
        public dynamicTaskFlowManager() {
            super();
      public TaskFlowId getDynamicTaskFlowId() {
       return TaskFlowId.parse(taskFlowId);
    }I want to change the value of this attribute when clicking on a commandMenuItem as follow
       <af:commandMenuItem text="Mission Persons" id="pt_cmi1"
                                                action="missionPers">
       <af:setActionListener from="/WEB-INF/flows/editPersionMission.xml#editPersionMission"
                                      to="#{pageFlowScope.dmDynamicTaskFlowManager.dynamicTaskFlowId}"/>
       </af:commandMenuItem>at run time when clicking on the menu this error appears
    java.lang.IllegalArgumentException: Cannot convert /WEB-INF/flows/editPersionMission.xml#editPersionMission of type class java.lang.String to class oracle.adf.controller.TaskFlowId
    My target is just to change the value of the attribute "taskFlowId" when clicking on the commandMenuItem
    how can i do this?
    Thanks in advance
    Edited by: ta**** on Mar 29, 2011 1:24 PM

    You are setting to set a String value where a type of TaskFlowId is required.
    Looks like, you are trying to set the taskFlowId for the dynamic region. Modify the code as follows:
    public class dynamicTaskFlowManager {
    private String taskFlowId = "/WEB-INF/flows/procedureMaster.xml#procedureMaster";
    public dynamicTaskFlowManager() {
    super();
    *public TaskFlowId getDynamicTaskFlowId() {*
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    String currentTaskFlowId =
    *(String)adfFacesContext.getPageFlowScope().get("CurrentTaskFlowId");*
    if (currentTaskFlowId == null ||
    *currentTaskFlowId.trim().equals("") == true) {*
    currentTaskFlowId = taskFlowId;
    return TaskFlowId.parse(currentTaskFlowId);
    In the MenuItem, modify it as follows:
    <af:commandMenuItem text="Mission Persons" id="pt_cmi1"
    action="missionPers">
    *<af:setActionListener from="/WEB-INF/flows/editPersionMission.xml#editPersionMission"*
    *to="#{pageFlowScope.CurrentTaskFlowId}"/>*
    </af:commandMenuItem>
    Thanks,
    Navaneeth

  • ProcessPCR_1 (WS50000041) : Web form in edit mode  to the approver ?

    Hi,
    I am working on  ProcessPCR_1 (WS50000041)
    This template depicts a one-step approval process. When you send the request, it goes
    to an approver for approval,There is a web form used for processing the  &#56256;&#56443; Request Special Payment.
    Now the challenge is  the web form should be editable mode to the approver (Currently it is in non editable mode ). Ex. He should have the paychange  field in editable mode.
    How can i acheive this?
    Richard A

    Ravi,
    I am working on ISR scenario only. Except the CHANGE MODE in the apporoval other things are working fine.  Am i really missing any configuration.
    The following are the steps i have done.
    1.I have configured the single level approval workflow ws50000041 @ V_SCENARIOXMPO and acivated the workflow.
    2. In the container &DISPLAYMODE& i am passing the CHANGE .
    The approver able to view the form and give his comments @ the comment column. But not able to change the PAY which was created by the initiator.
    My requirement  is the approver need to change the PAY.
    Thanks for your replies!
    Richard A

  • Web Form to compare 2 Years Value

    Dear All,
    In Hyperion Planning form, can we just select one user variable (e.g CurrYr) and the prior year will be automatically related to the Curr Year..?? Because in the form, need to show the value between Curr Year and Prior Year. So, we only select one time (only for the current year)
    Example :
    - If the Curr Year = FY12, then the Prior Year = FY11
    Any idea..??
    Thanks.
    Regards,
    VieN

    Hi,
    The only way I could think of is to use a dynamic calc version. Place the Year dimension as the first dimension in column and select only CurrYr. Place version as the second dimension and place the current version (i.e. Current) and dynamic version (i.e. Previous Year). The formula within Previous year will be something like below:
    @PRIOR(Current,@CHILDREN(Years))
    If you are going to use multiple versions, then you'd need to apply this to another dimension.
    Cheers,
    Alp

  • List view web part not reflecting changes made to list view in SharePoint Designer

    Dear All,
    When adding a list view web part containing a view modified in SharePoint designer (e.g. conditional formatting applied, or group headers modified) I'm finding that the changes made in SPD are not reflected in the web part. 
    For example, I go into SPD edit a view, and the view appears correctly when I go back into SharePoint, however when I link to the view within a list view web part it results in losing the changes made in SPD. 
    Becasue it's a publishing page I'm unable to edit the contents of the web part in SPD.
    I'm sure this is expected behavior but how do I get around this?
    Thnaks,
    MDB

    Try below
    http://stackoverflow.com/questions/19533998/sharepoint-designer-doesnt-show-anything-in-list-and-libraries-link
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/a63a1894-6b1d-420a-95dd-b6c546eab34d/updates-made-to-sharepoint-designer-2010-workflow-do-not-show-up-on-the-server?forum=sharepointcustomizationprevious
    http://stackoverflow.com/questions/5959521/sharepoint-designer-saves-the-changes-but-it-does-not-affect
    http://social.technet.microsoft.com/Forums/en-US/1e9a8c27-bbc5-4a6f-8daf-4b243182f543/changes-in-sharepoint-designer-2010-not-showing-in-sharepoint-server-2010-page?forum=sharepointadminprevious

  • Viewer slow while retrieving data while changing value from a page item

    Hi, I am using 9.0.2 to create reports. My end-users are using Viewer to run these reports. Recently, we are experiencing performance problems with Viewer. We have reports with Page Item. Let say a report takes 1 min to run. After running the report if a different value is selected for a page item, it is takes another 1 min to get new data. Whereas, Desktop is not taking any additional time (noticable) for a different value for the page item. Recently, we are experiencing this problem. I thought that it was cache problem in Application server, so we restarted all the pieces in aps server. However, the problem still exists. We are using a materialized for this particular report.
    Any tips would be highly appreciated. Thanks.

    The performance differences can be attributed to the differences in product. Desktop is a client server product. A query executes and ALL data is returned to the desktop. You can manipulate that data in any way and the database is not required. Web (Plus/Viewer) only return the data needed to satisfy the query currently being viewed. If you change a page item, a database call is made to retreive additional/different data.
    In other words this is just how things work. You can alter settings in your prefs.txt file to improve performance in Viewer/Plus. Changing number of rows returned, memory settings, row fetch limits, rows per fetch all can improve/reduce performance.
    As best I know there is not a "magic" setting for these values. It is based on the server/volume of data/workbook content/ workbook layout. etc. Crosstab workbooks are much slower to return data than page -detail.

  • ME21N-ME51N - change value of field at item level

    Hello All,
    We create a purchase requisition from a sales order and after a purchase order in reference to the purchase requisition.
    We would like to have the sales order number in the EBAN-BSTNR and/or in EKPO-BEDNR.
    We found some user-exits but it seems that we can't change value of standard fields with these.
    Could someone help us to find a solution ?
    May be with a BADI ?
    Thanks
    Véronique

    The code below should work for you, as for explanation why it will work look at SAP note 178328 over some coffee! )
    I gave some explanation below the code but the SAP note explains it in more detail
    DATA: ls_yvbap LIKE yvbap.
    * Sales doc is in creation mode
    IF t180-trtyp = charh.
      LOOP AT xvbap.
        xvbap-spart = cobl-spart.
        MODIFY xvbap.
      ENDLOOP.
    ENDIF.
    * Sales doc is in change mode
    IF t180-trtyp = charv.
      LOOP AT xvbap.
    *   Append Y-table and set update flag if necessary
        IF xvbap-updkz EQ space.
    *     Save unchanged version of XVBAP to YVBAP
          ls_yvbap = xvbap.
          APPEND ls_yvbap TO yvbap.
          <xvbap-updkz = charu.
          upd_vbap = charu.
        ENDIF.
        xvbap-spart = cobl-spart.
        MODIFY xvbap.
      ENDLOOP.
    ENDIF.
    SAP uses two internal tables XVBAP and YVBAP in sales document processing. XVBAP which contains the order items as they are currently after the user changed them on the screen, whereas YVBAP stores only changed item records the way they were before change. So YVBAP is only populated in change mode and not in creation mode. So if we are updating XVBAP when sales document is in change mode, we should ensure that YVBAP also contains the same record the way it was before our change.
    SAP will only update the records to database if we ensure the integrity of XVBAP and YVBAP internal tables.

  • Only using Quick Edit to interact with a list/view in Sharepoint 2013

    Hello All,
    I would like users to only interact with a view in Quick Edit mode as it has all the functions I need (Edit,add and delete) without having to open Web Forms. Is there a way to hide the "New Item" link on all current and future views for a list?  
    Thanks
    MM

    Lobo,
    If you want to hide "+ New Item" which come as web part top left corner, then edit web part
    Select "Data Sheet view" as default view from "Selected view" drop down of "edit web part property"
    - "Data Sheet view" as web part don't show " + New Item" link.
    If that list is display as web part in any of the page not as data sheet view as default then below steps will help.
    Make "Toolbar type" as No toolbar just below selected view
    Change view style to default to "Basic table" from "Edit the current view" of "edit web part property"
    If you want to remove "new item" from file tab of ribbon, then permission need to be removed as contributor to read only. 
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Problems using "Edit Column Widths" feature in List View component

    Hello. I'm using a list view component (Xcelsius 4.5 Professional) to display a simple table of text from Excel. I want to adjust the width of the component colums so that all of them fit on the screen at the same time- regardless of how wide they are in the excel columns. The problem is the columns in excel are of variable length; I have no way to predict how wide they will be. The list view component always defaults to the widest column(s) so it ends up pushing some of the columns to the right and  I then have to use the scroll bar to see them. I thought the "edit column widths" would allow me to force the column widths in the component (potentially truncating some of the columns), but it does not work that way.
    How is the "edit column width" feature supposed to work? What does one enter in the value for each label? Are the units in pixels? When I start entering values I get all kinds of strange behavior...

    This was a great place for me to start
    Thank you
    I took profdant139's suggestions a bit further as my real goal was to have the "Document column" narrower. The goal to be able to see all the other document info that was usually hidden way out to the right
    To achieve my results I right clicked in the upper bar with the column names and chose from the drop down box "comments" column (as suggested). I then dragged it to the far right. This pushed all the other columns over.
    In the end of the day I ended up adding "Size" and "Date modified" columns as well to get my desired results.
    Remember one can move different columns around to be in the order you need by clicking on the column to get it active and then left click and drag it to where you want
    Another great thing is that by default (Using Mavericks) the date modified, opened,created columns have date and time. One can shrink them down to xx/xx/xx format by manually adjusting the column width like one does in Excel - click on column separator up top and drag
    Once all that is done, at least on my box, I closed it out and opened up a new finder window and everything was as I wanted.
    Thank you for the help  from the above helper to get me here

  • Changing ISA Product Catalog VIEW ITEMS Dynamically - Read COMM_PCAT_VITM

    Hi,
    I need to change the ISA Product Catalog Items Dynamically. Depending on certain criteria, after the user logs into the ISA, the items in a User VIEW needs to be filtered.
    I found that the View Items are stored in table COMM_PCAT_VITM. Also after Debugging ISA, I found that the following FUnction Module is used to read the View details : COM_PCAT_VIEW_GETDETAIL_O
    However I did not find which FM is used to read the VIew ITEMS .. that is Table COMM_PCAT_VITM.
    If I can find the FM, I can enhance this FM to filter the Items Dynamically...
    Second Question is ...whats the GUID field in the Table COMM_PCAT_VITM ?
    Thanks

    Hello WDA Portal,
    In the ISA, the catalog search and display list are done through RFC calls to TREX directly. Only the attribute names and product detail are read from theCRM system. So, if you are trying to manipulate the Catalog search and results, you have to do it in the Java layer only.
    You have to extend / modify the web flow and work with the following classes.
    <li>Catalog Business Object,
    <li>WebCatInfo,
    <li>CatalogFilterFactory,
    <li>IFilter,
    <li>WebCatItemList,
    <li>IQueryStatement,
    <li>IQuery
    <br>
    The enhancement is not for the faint hearted. You must have a development environment setup and you must have good developers with you to do this type of stuff.
    Easwar Ram
    http://www.parxlns.com

  • Adding new button to Standard Page and Launching CP when clicked

    Hi,
    I have a requirement to add a new button to a standard OAF page and when it is clicked, I need to launch a Concurrent Program. Can you please let me know any links/pointers/documents where I can get the details as how this can be accomplished.
    TIA.

    anyone?

  • Change Bridge Default List View Columns

    I only view specific image information and am continually moving the list view column headers around.
    Is there a way that you can set the default list view columns to display only what you need?

    Is there a way that you can set the default list view columns to display only what you need?
    You can create your own custom workspaces using the triangle next left to the search field top right Bridge window and choose new workspace.
    First you have to define your workspace by resizing or moving the panels to other locations (grab a panel tab and it will be surrounded by bleu lines, move to other location. A horizontal line means as a row in a column. A vertical line creates a column (max 3) and a surrounding line puts it in the same location as an extra tab.
    Use either menu view / list or use the default Metadata workspace that also shows list view.
    You can right click on the title of the column in list view and from the sub menu choose to insert or close certain columns. This is rather limited in options and the name column can't be altered at all (logically I would think…)
    Try playing around and when satisfied save it as new workspace and you can always revert to it by clicking on the workspace name and sometimes also needing to use the reset workspace button (workspaces are still far from perfect but in its current state also proved to be very useful).

  • How can I get web page to retain button count values

    Hi,
    I have a button which, each time it is pressed increments a
    number. The number is shown in a text box. This all works fine, on
    my web page. However if I close the web page and then reopen it,
    the count number goes back to zero. How can I keep the number it
    was (eg 10) and keep incrementing it ?
    I have the button on Frame 1 and the text box on Frame 2.
    Thanks,
    Paul

    maith wrote:
    > Hi,
    > I have a button which, each time it is pressed
    increments a number. The
    > number is shown in a text box. This all works fine, on
    my web page. However if
    > I close the web page and then reopen it, the count
    number goes back to zero.
    > How can I keep the number it was (eg 10) and keep
    incrementing it ?
    > I have the button on Frame 1 and the text box on Frame
    2.
    You will need to use Shared Object to store the info on user
    drive.
    It is Flash's native form of cookies and works locally (from
    exe projector)
    as well as in browser.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • ALV Editable  ( Validate changed Value  )

    Hi Gurus,
    I have a requiremnet on ALV.
    I have a program ZTEST with screen no 9000.
    I have a container places on the screen 9000
    from PBO module of screen 9000
    I am passing an internal table gt_xvbep with 3 values
    VBELN ,   TIMEFROM , TIMETO
    234000    10:00:00   12:00:00
    234002    13:00:00   15:00:00
    Fields TIMEFROM and TIMETO are 'editable" and of type DATS
    When user enters a values on screen
    TIMEFROM should be always greater than TIMETO.
    I need to validate the above scenario
    When ever user enters TIMEFROM > TIMETO ans press enter I need to show an error message "TO time should be greater than FRom time"
    Please let me know how I can catch "ENTER"  event in ALV in OOPS and validate the fields
    Regards
    Avi.

    <br>Hi Avi
    <br>1) Catch the enter event or modified event. Enter event is caught whenever you press enter after edit a field. If you edit a <br>field and then press TAB to go to another field than the Enter event is NOT CAUGHT. However if you use MODIFY
    <br>event then ENTER event is also caught.
    <br>
    <br>Example:
    <br>
    <br>* Create the event or modified hanlder object
    <br>  CREATE OBJECT g_events.
    <br>  SET HANDLER g_events->data_changed FOR gref_alv_list.
    <br>
    <br>* Modify  Event
    <br>  CALL METHOD gref_alv_list->register_edit_event
    <br>    EXPORTING
    <br>      i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    <br>
    <br>* Or Enter Event
    <br>  CALL METHOD gref_alv_list->register_edit_event
    <br>    EXPORTING
    <br>      i_event_id = cl_gui_alv_grid=>mc_evt_enter.
    <br>
    <br>2) To be able to check data, you could do the following
    <br>    First, create class definition
    <br>   -
    <br>
    <br>        CLASS lcl_events DEFINITION.
    <br>           PUBLIC SECTION.
    <br>              METHODS:
    <br>                 data_changed FOR EVENT data_changed OF cl_gui_alv_grid
    <br>                            IMPORTING er_data_changed
    <br>                                               e_onf4
    <br>                                               e_onf4_before
    <br>                                               e_onf4_after
    <br>                                               e_ucomm.
    <br>
    <br>         ENDCLASS.                  
    <br>
    <br>   Second, implementation
    <br>   -
    <br>
    <br>   METHOD data_changed.
    <br>    DATA: ls_mod TYPE lvc_s_modi,
    <br>          ls_ins TYPE lvc_s_moce,
    <br>          ls_del TYPE lvc_s_moce.
    <br>
    <br>*  To get rows that have been deleted if needed
    <br>    LOOP AT er_data_changed->mt_deleted_rows INTO ls_del.
    <br>    ENDLOOP.
    <br>
    <br>*  To get rows that have been inserted if needed
    <br>    LOOP AT er_data_changed->mt_inserted_rows INTO ls_ins.
    <br>    ENDLOOP.
    <br>
    <br>*  To get cells that have been changed if needed
    <br>    LOOP AT er_data_changed->mt_mod_cells INTO ls_mod.
    <br>
    <br>*       You do your verififcation here
    <br>*       Add Message error if necessary by calling add_protocol_entry
    <br>
    <br>       call method er_data_changed->add_protocol_entry
    <br>        exporting
    <br>            i_msgid     = sy-msgid
    <br>            i_msgty     = sy-msgty
    <br>            i_msgno     = sy-msgno
    <br>            i_msgv1     = sy-msgv1
    <br>            i_msgv2     = sy-msgv2
    <br>             i_msgv3     = sy-msgv3
    <br>            i_msgv4     = sy-msgv4
    <br>            i_fieldname = Your table filed name here or any other value
    <br>            i_row_id    = Your table row number here or any other value
    <br>
    <br>*      Display message error if necessary by calling add_protocol_entry
    <br>      CALL METHOD er_data_changed->display_protocol.
    <br>
    <br>    ENDLOOP.
    <br>  ENDMETHOD.                    "data_changed
    <br>Dean Q.
    <br>Good luck
    Edited by: Dean Q on Nov 3, 2009 9:52 PM

  • Select tag changes value on hovering above item.

    I looked it up and found out it's a firefox issue. When I click on my select box it opens the menu like normal but when I hover over a value it changes the value to that, but when it looses focus it doen't select.

    Do you mean that you can't select an item in a Select box on a web page if you click it to open the list?
    Can you select an item with the cursor Down and confirm with Space or Enter?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Split library, folder names and paths are in a mess. Need to get library all in one place on my storage drive and off my OS drive. In a fix!

    Help appreciated on this one as I'm OK on my PC but far from a whizz. Done a little investigation and reading of https://discussions.apple.com/thread/5199195?start=0&tstart=0 but I just can't seem to get anywhere and end up with a very underpopulated

  • My apple id has been disabled, what do i have to do?

    Hi I having problems downloading music, films and tv programmes as your system advises that my Apple ID has been disabled. I haven't logged into my account for a couple of months so maybe that is the problem, can you please advise? regards, Darren

  • Save for Web causes error in PSE7

    Hi, When I click on Save for Web I get the error message shown below. I have PSE7 and windows 7. I've tried the usual things like deleting the settings file. I have also re-installed the application, however I used the control panel uninstall and the

  • PIVOT Function in isqlPlus ???  HELP please!

    I need to Pivot a column of Numeric data in a table. The data is as follows: (I generate this table in a VIEW): COL1 COL2 COL3 jdoe green -1 jdoe blue -1 jdoe yellow 0 jdoe red 0 jdoe orange -1 asmith blue 0 asmith green -1 asmith gold 0 asmith yello

  • How to access dialing lists in UCCX 8.0?

    Hello Pros This is our first UCCX live environment and among the issues we have faced is the fact that we haven't found a way to "easily" (that means not through pure SQL queries) access the dialing lists from the Outbound Preview Dialer once they ha