User-defined F4 Search - cancel button in the title bar

Hi,
I implement user-defined F4 search for my WD application. F4 view comes from another component (as described in the tutorial). Everything is fine, I see that view popuped when F4 is clicked for an input field. My problem is, how to make visible the Close button in the title bar of that popup window.
I was able to set window's title text, but have no idea how to control those buttons. I only see maximize button which comes by default.
Also would be nice to create kind of standard OK and Cancel buttons on the bottom bar instead of creating them manually on my view... I've tried set_button_kind(), it works somehow: displayes three empty buttons without icons - need more info about it too...
Thanks

Hi Serguei,
The empty buttons are worth a ticket.
The behavior for the close button in popups is that the application developer can determine its visibility independent from the buttons in the lower row.
The second aspect is the action that is triggered if someone clicks that button. There the application developer is able to bind a separate action to that close button. If no action was bound and if a cancel button is visible, clicking the close button will trigger the same action as it would have been the case for the cancel button. A bit complicated, I know. We had to do the latter for backwards compatibility.
Best regards,
Thomas

Similar Messages

  • Adding a button to the title bar

    I need to place a button in the upper-right corner of an NSWindow's title bar. In Interface Builder, I can place a button in the correct spot, but it is always beneath the title bar. To work around this, I'm currently using a subclassed NSWindow with a borderless mask and creating the title bar, including the stoplight buttons, from scratch.
    Is there a better way to do this or a way to re-order my button on top of a title bar? It seems like there should be a simpler way to achieve this effect.

    > Is there anyway to change what the window is called when
    it's
    > minimized?
    The name you type into the file properties is the name you
    will see when the
    file is minimized.
    Steve
    ACE - Adobe Community Expert, Authorware
    My blog -
    http://stevehoward.blogspot.com/
    Authorware tips -
    http://www.tomorrows-key.com

  • Setting buttons in the title bar of JPanel

    Hi,
    Help me out! How do I set Minimize, Maximize and Exit buttons in a JPanel? Is there a option.
    Thanks,
    Kelly.

    0. you need 3 image file, one for each button
    1. set the panel P layout to borderlayout.
    2. create a new panel N and add it to the north of P.
    3. set the background of N to GradientPaint and use nice colors.
    4. add the buttons to N panel using FlowLayout RIGHT.
    5. add a nice border to P
    if you will add an image to left side of N you will have a JPanel that looks like a frame.
    Noah

  • Reg: Configuring the User-Defined Message Search

    Hi Experts !
    I am getting an error while configuring the user defined message search.
    Followed all the step mentioned in the sap help documentation.
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c85598f63335bfe10000000a42189d/frameset.htm
    The last step, where we need to enter  URL for WSDL Access i am getting the following error:
    Error in WSDL access: Exception occurred in communication framework:
    Error in HTTP Framework:404Not Found
    http://<Host>/<Port>/MessageSearch/MessageSearchImplBean
    You should enter the host name and the HTTP port for the Advanced Adapter Engine
    i didnt get the meaning of above sentence : Is it different from what we use in the URL to access ESR and ID.
    Is there any other steps to make   MessageSearch/MessageSearchImplBean available
    Regards,
    Srinivas
    Edited by: Srinivas on Oct 1, 2010 7:48 PM

    Hi José Omar,
    thanks for the reply...
    I tried manual configuration but with no luck..opened a similar forum thread
    I have applied the sap note suggested  ,thinking that the error is due
    to any source code.
    The data synchronization is happening properly , but when i use test extractor button it throws the above mentioned error.
    In the system details  in have given the port number as 50700(which is visible in the link when we open integration builder page) and ESR client as 001.
    could you please let me know if the exact values to be filled in transport setting.i just entered the port and client , other things
    as default.
    Regards,
    Srinivas

  • User-Defined Message Search

    Hi experts,
    I've configured the User-Defined Message Search on my PI 7.11.
    Do u need to configure Jobs that will delete the entries that the extractor collects ? what is the impact on the DB ?

    With regard to the necessary configuration on the system for the user defined message search you can check the following
    Configuring the User-Defined Message Search:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c85598f63335bfe10000000a42189d/frameset.htm

  • User defined message search in 7.1 EHP1

    Hello!
    I'm trying out the user defined message search right now and it's great. However, I got one question about the indexing. In what way and how much will this affect the system?
    Any ideas?

    Hi Stefan - We have configured UDMS in our landscape and I don't see any big impact in terms of system performance so far.( We are on 7.3 and all our scenarios are ICo's)
    On the other side for the PI release that you are currently on(7.11), has some limitation for the productive usage.
    Have a look at the below notes from SAP:
    PI monitors in NetWeaver Administrator not supported for production scenarios
    PI monitors in NetWeaver Administrator not supported for production scenarios. This includes the user defined message search functionality, e. g. the search for payload attribute values; the lean message search is therefore not supported for production scenarios, and this includes the configuration of this functionality as well as the monitoring at runtime. Starting with Support Package 6 for EHP1 for SAP NetWeaver PI 7.1 the user defined search can be configured in & used for the integration server ABAP client. The SAP NetWeaver Administrator for PI is not supported for use in production scenarios. Not all PI monitors from the Runtime Workbench are completely integrated  into the SAP NetWeaver Administrator for PI. SAP recommends that customers use the Runtime Workbench for PI monitoring in production scenarios and would not support the installation, configuration and usage of the SAP NetWeaver Administrator for PI.
    Reference : 1247043 - Release Restrictions for EHP 1 for SAP NetWeaver PI 7.1

  • Any way to get at the title bar in JFrame?

    I'd like to either add a button to the title bar (title pane?) or override the behavior of the resize button. As far as I can tell, the LookNFeel classes don't allow you to add anything, just change colors, icons, etc. The WindowListener classes don't let you get at the resize button. I don't want to override Component.setSize() (that causes other problems), I just want to have the resize button do something different (or add another button).
    I'd appreciate any ideas!

    1) You could create your own frame that extends JWindow. This would be quite involved, since you'd need to make it respond to mouse drags, mouse resizing etc explicitly (if you wanted that functionality), but you would be able to add your own custom border, which you could make to look like a system border, or you could make comletely different.
    2) I don't know this could be persuaded to do what you want, but you could try adding a ComponentListener to the JFrame to check for resizes, and take action accordingly

  • How to add a Button in JFrame title Bar ?

    Hi Folks,
    I want to add a button near to JFrame's Minimize Button(On the title bar). How can i do it ? Should i extend RootPaneUI and add custom button ? Any other easy ways to do this ?
    If anyone provides me Sample Code how to do it, It is much Appreciated.
    Thanks,

    There's no easy way to achieve this. You'll have to provide a RootPaneUI delegate with a custom title pane implementation. There, you'll have to provide a custom layout to position your button. In addition, this approach will not work on look-and-feels that do not support decorated mode (such as Windows or GTK) since under such LAFs the title pane always comes from the OS.

  • Add a Button in JFrame Title Bar

    How can I add a button in JFrame Title Bar. I want to put on more button for docking after the closing button in the title bar.

    if you use JFrame.setDefaultLookAndFeelDecorated(true) then you can do it by extending the JRootPaneUI class of the L&F (the default is the metal L&F). that is not a easy task but if you want take a look at BasicRootPaneUI, there you will have to point it to a new TitlePane which you will have to create. to load all this you must use the UIManager class. if you need more explaination try reading on look and feel and customizing it.

  • Problem with the user-defined message search in PI 7.3.1

    Hi, all
    I having been trying out the new user-defined message search in PI 7.3.1(with TREX). I am stuck on creating the search critera section and could not move forward. Here is how I define the filter:
    Here is a sample payload:
      <?xml version="1.0" encoding="utf-8" ?>
      <ns:JOB_MT xmlns:ns="urn:peoplesoft:batch:job_r:message">
        <MsgData>
          <JOB>
             <ACTION_FLAG>NewPerson</ACTION_FLAG>
             <EMPLID>XXXXX</EMPLID>
             <REG_NO />
             <LAST_NAME>XXXX</LAST_NAME>
             <FIRST_NAME>XXXX</FIRST_NAME>
          </JOB>
        </MsgData>
      </ns:JOB_MT>
    I have tried the xpatch search criteria as the following:
    /ns:JOB_MT/MsgData/JOB/EMPLID
    /ns:JOB_MT xmlns:ns="urn:peoplesoft:batch:job_r:message"/MsgData/JOB/EMPLID
    Both failed to return the emplid field when I clicked on the "test search criteria" against a PI message. Can you advise what I did wrong?
    Thanks,
    Jonathan.

    Hi.
    Did you put the prefix?
    Regards

  • User-Defined Message Search - PI 7.1 - EHP1 - SP06 - Not working

    Hi Friends,
    Recently, we have imported SP06 in our PI system (PI 7.1 EHP1). The SXMB_MONI has now new tab "User-Defined Selection Criteria".
    To implement user-defined search, I have created filer, extractor, namespace prefix for one outbound interface through transaction SXMS_LMS_CONF. (As it is explained in SAP EHP1 features PDF and the link "http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c85598f63335bfe10000000a42189d/frameset.htm".
    Also we have created logical port through transaction SOAMANAGER. (followed the steps as mentioned in PDF)
    After filters, extractor, namespace prefix created and activated, I have checked the extractor through Test Extractor, it is working fine. (All are green, given below is the output)
    Type
    Message text
    Processing message 4DDFE95BAEC67152E10000009958A8AB
    Analyzing payload of message version 000
    No filter found
    Analyzing payload of message version 004
    Filter found for interface name PROACT.PROACT01
    Name MATERIAL_ID value RPM312AZ/11522R1 extracted
    Analyzing payload of message version 005
    No filter found
    Analyzing payload of message version 008
    No filter found
    Now, when I do search the same through SXMB_MONI, by giving inputs in the new tab "User-Defined Selection Criteria", Option button "Search for all" , selected the filter name "MATERIAL_ID" in the input field:Name and put material name in the  in the input field:value. (same material I put), it shows the message "No message is available for selection".
    Friends, could you kindly clarify why I am unable to search through SXMB_MONI? Am I missed any of the steps?
    Kindly reply.
    Kind regards,
    Jegathees P.

    Were you able to resolve the issue ?
    If not, You need to execute program SXMS_EXTRACT_MESSAGES to build index for the user defined search from the old messages.
    The job bulids index from the already processed messages.
    Choose the relevant Method when creating the extractor
    Method
    You can choose between two methods:
    Extract During Message Processing
    Select this method if you want the attributes to be extracted from the selected messages while these messages are processed.
    Extract with External Job
    Select this method if you want to extract attributes from messages that were already processed, or if you want to change the extraction of attributes from messages, from which attributes were already extracted.
    For this method you need to set up and use the job SXMS_EXTRACT_MESSAGES.
    thanks
    VJ

  • Indexing Failed - User-Defined message search

    Hi
    I am trying to set-up a user-defined message search in our PI 7.3 system. After having created a filter and defined a search criteria, SAP says to "create an index of the messages that match the active filters and search criteria"  [Link|http://help.sap.com/saphelp_nw73/helpdata/en/48/b2e0186b156ff4e10000000a42189b/content.htm]
    Every time I try to run indexing it fails. I don't know why as there is no help-button available and I haven't found anyone experiencing the same issue. Anyone else experienced the same issue?
    Also - using XPath - do I have to consider any particular namespace prefix etc for PI messsages? I have tested my XPath on payload XML in XMLSpy, but the search functionality seem to expect a different format on the XPath syntax...
    Thank you!
    regards Ole

    Hello,
    I have set this up for an interface now. I am not sure how important the index job is because
    the indexing job worked in the dev system, never stopped in QA and failed in prod. Anyway the message search works in all three systems.
    The following blog made me understand the namespace prefix:
    http://scn.sap.com/people/abinash.nanda/blog/2011/08/17/pi-73--adapter-user-defined-message-search
    Regards,
    Per Rune

  • User defined message search on Archived messages in PI 7.31

    Hello Experts,
    We are using XMLDAS to archive the messages of the adapter engine into a file system.
    User defined search is working fine for the messages in the database, based on the UDMS criteria, in database tab of message monitoring. And as per SAP, "Extracted attributes are archived together with the message and could be used for searching".
    But for us,once the messages are archived into a file system, the UDMS criteria is not working from the archive tab in message monitor.We are able to retrieve the messages in the archive tab based on the message id and also the payload content from it but not using UDMS.
    Please let us know if we need to do any specific configuration for the UDMS criteria to work on archived messages as well.
    Regards,
    Ram

    Hello Michael,
    Please check following links for configuration and re-check.
    PI 7.3 – Adapter User-Defined Message Search without TREX
    Configuring User-Defined Message Search - Advanced Adapter Engine - SAP Library
    Also I believe you are searching for new / fresh messages after you configured UDMS. I believe it will not show up old message list prior to UDMS config.
    Hope it helps
    Regards,
    Azhar

  • How to disable the cancel button in the ProgressMonitor

    hi,
    I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor?
    One more problem is,
    Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue....
    It is very urgently.....
    please help me out.
    Thanks in advance.
    Regards,
    Deepa Raghuraman

    I don't think that's a good solution, because Cancel button itself is not disabled, so user is tempted to click it and nothing happens.
    A better but dangerous solution is this:
    progressMonitor = new ProgressMonitor(ProgressMonitorDemo.this,
                                         "Running a Long Task",
                                         "", 0, 100);
    progressMonitor.setMillisToDecideToPopup(0);
    progressMonitor.setMillisToPopup(0);
    progressMonitor.setProgress(0);
    JDialog dialog = (JDialog)progressMonitor.getAccessibleContext().getAccessibleParent();
    JOptionPane pane = (JOptionPane)dialog.getContentPane().getComponent(0);
    pane.setOptions(new Object[]{});Refer to the same question here [http://stackoverflow.com/questions/512151/how-do-i-disable-the-cancel-button-when-using-javax-swing-progressmonitor] .

  • Performance restrictions using User-Defined Message Search in PI 7.1 EhP1

    Hi Gurus,
    We want to apply the User-Defined Message Search in our productive system.
    We also want to set the extractors to run during Message Processing .
    Do you have any inputs on how this might affect the system performance?
    Any best practices, previous experiences or thoughts on that?
    Some of my questions:
    How many Filters/Extractors would be a limit to not affect too much the messaging processing performance?
    Running the extractors during message processing would greatly affect the performance? When to run the extractors in a batch job instead of runtime?
    Any input is greatly appreciated.
    Regards,
    José Omar

    Hi José ,
    We are also planning to use User-Defined Search feature in our PI system. Could you please let me know whether or not were you able to use this in your PI productive environment?
    Additionally , if you were able to use it can you please let me know the performance?
    Thanks in advance
    Edited by: Ravindra Hegde on Jun 3, 2011 11:26 AM

Maybe you are looking for