How to capture closable action in UI Tab Shell?

Hi,
I am using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. I want to capture the closable action on click of red cross sign on the top right corner of the tab in UI Tab Shell. Can anyone please provide me sample code for the same?
Thanks,
Vik

Hi Vik,
could you get this answer for Fusion UI shell Tab closeable event?
Regards
Jam

Similar Messages

  • How to add custom action for Publishing Tab on Pages?

    I am able to add a custom action for libraries tab on document library , but i am unable to add it on Publishing tab on Pages.
    Below is the code , what i am trying.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItems"
    Location="CommandUI.Ribbon"
    RegistrationType="List"
    RegistrationId="850"
    Sequence="40"
    Title="Move Documents">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.PublishTab.Publishing.Controls._children">
    <Button
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItemsButton"
    Alt="Check Linked Page Assets"
    Sequence="40"
    Command="CheckLinkedPageItems"
    Image32by32="/_layouts/images/centraladmin_systemsettings_email_32x32.png"
    LabelText="Check Assets"
    TemplateAlias="o1"
    ToolTipTitle="Check Linked Page Assets"
    ToolTipDescription="Checks each image, document and page linked to from this page and verified if the asset is both working (not a broken link) and published. You may also use that page to publish all unpublished assets at once."
    />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="CheckLinkedPageItems" CommandAction="javascript:alert('button clicked!);" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    any thoughts?

    Hi,
    Check the secquence number . I don't see any issue in your code. Try with different sequence numbers.
    Did you find this Helpful? Please Mark it So! Thank you. Sachin Kumar

  • How to capture jframe or jinternalframe 's  max action?

    windowActivated(WindowEvent e)
    Invoked when the Window is set to be the active Window.
    void windowClosed(WindowEvent e)
    Invoked when a window has been closed as the result of calling dispose on the window.
    void windowClosing(WindowEvent e)
    Invoked when the user attempts to close the window from the window's system menu.
    void windowDeactivated(WindowEvent e)
    Invoked when a Window is no longer the active Window.
    void windowDeiconified(WindowEvent e)
    Invoked when a window is changed from a minimized to a normal state.
    void windowIconified(WindowEvent e)
    Invoked when a window is changed from a normal to a minimized state.
    void windowOpened(WindowEvent e)
    windowLIstener only has these interface, but i want to capture max action,how can i do?

    WINDOW_ACTIVATED
    The window-activated event type.
    static int WINDOW_CLOSED
    The window closed event.
    static int WINDOW_CLOSING
    The "window is closing" event.
    static int WINDOW_DEACTIVATED
    The window-deactivated event type.
    static int WINDOW_DEICONIFIED
    The window deiconified event type.
    static int WINDOW_FIRST
    The first number in the range of ids used for window events.
    static int WINDOW_GAINED_FOCUS
    The window-gained-focus event type.
    static int WINDOW_ICONIFIED
    The window iconified event.
    static int WINDOW_LAST
    The last number in the range of ids used for window events.
    static int WINDOW_LOST_FOCUS
    The window-lost-focus event type.
    static int WINDOW_OPENED
    The window opened event.
    static int WINDOW_STATE_CHANGED
    windowstatelistener only can knows above event properties, it cannot clearly tell max action

  • How can i set action on UITaBar and get event from that

    Hi All,
    I m doing one apps in which i have to add three UITabBarItem and this is UITabBarSystemItem.
    Now i cannot understand that how can i set action and get event from the?
    And how can i set various views on three tab bar item.
    I have to use UITabBar means i have to use UINavigationController+UITabBar
    My code id
    tabBar =[[UITabBar alloc] initWithFrame:CGRectMake(0,370,320,50)];
    tabBar.backgroundColor =[UIColor blackColor];
    UITabBarItem *search =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
    UITabBarItem *recents =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemRecents tag:1];
    UITabBarItem *favorites =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorit es tag:2];
    tabBar.items =[[NSArray arrayWithObjects:search,recents,favorites, nil] retain];
    tabBar.selectedItem = search;
    [myView addSubview:tabBar];
    [tabBar release];
    I add a action:
    UITabBarItem *search =[[UITabBarItem alloc] InitWithTabBarSystemItem:UITabBarSystemItemSearch tag:0 action:@selector(select:)];
    So it error: Warning -no'InitWithTabBarSystemItem:tag:action:' method fount
    So any can help me regarding it?

    Thanks RickMaddy very much.
    I read and do with sample at the View Controller Programming Guide . But when run it only view TabBar with title but haven't got any TabBarItem on it. I searched a few example about TabBar and i did, but i want do a form with a button then press on button it view a form with 2 TabBarItem on TabBar and press each TabBarItem will show correlative form page 1, page 2.
    UITabBarController *tabBarControl = [[[UITabBarController alloc] initWithNibName:nil bundle:nil] autorelease];
    tabBarControl.title = @"Tab bar";
    ViewControl1 *view1 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl1" bundle:nil] autorelease];
    ViewControl1 *view2 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl2" bundle:nil] autorelease];
    tabBarControl.viewControllers = [NSArray arrayWithObjects:view1,view2,nil];
    [self.navigationController pushViewController:tabBarControl animated:YES];

  • How to capture a parameter value in SQL QUERY of scale marker using GO URL

    Hi,
    Can any one please tell me how to capture the parameter value from go url inside Where clause of Scale Marker.
    I am trying to sift the position of scale marker based on SQL Query.
    Thanks-Bhaskar Gouda.
    Edited by: 961171 on Sep 25, 2012 12:33 AM

    Since this is a synchronous interface, where source is a soap(proxy) call and target is JDBC in the first mapping both of them are request scenarios.
    Source Structure:
    RootNode
        Request             1...unbounded
           No_of_Days   1.1 String
    Target Structure:
    RootNode
       Statement
         TableName
             Action mapped to SQL_QUERY
            Access -  SELECT DISTINCT AL.EC_NO,DP.DATE_TO_FORMAL FROM T_APPLICATION_LIST AL,(SELECT DE.EC_NO AS "EC_NO", DE.PACKAGE_NO AS "PACKAGE_NO",PC.DATE_TO_FORMAL AS "DATE_TO_FORMAL" FROM DAICYO_ECNO DE,PACKAGECTL PC WHERE DE.PACKAGE_NO = PC.PACKAGE_NO AND PC.DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$'))) DP WHERE AL.EC_NO IN  (SELECT EC_NO FROM DAICYO_ECNO WHERE PACKAGE_NO IN (SELECT PACKAGE_NO FROM PACKAGECTL WHERE DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$')))) AND (AL.FAMILY = ''  or  '' is null and AL.FAMILY is not null ) and DP.EC_NO = AL.EC_NO ORDER BY DATE_TO_FORMAL
         Key
          No_Of_Days   1..1 String
    In Return I am expecting a JDBC response from the Oracle Database as:
    Source Structure:
    RootNode
      STATEMENT_response   1...unbounded
         row                               0...undbounded
           EC_NO                        1..1   String
    Target Structure:
    RootNode
      RESPONSE
        row
         EC_NO                     1..1     String

  • How to initiate some action when user clicks a field in CRViewer?

    <p><span style="font-family: Courier"><font size="1">ReportObjects doesn't expose click event despite the fact that a field can get focus frame, you can even tab from field to field. </font></span><span style="font-family: Courier"><font size="1">Drill() event works only on group names.</font></span><span style="font-family: Courier"><font size="1">So, how to initiate some action (based on a clicked field value) when user clicks a field in CRViewer?</font></span><span style="font-family: Courier"><font size="1">After doing some googling, have found that something similar exists but it's FoxPro API</font></span></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">From some PDF: </font></span></strong><strong><span style="font-size: 12pt; font-family: Courier"><font size="1"> </font></span></strong></p><p><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> Report objects events</font></span></strong> </p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Report object events occur when you click or double-click a field, </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>heading, or label in a report.</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>Doing this creates the EventInfo object. This object contains </font></span></p><span style="font-size: 10pt; font-family: Courier"><font size="1"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>information about the event and</font></span> <p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><span style="font-size: 12pt; font-family: Courier"><font size="1"><strong>> </strong></font></span>passes as a parameter to the event method. </span><strong><span style="font-size: 10pt; font-family: Courier">Table 3 </span></strong><span style="font-size: 10pt; font-family: Courier">lists the</span></font></p><p style="margin: 0cm 0cm 0pt; line-height: normal" class="MsoNormal"><font size="1"><span style="font-size: 10pt; font-family: Courier"><strong><span style="font-size: 12pt; font-family: Courier"><font size="1">> </font></span></strong>EventInfo object properties.......</span></font></p>

    The article you found refers to the ActiveX viewer which is used with the COM-based tool called Report Designer Component. Since you have posted to the .NET forum, I'm assuming you're not using the RDC and therefore this article will not apply.
    Recently, Click events were added to the Windows Form Viewer to get similar functionality as the ActiveX viewer. Take a look at the following link for more information....
    [http://diamond.businessobjects.com/node/2109 | /node/2109]
    However, if you are using the CR Web Forms Viewer in an ASP.NET app, then this functionality is not available.

  • How to capture the event in ALV grid display?

    Hi experts,
      How to capture the event in an ALV grid display which is editable. I have to capture the TAB key or ENTER key.
    regards,
    Arul Jothi.

    Hi Arul,
    Take a look at sample program BCALV_EDIT_03. (Find string "register ENTER" in the program to see how to register)
    Basically you have to Register edit events using method call REGISTER_EDIT_EVENT and then write a handler method for event DATA_CHANGED..
    If you are using a REUSE..GRID fm then first get the grid reference using function module GET_GLOBALS_FROM_SLVC_FULLSCR and then repeat the above procedure..
    Hope this helps..
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • How to capture signature on mobile and send it to the bapi

    Hi all,
    I developed an Mobile application(7.1) in which signature capture should be there.
    1)How to capture this signature and send it to the backend .
    2)How I have to define the function module for this requirement?
    Thanks and regards,
    Rajesh

    Hi Rajesh,
    Here are the steps:
    1. First, you have a signature capture tool. Most of the phones come with their own signature capture tools. For example, for Pocket PC - you can go to the MSDN site and then download the capture program.
    2. The captured signature should then be stored as an JGP/ PDF/ or any version.
    3. In your mobile application, you have to convert this file into binary format. This must be uploaded to the mobile middleware
    In the mobile middleware, you must ensure that attachments are enabled. You can refer to this [link |https://www.sdn.sap.com/irj/scn/wiki?ath=/display/mobile/createapplicationsusingBinaryMemoandTextMemoinNetweaverMobile+7.1] for actions that you must do in the middleware and in the back-end.

  • Can I video capture 'live action' from Viewer screen ...

    Can I capture 'live action ' video as it appears on the 'viewer screen' in iMovie as I move the cursor across the 'source video' clips. Does iMovie allow me to record this 'action' to hard drive ?? ... Suggestions greatly appreciated.

    it is this 'rapidly changing 'still' images' as it appears in the 'viewer' that I want to record.
    You could use a screen capture application like Snapz ProX to capture the "preview" window as it is either playing or being "scrubbed." On the other hand, if you have QT Pro, you could also export the original source clip as a sequence of still images (image frequency can be selected by the user) to a folder and then simply open the "Image Sequence" using QT Pro to create a motion clip with a user selected frame rate for viewing. This approach would provide a more even playback than a screen capture of a "scrubbed" playback which depends on how fast and steadily you "scrub" the file.

  • How to use the action OnExpandAll on UI element Tree

    Hi, experts .
    I am in WDA developing project and developing the screen which has Tree .
    I want to expand all nodes when users click the button on the head of Tree .
    I copied the application `WDT_TREE` and created Tree of my application successfully .
    And I created the action OnExpandAll on my Tree and tried to create the function to expand all nodes .
    But I do not know how to use the action OnExpandAll .
    I can see the button to start action OnExpandAll on the head of Tree .
    I am trying to write logic in the action . But it does not work successfully .
    (In my tree , when I click the button for OnExpandAll , all nodes are outputted on root node .
    Because my logic is wrong ... )
    Please give me any hints .
    Masao

    Hi
    As your case it is a recursive node.
    then you have to create method and call it recursively for the expanall functionality.
    do it like this.
    create an attribute the node FOLDER
    name = 'ISEXPANDED'
    type = WDY_BOOLEAN.
    Now bind the property expanded of treenode FOLDER UI to this attribute.
    now go to the methods tab and create one method say name ZEXPANDALL.
    in thsi method make one importing parameter of type ( type ref to ) if_wd_context_node. and name NODE.
    then write the following code in this method.
    method ZEXPANDALL .
    DATA ELT TYPE WDR_CONTEXT_ELEMENT_SET.
    DATA EL TYPE REF TO IF_WD_CONTEXT_ELEMENT.
    data nd type ref to if_wd_context_node.
    data nds type WDR_CONTEXT_CHILD_MAP.
    data chld type wdr_context_child.
    data nf type ref to if_wd_context_node_info.
    data name type string.
    ELT = node->GET_ELEMENTS( ).
    LOOP AT ELT INTO EL.
      EL->SET_ATTRIBUTE(
      NAME = 'ISEXPANDED'
      VALUE = ABAP_TRUE
      data parent_key type string.
    EL->get_attribute( exporting name = 'TEXT' importing value
    = parent_key ).
    * create the child nodes
        create_node(
          exporting
            cur_element = EL
            parent_key  = parent_key ).
    nds = el->get_child_nodes( ).
    loop at nds into chld.
      nd ?= chld-node.
      nf = nd->get_node_info( ).
    name  = nf->get_name( ).
    if name eq 'FOLDER'.
      zexpandall(                             "recursive call
      nd
    endif.
      endloop.
      ENDLOOP.
    endmethod.
    NOw go to your eventhandler created for action expandall.
    there write the following code.
    method ONACTIONEXPANDALL .
    DATA lo_nd TYPE REF TO if_wd_context_node.
      lo_nd = wd_context->get_child_node( 'FOLDER' ).
      ZEXPANDALL( lo_nd ).
    endmethod.
    thats it.
    Thanks
    sarbjeet singh

  • How to asscociate an Action to LinkToURL

    Hi,
    Is there some way to associate an Action when the LinkToURL UIElement is clicked? Can we capture this action?
    Regards,
    Smriti.

    "nadandeo", a little bit late reply but hope you can still hear. ^^
    If you have made a backup, you’re OK. (For those who don’t know, iTunes automatically makes a backup, when you connect your iPou touch to your PC/Laptop).
    Without a backup, you CANNOT recover your lost notes, except with recovery software. Here’s a USERGUIDE: How to recover lost iPod NOTES. Do your research, but from experience I can tell you that this is the only way around it. In the future, always make backups. Better safe, than sorry.
    Don't fall for anything people tell you , do your own research and check company reviews.

  • How to record user action?

    Dear All,
    I am trying to build a performance testing tool like jmeter. I want to know how jmeter or any HTTP performance tool records user action. I don't know how to write the action recording code. If anybody knows please help me out.
    The following are the logic behind the jmeter action recording
    1. Turn on the proxy (HTTP in this case). Jmeter starts listening to HTTP traffic to/from the specified URL. It basically acts like a sniffer for the traffic between your client (the browser) and the server IP address.
    2. User starts performing his business process (the activities/requests to the server).
    3. When a request is sniffed/captured by the tool, it immediately creates a code to send the same request (basically an HTTP GET/POST method created).
    4. At the same time it monitors the response from the server and creates a checking code for verifying that the response obtained is correct (This is used further by the tool when we run the test). The response includes the complete HTML data including the Header and Body sections.
    5. All the requests and corresponding responses are captured by the tool and the corresponding code generated automatically.
    6. Once the recording ends, it puts together these snippets to create a complete code which could be further modified by the users so that they can run it in a multi-threaded environment.
    7. Users run the code specifying the number of users (basically threads) to perform a load test on the server. (The code generated would be thread-safe so that there are no overlaps)
    Thanks & regards

    So why not using Jmeter and make you own modification when required
    This is the great benefit of open source community
    Regards,
    Alan Mehio
    London,UK

  • Capturing Workflow action

    HI,
    I am wondering how to capture an event from a workflow approval notification. I have created custom regions that are called from workflow to generate a custom page. I know that there is the standard notification pages with the pre-rendered buttons and the user may change some of the information within the notification prior to approval. I am wanting to validate the data as the "approval" button is clicked. I would like to avoid PPR on a lot of the fields and preferably do a one-stop validation.
    Any thoughts appreciated.
    Thanks,
    Patrick.

    What I am trying to do is capture an event when a notification is approved. I am working with the AP invoice workflow and have created some custom OA areas within the workflow. I need to validate some fields when the approve button is clicked. I want to avoid the use of PPR's if possible.
    In one scenario, I have a comments OAMessageTextInputBean. This comments field is required in certain situations but not in others. I want to capture the event when a user approves, but has not filled in a comment then throw the appropriate error message. I know how to catch the event when it is on my own custom region but how do you catch the event when it is from the standard workflow approvals. The changes have to be done on the page in real time.
    I know that you can get the button click, but irrespective of the action chosen from the workflow notification, the event name is "respond", however I need something more detailed.
    Thanks.
    Edited by: pburke on Dec 29, 2009 3:36 PM

  • How to share one action to multiple UUT test?

    Hi,
    In fact, I don't know how to define the topic exactly.
    My request is like the following :
    For example, I have a signal generator and four UUTs.
    Signal Pattern 1 ON -> batch(4 UUT test...) -> Signal Pattern 1 OFF, Signal Pattern 2 ON -> Batch(4 UUT test...) ...so on...
    I got stuck how to put the action into the teststand and do once instead of 4 times.
    Something similar to the callback of  ProcessSetup, PreBatch, and PreUUTLoop,
    but I wonder if there is a way to call an action once within multiple UUTs in the MainSequence.
    Could someone give me some suggestion? Thanks a lot!
    Solved!
    Go to Solution.

    Hey William,
    You're probably going to want to use the "One Thread Only" option of a batch synchronization section to do this. It sounds like you're already using the Batch process model, so this should be fairly easy to implement. If it's a single step, you can go to the Synchronization tab of the step settings and change the Batch Synchronization setting. If it's multiple steps in a row, you could use the Enter Synchronized Section and Exit Synchronized Section modes of the Batch Synchronization step type.
    Also, we have an example that demonstrates this functionality. You can find it at <TestStand>\Examples\MultiUUT\BatchUUT.seq. If you look at the Set Chamber Temperature step, you will see that it is configured in this way.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Hiding closable cross link in UI Tab Shell?

    Hi,
    I am currently using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. I have created tabs in my application using tabs(page fragments .jsff). I want to programatically control the visibility of my closable cross link of tab(right top corner one) from inside the backing bean of tab(page fragment). How to do that? Please provide me some sample code for the same.
    Thanks,
    Vik

    Hi Vik,
    could you get this answer for Fusion UI shell Tab closeable event?
    Regards
    Jam

Maybe you are looking for

  • Songs slowing down when I type

    I'm running iTunes 7.7.1 on a new computer. iTunes had no problem on my old one, but on my new one, the songs slow down when I type, which is rather annoying, since I listen to music while, you know, typing. I'm on WinXP Pro, and everthing else is wo

  • Browsing Oracle application using CISCO SSL VPN forms not opening

    Hi all, Any idea why am not able to access my application using CISCO SSL VPN.Normal clients are able to use our application there is no problem.i have modifyed the "certdb.txt",still i am having the same problem.here am attaching the Java console ou

  • How can i set up a different security email?

    i cannot get into the one that is already set up?

  • Can i start mba from usb-stick ?

    hi is it possible to start a mba from usb-stick with osX ? thanks for response.

  • KT6V-LSR boot problem

    I encounter a strange problem(which I think is because of main board):      - Sometimes when I press the power on button(to power on the system),then the system don't really starts, only the HardDisk(red) LED is ON, the PowerOn(green) LED is OFF. The