Tabset double click error with dataprovider

Ok, it's not simple to explain but i'll try.
I have an application that uses 3 DataProvider objects to modify data about a sport society. the first (bounded to a dropdownList) performs query on regions, the second (bounded to a dropdownList) performs query on cities depending on region. The last one performs query on data society.
I have two tabs:
one permits to change data about society residence information, the other permits to change data about society address information: so the three DataProvider are always necessary in both tabs.
My problem starts when i make a double click on a tab link ( i click repeatedly fast on the link):
the code executed is:
try
//set region (province) reference for city (comune) selection
getSessionBean1().getTbl_comuniRowSet().setLong(1, getSessionBean1().getTbl_societaRowSetSingolo().getLong("provincia_corrispondenza"));
tbl_provinceDataProvider.refresh();
tbl_comuniDataProvider.refresh();
}catch(Exception ex)
log("error",ex);
return null;
My problem is:
Sometimes data are not rendered well. example:
before action data are:
region: Lazio
city: rome
rome is a city located in Lazio.
After clicking repeatedly on the tab link i have:
region: Aosta
city: Allein
Allein is a city located in Aosta.
Aosta is the first record in database table and the first element in dropdownList.
Sometimes i got also "execute() never called" exeception.
Any suggestion?
thanks in advance
marcob
Message was edited by:
info_77

