Field level help always shows homeID URL

I implemented context-sensitive help of 2 types:
1. Field level help - triggered from a menuitem using:
menuitem_CSH.addActionListener(new CSH.DisplayHelpAfterTracking(mainHS, "javax.help.Popup", null));
2. Help key (F1) type help - using:
mainHB.enableHelpKey(getRootPane(), "top", mainHS);
Point 2 type help works perfectly - which implies that my MAP file & setHelpID...() stuff is alright.
CSH.setHelpIDString(jbtnConfigure, "config");
CSH.setHelpIDString(jbtnAlarms, "gettingstarted");
Point 1 however always displays the URL of the homeID. I've tried all kinds of things but can't get this to work.
Am I missing something here? Any help/pointers would be appreciated.

maybe something like this will work.
works OK for System.exit(), other options??
click into the 2nd textfield, message displays
click the menu items, no message
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
class Testing extends JFrame
  JMenu file = new JMenu("File");
  int counter;
  public Testing()
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setLocation(400,200);
    JMenuItem exit = new JMenuItem("Exit");
    file.add(exit);
    JMenuBar menuBar = new JMenuBar();
    menuBar.add(file);
    setJMenuBar(menuBar);
    JTextField tf = new JTextField(10);
    tf.setInputVerifier(new MyVerifier());
    getContentPane().add(tf,BorderLayout.NORTH);
    getContentPane().add(new JTextField(10),BorderLayout.SOUTH);
    pack();
    exit.addActionListener(new ActionListener(){
      public void actionPerformed(ActionEvent ae){
        System.exit(0);}});
  class MyVerifier extends InputVerifier
    public boolean verify(JComponent input)
      if(((JTextField)input).getText().equals(""))
        if(file.isSelected() == false) System.out.println("Invalid "+counter++);
        return false;
      return true;
  public static void main(String[] args){new Testing().setVisible(true);}
}