I created a simple scenario to observe your problem. I created a tab set with 2 tabs. The action code for each tab is as follows:
    public String tab1_action() {
        log("tab 1 clicked");
        return null;
    public String tab2_action() {
        log("tab 2 clicked");
        return null;
    }No matter how quickly I double-click a tab, the action method only gets called once.
Is there some simple scenario that you can present that will make it easy to duplicate your problem?
nClick event:
disableButton();That should be
setTimeout('disableButton()', 1)

Similar Messages

  • ALV Grid Control Double click error

    Hi
    In my Editable ALV Grid Control I input the data ,then click save, the program display error msg if any errors , then i double click in any field ,after that I exit from the program , here i dont want this after double click also the control should be on the same field.Pleace help me out this issue.
    THX

    But what you will do with the error data. you tell me that.
    Don't update some error values to DB.
    if you don't want error then check this sample code.
    report  ztest_alv_edit.
    data: it_flight type standard table of sflight.
    data: it_fcat type lvc_t_fcat,
          wa_fcat type lvc_s_fcat.
    data: grid type ref to cl_gui_alv_grid,
          cont type ref to cl_gui_custom_container.
    class lcl_event_receiver definition deferred.
    data: g_handler type ref to lcl_event_receiver.
    *       CLASS lcl_event_receiver DEFINITION
    class lcl_event_receiver definition.
      public section.
        methods:
          handle_data_changed
             for event data_changed of cl_gui_alv_grid
                 importing er_data_changed.
    endclass.                    "lcl_event_receiver DEFINITION
    *       CLASS lcl_event_receiver IMPLEMENTATION
    class lcl_event_receiver implementation.
      method handle_data_changed.
       "this is important
       "this will stop poping the message
       clear er_data_changed->mt_protocol.
      endmethod.                    "handle_data_changed
    endclass.                    "lcl_event_receiver IMPLEMENTATION
    start-of-selection.
      select * from sflight
      into table it_flight
      up to 20 rows.
    end-of-selection.
      call screen 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    module status_0100 output.
      set pf-status 'STATUS'.
      if cont is initial.
        call function 'LVC_FIELDCATALOG_MERGE'
          exporting
            i_structure_name       = 'SFLIGHT'
          changing
            ct_fieldcat            = it_fcat
          exceptions
            inconsistent_interface = 1
            program_error          = 2.
        create object cont
          exporting
            container_name              = 'CONT'
          exceptions
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            others                      = 6
        if sy-subrc ne 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
        wa_fcat-edit = 'X'.
        wa_fcat-checktable = '!'.
        modify it_fcat from wa_fcat transporting edit checktable
        where fieldname = 'FLDATE'
        create object grid
          exporting
            i_parent          = cont
          exceptions
            error_cntl_create = 1
            error_cntl_init   = 2
            error_cntl_link   = 3
            error_dp_create   = 4
            others            = 5
        if sy-subrc ne 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
        call method grid->set_table_for_first_display(
           changing
             it_outtab                     = it_flight
             it_fieldcatalog               = it_fcat
           exceptions
             invalid_parameter_combination = 1
             program_error                 = 2
             too_many_lines                = 3
        if sy-subrc ne 0.
          message id sy-msgid type sy-msgty number sy-msgno
                     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
        "Important for editable grid
         call method grid->register_edit_event
                   exporting
                      i_event_id = cl_gui_alv_grid=>mc_evt_enter.
         create object g_handler.
        "setting the handler
        set handler  g_handler->handle_data_changed for grid.
      endif.
    endmodule.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    module user_command_0100 input.
      "important method to trigger the DATA_CHANGED event
      call method grid->check_changed_data.
      case sy-ucomm.
        when 'BACK'.
          leave to screen 0.
      endcase.
    endmodule.                 " USER_COMMAND_0100  INPUT

  • Bridge CS6 crashes with double-click, not with "open with"

    Bridge cs6 keeps crashing whenever I double click on a file (jpg/psd/raw files).
    After reading on this forum I couldn't find anything that worked for me.
    The strange thing is, when I select a file  right click    open with   photoshop CS6 (default) the file opens without any problem in Photoshop.
    I have my default file associations of all (image) files set to photoshop CS6.
    Any Ideas what can be the problem?
    (windows 7 Ultimate  and I have double-click edits camera raw setting in bridge marked off, and bridge crashes too when it is marked on)
    Thanks!

    Have made comments on this in Photoshop forum, but have not solved problem yet.  http://forums.adobe.com/thread/1184356?tstart=0

  • Bridge CS6 crash with double click not with "open with"

    Bridge cs6 keeps crashing whenever I double click on a file (jpg/psd/raw files).
    After reading on this forum I couldn't find anything that worked for me.
    The strange thing is, when I select a file  right click    open with   photoshop CS6 (default) the file opens without any problem in Photoshop.
    I have my default file associations of all (image) files set to photoshop CS6.
    Any Ideas what can be the problem?
    (windows 7 Ultimate  and I have double-click edits camera raw setting in bridge marked off, and bridge crashes too when it is marked on)
    Thanks!

    well it never worked, and I installed several times. I kept working with bridge CS5, but I have a new camera with raw files only supported in CS6, so now I'm confronted with this problem again.
    Also tried ctrl + open to reset & purge everything....
    here's my log.
    Faulting application name: Bridge.exe, version: 5.0.2.4, time stamp: 0x50d99f7a
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x0012f9f8
    Faulting process id: 0x17a0
    Faulting application start time: 0x01ce30d973f12912
    Faulting application path: C:\Program Files\Adobe\Adobe Bridge CS6\Bridge.exe
    Faulting module path: unknown
    Report Id: b4367997-9ccc-11e2-80b9-20cf30c9d4c4

  • Double NAT Error with Airport Extreme and Airport Express

    I have an Airport Extreme 802.11n base station which is connected to my DSL Modem/ Router via Ethernet. I have a MacPro which does not have an airport card installed so I bought an Airport Express 802.11n - which is connected to my MacPro via ethernet - and thus provides my MacPro with internet access.
    Originally I had the APExtreme and the APExpress set up in a WDS - all worked well - my other wifi equipped macs and devices in the house connected to the network with no problem, but I did notice that the maximum throughput I was getting was 802.11g speeds - this is of course due to the overhead of the WDS.
    I originally purchased these 802.11n devices because I wanted the higher throughput - so I decided to terminate the WDS and just have the APExpress (attached to my MacPro) "join" the wireless network instead of extending it - which works and I am enjoying the 802.11n speed.
    So, I just upgraded a couple of my Macs to 10.6.2 and was going to start using "Back to My Mac" and I got the error that there is a double NAT address problem and that "Back to My Mac" won't work until this is resolved.
    I know that going back to a WDS will resolve the double NAT problem - but I don't want to take the performance hit that goes with the WDS.
    So, short of buying an Airport card for my MacPro (which would eliminate the need of the APExpress)
    Is there any other way to resolve this double NAT problem besides WDS?
    Thanks for any advice.

    First of all thanks for your quick reply!
    Connecting my MacPro to the Airport Extreme would be a serious pain as the DSL Modem and APExtreme are upstairs near the only connection point in the building to a phone line - and my MacPro is downstairs.
    I suppose I could dig out a very long ethernet cable to perform the test. But before I jump through that hoop - please explain to me what you are trying to get at - in other words - what does it mean if this resolves the double nat error - and what does it mean if it does not?

  • Double-Click speed with new TrackPad preference pane

    I have an original white MacBook. Ever since I updated to 10.5.6 with the new Trackpad preference Pane no matter where I set the Double-click speed setting (everywhere from slow to fast) I constantly get a double click event even when I single click the track pad. Prior to 10.5.6 the trackpad worked perfectly. Has anyone else noticed different behavior since the update? Any solution to getting the correct double-click speed to stick?

    I've got a similar problem, but in the opposite direction.
    After the 10.5.6 update, my double click speed sticks to slow.
    I can change it and make it faster, but after every boot, it starts up with a slow speed again.
    I'm on a Early 2008 Macbook Pro (first multitouch, last non unibody)

  • Double Click Navigation with ABAP Source Codes of Reports On ABAP Workbench

    Hi,
    i have a problem about double click on abap source code on abap workbench. double clicking doesn't work after first double clicked on abap codes. that is going to row of first double clicking.
    did anyone have the same problem? can somebody help me please?
    thanks.

    Nurullah RÜSTEM wrote:
    > isn't there any radical solution to solve this problem?
    > these are very kill-time
    You feel
    Source Code Editor --> Utilities --> Update Navigation Index
    is not radical & kill-time.
    Can you please define "radical" & "kill-time" ?
    BR,
    Suhas

  • Double Click handling with Submit Button

    Does a submitButton on the page automatically handle / block the user's double click action?
    I have an application where a submit button causes processing & commits to occur.
    I want to make sure that when the user "double-click" the button, it doesn't cause problems.
    Thanks

    Hi
    Does a submitButton on the page automatically handle / block the user's double click action?No it doesnot handles so..
    You can write the below code in processRequest method of your controller to disable the button till the moment processing is going on,After processing completes you can again click submit button.
    OAWebBean body = pageContext.getRootWebBean();
    if(body instanceof OABodyBean)
    ((OABodyBean)body).setBlockOnEverySubmit(true);
    }Please refer to this article for more details
    http://mukx.blogspot.com/2009/12/blocking-user-on-submit-action-in-oaf.html
    Moreover,if you want to disable the button after first click then on click of get an event redirect it to same page and make it disabled or use Partial page rendering for this.
    Thanks
    AJ

  • Compilation error with dataProvider attribute

    My objective is to have a ComboBox itemEditor for a column in
    a DataGrid. This
    will get used in a number of places in our app, for example
    to add an order
    line to an order. We would want the ComboBox to be populated
    with the list of
    available products, and Flex goes most of the way to
    providing that
    functionality. But I get a compilation error on a line that I
    would expect to
    work. Here's the full sample:
    quote:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    height="700" width="700"
    creationComplete="onLoad()">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var myDP:Array = [
    {label1:"P1", quantity:3},
    {label1:"P2", quantity:3}
    [Bindable]
    public var products:Array = [ {label:"P1", data:1},
    {label:"P2", data:2}, {label:"P3", data:3} ];
    public function onLoad():void
    ProductsRequest.send() ;
    ]]>
    </mx:Script>
    <mx:HTTPService id="ProductsRequest"
    url="
    http://localhost:3000/lists/productlist"
    useProxy="false"/>
    <mx:Component id="ProductCodeEditor">
    <mx:ComboBox
    dataProvider="{ProductsRequest.lastResult.products.product}"
    labelField="name"/>
    </mx:Component>
    <mx:ComboBox
    dataProvider="{ProductsRequest.lastResult.products.product}"
    labelField="name"></mx:ComboBox>
    <mx:DataGrid id="myDG" dataProvider="{myDP}"
    variableRowHeight="true"
    editable="true">
    <mx:columns>
    <mx:DataGridColumn dataField="label1" headerText="Product
    Code" itemEditor="{ProductCodeEditor}"/>
    <mx:DataGridColumn dataField="quantity"
    headerText="Quantity"
    editorDataField="value">
    <mx:itemEditor>
    <mx:Component>
    <mx:NumericStepper stepSize="1" maximum="50"/>
    </mx:Component>
    </mx:itemEditor>
    </mx:DataGridColumn>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    I get a complation error on the following line
    quote:
    <mx:Component id="ProductCodeEditor">
    -->> <mx:ComboBox
    dataProvider="{ProductsRequest.lastResult.products.product}"
    labelField="name"/>
    </mx:Component>
    The error message is "Access of undefined property
    ProductsRequest"
    However, the other <mx:ComboBox> definition compiles
    and works fine. In
    other words, in the sample code (shown again below) we have
    two <mx:ComboBox>
    definitions with the same dataProvider definition. The one on
    line 33 compiles
    and works, the other doesn't, and the only difference is that
    one of them is
    within a <mx:Component> declaration.
    quote:
    27 <mx:HTTPService id="ProductsRequest"
    url="
    http://localhost:3000/lists/productlist"
    useProxy="false"/>
    28
    29 <mx:Component id="ProductCodeEditor">
    30 <mx:ComboBox
    dataProvider="{ProductsRequest.lastResult.products.product}"
    labelField="name"/>
    31 </mx:Component>
    32
    33 <mx:ComboBox
    dataProvider="{ProductsRequest.lastResult.products.product}"
    labelField="name"></mx:ComboBox>
    I really can't believe that this behaviour is by design. If
    it is, could
    somebody tell me what this design is, and how I am supposed
    to populate a
    combobox with product codes in a grid?
    Thanks,
    Ed.

    Sorry, I see you are trying to do that. I am not yet familiar
    with inline renderers.
    However, I suspect a scope issue. I bet the renderer
    component does not have access to the application scope, where the
    dataService is declared.
    This doc might help:
    http://livedocs.macromedia.com/labs/1/flex20beta3/00000857.html
    Tracy

  • Runtime Error with Se80 and Wedbynpro

    We just upgraded to SAP ECC6.0.  I have created a webdynpro using Se80 and I am following a demo when I am ready to add a tray and objects to the layout tab of my view.
    Unfortunately I get an error that reads:
    A runtime Error has occurred.  Do you wish to Debug?
    Line: 23
    Error: Object Expected
    I also notice that all the images under favorites, text, action ,etc. come up as a RED "X".
    Any help would be greatly appreciated.
    Thanks,
    Anthony

    Hi Anthony.
    I think problem is in host file settings.
    just go through the way like this.
    run->drivers->etc->hosts
    just cut the hosts file paste it in desktop .double click  open with NOTEPAD
    make it like this. give the server IP ADDRESS AND SERVER NAME correctly.
    183.82.97.76    cstehp5.cst.com
    after chagnes done just cut and paste in ETC folder.
    REGARDS
    jayaprakash .T

  • Double click and get and store the value in variable.

    Hi,
    My intention is when i double click a particular record on a tabular, i want to capture or store the particular value of record into a variable and call that variable in print/preview button PLSQL code.
    Below i show the screenshot which contain a tabular and print preview button. After populating the data. the user will double click on the agent code LC354 and click the print/preview button it should display report for only the
    agent code of LC354(this is what i want). But normally when i click the print preview button it wil show the report of agent code of LC354 and LC325(this what i dont want).
    http://imageshack.us/photo/my-images/811/printpb.png/
    My problem is how to capture the value((*LC354*)) of particular record after double click the agent code(*LC354*)?
    i tried to store agent code in variable AG_CNT in mouse double click trigger with following plsql code. but it dosent work.
    declare
    AG_CNT varchar2(10);
    begin
    *AG_CNT* :=GET_ITEM_PROPERTY('RFQ_AGENT_DETAILS.AGENT_CODE',CURRENT_RECORD);
    end;after that pass that AG_CNT value in *:AG_CODE*. below code is in print/preview button.
         cursor c1 is select nvl(count(ENQUIRY_NO),0) from scott.EXP_QUOTE_STATUS
         where ltrim(rtrim(upper(job_status))) like 'APPROVED%' and ENQUIRY_NO = :REQ_FOR_QUOT.ENQUIRY_NO
    AND AGENT_CODE=*:AG_CODE* ;how to do this?
    skud.

    Hi skud
    i juast want to store the agent code to variable.if i did get ur point...
    Why don't u just use a simple assign statment for example...
    DECLARE
    V_VALUE  NUMBER;
    BEGIN
    V_VALUE := LC354 ; -- IF it was a value as LC354 static i mean
    -- or u could use any value
    V_VALUE := :ur_form_item_name; --- if it was dynamic
    END;That's it .
    Hope this helps...
    Regards,
    Ammatu Allah.

  • ALV Class Double click event

    Hi All,
    I have created an alv report using alv class. I have handled the double click event in that i am calling transaction using row currenlty selected. But after doing subtotalling the list and then i double click a line it is passing wrong data.
    Points are awarded,
    Regards,
    Bharat Mistry
    Message was edited by: Bharat Mistry

    Hi Bharat,
    Read the internal table contents in double click event with e_row-index , then you will get the data of that particular row.
    check below code :
    local class to handle semantic checks
    CLASS lcl_event_receiver DEFINITION DEFERRED.
    DATA: g_event_receiver TYPE REF TO lcl_event_receiver.
    LOCAL CLASS Definition
    *§4.Define and implement event handler to handle event DATA_CHANGED.
    CLASS lcl_event_receiver DEFINITION.
      public section.
        METHODS:
          handle_double_click
                 FOR EVENT double_click OF cl_gui_alv_grid
                 IMPORTING e_row e_column.
    ENDCLASS.
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_double_click.
      read table gt_outtab index e_row-index into
    Regards
    Appana
    *Reward Points for helpful answers
    Message was edited by: L Appana

  • Magic Mouse single click double clicks and drops dragged images

    Last few weeks my Magic Mouse has started behaving strangely. When selecting something with a single click the mouse seems to double click and open the item instead of just selecting it. Very frustrating. When dragging anything across the screen it always drops the item halfway there.
    What is going on? Software? Hardware? I have no 3rd party software installed and have tried various double click speeds with the same result.
    Anyone have any ideas? Thanks.

    A lot of people have encountered this, Tom, myself included (see discussion here for instance: http://discussions.apple.com/thread.jspa?messageID=11547453&#11547453).
    It appears to be a bug in the OS. Annoying, but until Apple fix the problem, it's something we're unfortunately going to have to live with. Sorry I can't help you further.

  • HT4623 After my last and latest update on I phone 5, I can no longer delete app running in background by double clicking the home button. When I do double click the home button  to swipe off the apps running....nothing at all happens, hence the apps must

    After my last and latest upgrade to Iphone 5, i can no longer delete open app by tapping the home button twice, and then swiping off the screen.  In effect these apps are open and using data. This has only just occured since the upgrade to ios 7.1.1  After many attempts to press home button twice....nothing happens, and so app are open. Please advise? any answers?

    Hey there 111brownyn
    Go to Settings>General>Accessability>Assistive touch(in the bottom)
    and switch the toggle on. You'll find now a smaal square around your screen.
    Touch it aand perform the double click gesture with the virtual home button on the screen.
    I think your Home button has been damaged.
    Do let me know if it worked

  • Incorrect detection of double-clicks in layers and channels windows. (Mac OS X 10.6.8)

    Photoshop will detect a double-click in the layers and channels panels even when there are different modifier keys held down on the first click vs. the second click.
    I have never intended to double-click and accidentally changed the modifiers I was holding down between clicks.  I often perform an action requiring modifier keys and immediately follow it with an action that requires no modifiers (or different modifiers).
    I realize that the conventions for what constitutes a double-click are platform dependent and not particularly well documented, but I do expect Photoshop to work the way that my operating system does (Mac OS X 10.6.8)).  I know older versions of Windows detected double-clicks even when modifiers were changed between clicks, but I believe the latest versions behave similarly to OS X.
    Examples:
    Start by having a document open with multiple alpha channels and layers in it.
    Select an alpha channel by clicking on it's thumbnail in the channels panel.
    Quickly hold down the control key and click again.
    Result: this brings up the "Channel Options" window. (as if you had double-clicked)
    Expected result: should bring up the channel's contextual menu.
    Bonus extra nitpick:  The window opened on mouse-down, not on mouse-up.
    Create a non-blank alpha channel.
    Hold down the command key and click on that alpha channel's thumbnail. (loads the channel into the selection)
    Quickly release the command key and press the mouse button.
    Result: Brings up the "Channel Options" window. (as if you had double-clicked)
    Expected result: Start a drag operation on the channel.
    Click on a layer in the layers panel to select it.
    Move the mouse pointer to a different layer.
    Hold down the shift key and click to select multiple layers.
    Quickly release the shift key and press the mouse button.
    Result: Brings up the "Layer Style" window.  (as if you had double-clicked)
    Expected result: Begin a drag operation.
    Bonus extra nitpick:  The window opened on mouse-down, not on mouse-up.
    Interestingly the layers panel does the correct thing when control is pressed between clicks, but the channels panel does not.
    The options windows opening on mouse-down instead of mouse-up has never bothered me, but I believe it goes against convention.
    Thanks.

    Very detailed report, Jay. I was able to see exactly what you're talking about, and reproduce this using my trackpad. I'm wondering if this is an OS issue, or something that can be tweaked in Photoshop. Even with files in Finder, you can activate a double-click even with a slight hesitation, which is similar to the behavior in Photoshop.