Similar Messages

  • Best way to author field level help for a CHM?

    Hi
    I have been asked to create an HTML help (CHM) system for a .Net application which will include context sensitive help at both page and field level.
    I have used map ids for page level help before - i.e. assigned a map id to topics and given this list to a developer for implementation, but I have never created field level help.
    I've been looking at the 'What's This?' help project wizard but am confused as to whether this is the best approach and how it fits with the project as a whole (or even if it compatible with .Net applications). Does this mean that I need two help projects for the application - one for the main help, and one for the field level help? Is there a way to create field level help without using the 'What's This?' wizard?
    I am using Robohelp 7.
    Any advice gratefully received!
    Chloe

    Hi, Chloe,
    As Peter notes, even Microsoft has backed away from using field-level Help in the last few years, so it may be worth trying to determine whether your users will benefit from having it available to them. That's not to say that you can't deliver field-level Help, however, as all the required methods for calling it are still available to .NET developers.
    To clarify, what Madcap Software calls "DotNet Help" is just a proprietary Help viewer that the company hopes will be more modern and appealing to writers than the older HTML Help (.chm) viewer. HTML Help remains the recommended format for Windows applications, whether .NET or not, and you can use any authoring tool that is capable of outputting a .chm file to create online Help for a .NET application.
    The method that your developers use to call field-level Help determines how it should be authored. If they use the standard .NET method (the SetHelpString method of the HelpProvider class), each text string is embedded in the application code itself, and not retrieved from your .chm file. More information here:
    http://msdn.microsoft.com/en-us/library/system.windows.forms.helpprovider.sethelpstring(VS .71).aspx
    http://support.microsoft.com/kb/821777
    http://helpware.net/mshelp2/demo2/h1xNET.htm
    Alternatively, developers can use the old HTML Help API to retrieve the text string from a .chm file. See:
    http://msdn.microsoft.com/en-us/library/ms670082(VS.85).aspx
    http://helpware.net/htmlhelp/how_to_whatsthis.htm
    http://support.microsoft.com/?kbid=317406
    The drawback of both methods is that the Help popups are plain text only — no graphics, text formatting, hyperlinks, etc. To work around this, some people use the third-party KeyHelp control to create feature-rich HTML popups. See:
    http://www.keyworks.net/keyhelp.htm
    This allows you to deliver the type of Help that you mentioned in your second message ("is there a way to do this so that these topics open in a small popup, without the TOC / tri-pane structure?").
    Pete

  • Field-level Help possible with WebHelp?

    Hi All,
    I'm trying to determine whether WebHelp supports field-level
    help, and between reading the online Help and the forums, I'm
    confused. The online help states "WebHelp window support is only
    available with the context-sensitive Help API." Does that mean that
    WebHelp doesn't officially support field-level help? I'm sure we
    can implement field-level help with some creative programming, but
    I'm not sure of the requirements.
    Is the CSH API required for field-level help? Or do we need
    only implement the solutions described on
    Peter's
    site detailing calling WebHelp? And the RoboHelp Office
    TechNote
    Calling
    Topics with Two Pane View?
    I appreciate any assistance that anyone can provide!
    want2bewiser

    want2bewiser -
    If you recall, field-level help was implemented by clicking
    on a Question mark icon on the top right in the title bar. Your
    cursor changed to a Question Mark and pointer, and clicking on a
    field, button or other control would evoke a popup.
    You can duplicate that functionality, but the lions's share
    of the work would be on the developers. You can provide the small
    blurbs, but how it is called is up to them.
    The API is useful if you might change topic ids often, or if
    you need a sort of map file, or if you just want a standard way of
    calling Webhelp into a certain window format. But you don't need
    the two-pane format instructions for 'What's This' help.
    So, your developer will have to add a function to each page
    so that, if the user changes the cursor to a 'What's This' curson,
    and an object is clicked during this 'What's This' state, an
    explanatory popup will, um, pop up.
    ...Otherwise, everything behaves normally.

  • Field Level Help on Tabular forms

    Hi,
    Is there any easy way I can add field level help to tabular forms?
    If I create a form on a table I can add help for each field, however if I create a tabular form there seems to be no way I can associate field level help with a column.
    I know that I can add page level help and could describe all of the columns there, but it would be nicer to add individual help to each column.
    Any ideas?
    Thanks,
    Martin

    Hi Martin!
    Take a look at these sites which will provide you more information about your problem.
    [http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html|http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html]
    TRICK: Dynamic Item Help Text as Tooltip
    [http://apex.oracle.com/pls/otn/f?p=11933:121|http://apex.oracle.com/pls/otn/f?p=11933:121]
    Regards,
    Tobias
    [http://apex-at-work.blogspot.com/]

  • Field level help

    Hi,
    Is portal provide any field level help. I mean to say that when i place my mouse arrow on a field than it gives me help what it does or press some key to know what this field does. Something like ballonic help in Developer 2000 Forms.
    Thanks
    Muhammad Ijaz

    We use field-level help from within our application, Liz, and
    we use Robo v5 for our HTML Help (output in CHM). I'm not entirely
    sure how the code is written because I only do the Help System (our
    application is currently being rewritten in Dot Net and we haven't
    finalized the Help for Dot Net yet). All I do in my Robo projects
    is put the bookmark where it needs to be. The F1 command that is
    passed within the application calls that bookmark. The app is
    currently written in Progress and the code simply calls the
    module/program/bookmark. As long as the bookmark I use in Robo
    matches what the Developer calls, the field level help works
    perfectly. The only problem we ever had was when the field name
    changed in the application and nobody told us in Documentation! As
    soon as I updated my bookmarks, it worked again.
    Hope this helps. If you need more info on the commands, email
    me directly and I'll get with the Developer to ask about the
    command line the code sends to call the CHM.

  • Question on field level help and bookmarking

    Hi All
    I have a question about field level help and bookmarking fields.  I did this before but i can't remember how.  Right now, when you click on a field in my help to access our software application the page displays but at the top and not at the exact field description.  I don't remember how I did this in my other help files.
    Please help me so I can bookmark my field level help to go exactly to my definition on the page and not just the top of the page everytime.
    Thanks
    Caryn

    Hi Martin!
    Take a look at these sites which will provide you more information about your problem.
    [http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html|http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html]
    TRICK: Dynamic Item Help Text as Tooltip
    [http://apex.oracle.com/pls/otn/f?p=11933:121|http://apex.oracle.com/pls/otn/f?p=11933:121]
    Regards,
    Tobias
    [http://apex-at-work.blogspot.com/]

  • Providing application-level help within Flex apps

    What is the general guideline / approach for help (not
    embedded or field-level help but page level or application level
    help like you get when you click Help in most applications) within
    a Flex app? Is it to spawn a new Window that goes to standard
    HTML-based help engines/content or to display the content in a
    dialog within the Flex application itself? Thanks

    Slow down! Found it here:
    http://raghunathraoflexing.blogspot.com/2006/12/flex-i-frame.html

  • I'm not able to update my ipad from 4.3.5 to ios5. its always showing an error 3195 whi isit so.. Plz Help me

    i'm not able to update my ipad from 4.3.5 to ios5. its always showing an error 3195 whi isit so.. Plz Help me

    I don't think bulk update for password is supported in R1(same in R2). Find below statement in oracle doc
    Support Bulk Update: Determines if the field can be modified as part of a bulk modification of multiple users. Fields that are expected to be unique to users, such as username, name fields, and password, do not support bulk update. For fields with System Controled=Yes or Unique=Yes, this property can never be set to Yes. For information about setting the properties of an attribute, see "Configuring User Attributes" in the Oracle Fusion Middleware Administrator's Guide for Oracle Identity Manager.

  • HT5622 Hi, can you help me for my payment account? It's always show " Your payment method was declined..." How can I fix it? There's only 3 to choose fpr Visa, Master Card and Amex.. But doesn't have "None".. I can't download any apps from app store :(

    Hi, can you help me for my payment account? It's always show " Your payment method was declined..." How can I fix it? There's only 3 to choose fpr Visa, Master Card and Amex.. But doesn't have "None".. I can't download any apps from app store

    http://support.apple.com/kb/ht1918

  • My iphone 4 of ios 7.1.1 sim card is  not working, it always shows searching whenever i insert sim in it. What can i do? please help me.

    My iphone 4 of ios 7.1.1 sim card has not working from since yesterday, it always shows searching whenever i insert sim in it, i do it again and again, but it cant be fix. What can i do? Please help me.

    Get a new SIM from your carrier.

  • TS3694 Since last few months i am trying to update my ipad from iOS 3.2.2 to 4.1.2 or 5.1, but it always shows error 3002, 3194 etc. I have cheched& resorted to all the given troubleshooting steps , but they didn't help.

    Since last few months i am trying to update my ipad from iOS 3.2.2 to 4.1.2 or 5.1, but it always shows error 3002, 3194 etc. I have checked & resorted to all the given troubleshooting steps , but they didn't help.
    Somebody please help me

    Connect the iPad to iTunes, and do the update with iTunes.
    The 4.1.2 ipsw file will not work, no longer supported.
    The incremental update directly on the iPad does not work either, unless you are already on iOS 5.
    Let iTunes do the job, you already lost too much time by doing it yourself.

  • JDeveloper 11.1.1.2.0 - Help text at field level

    Hi,
    We are making use of the Help.properties file to produce field level text. I have field's such as the following
    <af:inputText value="#{bindings.DocumentName.inputValue}"
                                    label="#{bindings.DocumentName.inputValue eq null ? ''  : bindings.DocumentName.hints.label}"
                                    required="#{bindings.DocumentName.hints.mandatory}"
                                    columns="#{bindings.DocumentName.hints.displayWidth}"
                                    maximumLength="#{bindings.DocumentName.hints.precision}"
                                    shortDesc="#{bindings.DocumentName.hints.tooltip}"
                                    id="it4"
                                    autoSubmit="true"
                                    helpTopicId="WORKFLOW_EDITPURCHASEORDER_DOCUMENTNAME"
                                    readOnly="true"
                                    rendered="true"Is there a elegant way to disable the help text? e.g. provide a form level radio button to enable/disable help text? The only way i can think at the moment would
    be to set the helpTopidId to a key that doesnt exists using an EL expression.
    Regards

    Hi,
    I think what you suggest is the way to go in this case
    Frank

  • Help-UNICPOUTU always shows calendar server is not running

    Hi All,
    I am trying to export data from OCS 10g Calendar server and while using UNICPOUTU utility on default node (1), it always shows error message "Calendar Server is not running".
    I have stopped and than started server many time using unistop/unistart and opmnctl with stopall/start all. I can work without any problem with OCS portal and Windows calendar client.
    Can any body help me to find the cause and resolve it.
    Thanks in advance for your help and time.

    I was aware the format originated with CS&T (later Steltor) Corporate Time, and that the NetScape Calendar was of the same provenance. I didn't know SGI also had an offspring
    of Corporate Time.
    Sorry for not being more precise in my earlier post. I guess I should have said that the format used by unicpoutu/unicpoutr is specific to Oracle Calendar and other products derived from the earlier Unison/Corporate Time product.
    Either way, though, iCal is format that more programs understand. uniical is also the program that Oracle support recommended I use, instead of unicpoutu, when I ran into bugs with unicpoutu in the past.
    Tim

  • I can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    i can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    If you are the original owner of the phone and know the Apple ID and password that were used to activate it originally, and if you have an existing backup to restore from, you can force it into recovery mode (which will completely erase it) and restore it as explained here: If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support.  When you do you will encounter activation lock, and will have to provide the ID and password used to activate it originally in order to activate it again.  If you can't, you won't be able to activate and use it.

  • My fire fox download helper not detected current video on you tube. It's always shows only the first video which i was downloaded.pls help

    My fire fox download helper not detected current video on you tube. It's always shows only the first video which i was downloaded.pls help

    You need to refresh the page (F5) to update the items in the download menu. Apparently YouTube refreshes the page in such a way that the extension doesn't gets notified, so you need to refresh the page manually if you want to download a media file from this page.

Maybe you are looking for

  • Transfer the objects changes between servers?

    What’s your recommendation to transfer the different changes of the tables, packages and so on from Development Server to Testing Server??? We work in development server and we need to transfer the changes each 7 days.

  • SAP R/3 4.7E IDES Installation

    Hi,     I have NW 2004 and NW 2004s DVDs. Recently i downloaded R/3 4.7E IDES " .RAR"  files from net. Can anyone help, how to install IDES system for R/3 4.7E. It is very urgent...please...if possible send screen shots Regards Ram

  • LocalStorage in iBooks without iTunes Author?

    Dear Community I'm trying to find a way to make localStorage work for a regular ePub3 file. The goal is to create an chapter1.xhtml, that will offer a quiz with a number of radio buttons and and a button that calls a JS funcion to store the value of

  • Copy and Paste from Safari to MS Word Text Form Field adds a trailing space

    I know this is just a minor issue, but an inconvenience for me nonetheless. When I go to the same page and copy and paste the same text from Firefox, the trailing space is not added. What I find puzzling is that when I paste the same copied text into

  • IPS Tech Tips: IPS Best Practices with Cisco Remote Management Services

    Hi Folks - Another IPS Tech Tip coming up and this time we will be hearing from some past and current Cisco Remote Services members on their best practice suggestions. As always these are about 30 minutes of content and then Q&A - a low cost high rew