Maybe you are looking for

  • Ghost recon, came with card, doesn't work for v1.3/1.4

    I think it is sort of bad news when even the games they package with the retail box don't quite work. Card: MSI geforce fx 5200 8x 128MB (running at 2x at the moment) memory: crucial 512MB 2700 MB: ECS K7VTA3 v3.x What else do you want to know? This

  • FCP won't launch

    I have been using FCP for about three weeks now. Suddenly when I try to launch it, it opens briefly and then shuts down. What's up? How do I launch it?

  • HT201365 how do I turn off find my iphone?

    I'm trying to restore a backup, but I keep getting a request to turn off Find My iPhone. It says that I should go to iCloud Settings and turn off Find My iPhone. However, on the iCloud Settings, Find My iPhone is greyed out. I don't want to restore m

  • Video and Computer trouble

    I have been having a lot of weird issues lately. A lot of programs are becoming unresponsive. It also seems that when one becomes unresponsive, others will follow. So if FCP becomes unresponsive, Safari does as well or Firefox or text edit, etc. In m

  • Nokia X2-00 big problem with MMS receive

    I have 2 nokia X2-00 and is a very good phone but mms is a big big big problem. So. If I want to send mms from X2 to other phone all is good and the image can be view very good on other phone. BUT. If I receive MMS on my X2, the image is very poor, v