How to get context sensitive help  in JSP Pages

Is it possible to display context sensitive help in JSP Pages when I press the tab key on the keyboard base on the key focus. I don�t want to use any applet or Swing components, because it�s a web page viewed on the browser
Thanks

Java code inside a JSP is interpreted on the server and the HTML produced by the server it is shown in the client browser. The JSP code can incorporate calls to the JavaHelp API if it is available to the server. Those calls can be used on the server side to map parts of the JSP to contents of a help set (HTML pages).
Given that, you can provide context sensitive help, but when it comes to view help information, you either can show HTML only (without TOC, index, etc.) or you'd need an applet.
Ulrich

Similar Messages

  • How to implement 'Context Sensitive Help' for Workforce Performance Build Tool.

    Hi Gurus,
    We have a requirement to implement ‘Context Sensitive Help’ for Workforce Performance Build Tool. Please let me know how to go about implementing the "Context Sensitive Help".
    It will be great if you can share some links to the documents and screenshots.
    Thanks,
    Sanjiv Karmakar

    Hi Sanjiv,
    do you you mean expand the Help Menu => Pull Help or do you mean
    EPSS => push Help?
    in case pull help please tell me exactly which system GUI or EP and version you are using.
    many different scenarios are possible.
    Tom
    P.S. Please take care of  the name is Workforce Performance Builder or maybe in-official WPB.
    many people ask in the HCM area for help, this is the reason why we do not observe all discussion.
    The name in the title will help us to find your questions on time.

  • How to create context sensitive help and call the role based help from my Java Project?

    Hello All,
    I am new to Robo Help. I have created a Robo help for my Java Web Applicaion. My application is role base i.e some user's will not see some of the pages of the application. So I want to hide those pages in Robo help as well. I tried creating multiple TOC for different Roles.
    My Question is
    How to call robo Help from my application?(I will be calling using java script. If it is with RoboHelp_CSH.js where can I get that and How to implement it in my project)
    How to implement role based help?
    Thanks,
    Siva.

    I answered that. My point in asking whether it matters was that if it does, then you cannot use content categories and point different users to different categories and not allow them to see the others.
    The alternative, as I said, would be to produce different outputs for each role.
    As it does matter, then using webhelp you will have to use your RoboHelp project to produce a number of outputs, one for each category. Your app would install each webhelp into different folders and when your app determines the user role, you will link to the appropriate help.
    There is another thread running where it has been explained by Willam van Weelden that you can achieve what you want using browser based AIR help. If that form of help can be considered, then the thread is at http://forums.adobe.com/message/4914753?tstart=0#4914753
    Browser based AIR help must be run from a web server. It cannot be installed locally.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to display context-sensitive help in  frameset?

    When the help is generated by Robohelp, there is a primary
    file named by default as 'Web_Interface_On_Line_Help.htm" that
    opens the entire help window, with a left pane and a right pane.
    The left pane has the TOC and Index, and the right pane has the
    content of the page, displayed in frameset.
    A separate html page is generated for each page written in
    help and saved in folder the help/user it relates to .
    When I call one of these pages using map id and following
    javascript function
    <a
    href="javascript:RH_ShowHelp(0,'Web_Interface_On_Line_Help.htm>WithNavPane',HH_HELP_CONTE XT,189);">
    <font color="#0000FF">Help</font></a>
    The left pane has the TOC and Index, and the right pane has
    the content of the page, displayed in frameset.
    Everything is ok till this stage but when I click on one of
    the links in left pan, only the content of the page opens in new
    window with "show" link at the top of the page.....
    Am I missing something?
    Thanks in advance

    Do you already have projects in multiple languages?
    Normally, you create the project in the main language and set context sensitivy. Then you send the project to the translation agency and they send you the translated projects. Then you generate the different language version. The application must then point to the correct directory with the help for that language.
    This answer is kind of high level. For information on context sensitivity in general, see: http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm
    Greet,
    Willam

  • How to get the value in one JSP page to another?

    Hi,
    I have problems in passing the value around in JSP. I have two JSP pages as below:
    test1.jsp
    I try to get the vaule from my textbox by using:
    String strUser = request.getParameter ("strUserName");
    Then i print out by using: out.print(strUser); then i can get the value and put on my page (For example, i get ABC on my page).
    test2.jsp
    Next, i want to get the value from strUser (which mean that the one i already display on page in test1.jsp, ABC) to insert into my table by using INSERT INTO statement. Then i try by using
    String strUser1 = request.getParameter ("strUser");
    Is it possbile for me to do that? I cannot get anything to insert into my table. Then i tried out.print(strUser1); then i found that i get NULL value.
    Could you please give me some guidance?
    Thanks you very much for any advise you may give me.
    Kimsan

    Hi,
    Thank you very much for your help. It's working fine if i just get a one value to another page, however, i have problem while i pass the value in my loop to another page because i always get the last record. I try with the following code:
    logged_page.jsp
    <html>
    <head>
    <title>Welcome to the online Auction...</title></head>
    <body>
    <%@ page language ="java" import = "java.io.*, java.lang.*, java.sql.*" %>
    <% try
         String strUsername = request.getParameter("username");
         session.setAttribute("myUserName", strUsername);     
         String strPassword = request.getParameter("password");
         Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection myConn = DriverManager.getConnection("jdbc:odbc:Driver={MicroSoft Access Driver (*.mdb)};DBQ=C:/Auction/Auction.mdb");
         String strSQL = "SELECT [UserName], [Password] FROM tblUserDetails where [UserName] = ? and [Password] = ?";
         PreparedStatement statement = myConn.prepareStatement(strSQL);
         statement.setString(1, strUsername);
         statement.setString(2, strPassword);
         ResultSet myResult = statement.executeQuery();
         if(myResult.next())
         //out.println("Login Succesful! A record with the given user name and password exists");
         out.print("<center><h1>");
         out.print("Welcome  ");
         out.print(strUsername);
         out.print("</h1></center>");
         out.print("<center>");
         out.print("<BR><BR>");
         out.print("<font font face = Viner Hand ITC size= 5>Products on sales</font>");
         out.print("<BR><BR>");
         Statement myStatement = myConn.createStatement ();
         ResultSet myResult1 = myStatement.executeQuery("SELECT * FROM tblProduct");
         ResultSetMetaData myResultSet = myResult1.getMetaData();
         out.println("<font face=Tahoma>");
         out.print("<table border=1 CELLSPACING=0>");
         out.print("<TR>");
         out.print("<TD width = 200> Item Title");out.print("</TD>");
         out.print("<TD width = 200> Description");out.print("</TD>");
         out.print("<TD width = 200> Current bid");out.print("</TD>");
         out.print("<TD width = 200> Available Time");out.print("</TD>");
         out.print("<TD width = 200> Place Bid");out.print("</TD>");
         out.print("</TR>");
         out.print("</table>");
         while(myResult1.next())
              String strProName = myResult1.getString(1);
              session.setAttribute("myProName", strProName);          
              out.print("<table border=1 CELLSPACING=0>");
              out.print("<TR>");
              out.print("<TD width = 200>");
              out.println(strProName);
              out.print("</TD>");
              out.print("<TD width = 200>");
              out.println(myResult1.getString(3));
              out.print("</TD>");
              out.print("<TD width = 200>");
              out.println(myResult1.getString(2));
              out.print("</TD>");
              out.print("<TD width = 200>");
              out.println(myResult1.getString(4));
         out.print("</TD>");
         out.print("<TD>");
              out.print("<form action=bid_page.jsp method=post>");
              out.print("<input type=text name=place_bid>");
              out.print("<input type=submit name=okfunc value=Bid>");
              out.print("</TD>");
              out.print("</form>");
              out.print("</TR>");
              out.print("</table>");
              out.println("</font>");
              out.print("</center>");          
         else
              out.print("<center>");
              out.print("Sorry ");
              out.print("<font color = RED size = 5>");
              out.print(strUsername);
              out.print("</font>");
              out.print(" could not be found.");
              out.print("</center>");
         myResult.close();
         statement.close();
         myConn.close();
         catch(SQLException e)
         out.println(e);
    %>
    </body>
    </html>
    bid_page.jsp
    <HTML>
    <HEAD>
    <TITLE>Welcome to the online Auction...</TITLE>
    </HEAD>
    <BODY>
    <%@ page language ="java" import = "java.io.*" import = "java.lang.*" import = "java.sql.*" %>
    <% try
         String thisUserName = (String) session.getAttribute("myUserName");
         String thisProName = (String) session.getAttribute("myProName");
              Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection myConn = DriverManager.getConnection("jdbc:odbc:Driver={MicroSoft Access Driver (*.mdb)};DBQ=C:/Auction/Auction.mdb");
         PreparedStatement myStatement = myConn.prepareStatement("INSERT INTO tblHistory VALUES ('"+thisUserName+"', '"+thisProName+"', '"+request.getParameter("place_bid")+"')");
              myStatement.executeUpdate();
              myConn.commit();
              myStatement.close();
              myConn.close();
              catch(Exception e){}
    %>
    </BODY>
    </HTML>
    When i click on the BID button in the logged_page.jsp then i always get the last record and save into my table and that is not what i want to. i want to get the result on the same row as the BID button that just click and save to my table.
    Could you please advise?
    Thanks you very much for your time and any consideration you may give me.
    Best Regard,
    Kimsan

  • How to get the action-mapping in jsp page in struts

    Hi,
    I want get, in my login.jsp, the name of action mapping that call my
    login.jsp.
    Is possible?
    suppose abc.do called my login.jsp
    now i need to know the name of action-mapping here abc
    Thanks,

    Depending on what you need, I believe Struts 1.3 creates a request attribute called "org.apache.struts.globals.ORIGINAL_URI_KEY". In your case, it looks like this would be set to the string "/abc.do". There should also be a request attribute called "org.apache.struts.action.mapping.instance" that contains an instance of ActionConfig. I think both of those keys are defined by the Globals class.

  • Can I get context sensitive offline help for Adobe audition?

    I've linked the CS6 Help PDF successfully to F1, but that's very clunky when you're trying to figure out an effect and the link that says "Shows help for this effect" is broken.  I recall CS5 and 5.5 had context sensitive help.  I know for sure Audition 3.0 does.  I'm a US contractor that's forward deployed and an Internet connection is not something we can take for granted.

    Charles,
    Thanks for the reply.  I've been to that site and have followed the instructions.  What that gets you is a general help PDF document that opens when you push the F1 key.  If you navigate around Audition CS6 there are various places where you'll see a small "I" in a circle.  If you hover over it with your cursor, a balloon pops up saying "Get help for this..." and references the function you're in, for example an effect.  If you're online and click on it, it opens the relevant web page on the Adobe support site.  If you're not online, you get nothing.  This is not the case in Audition 3.0 and if I recall right, 5.0 and 5.5 where you get context sensitive help for various effects and other functions stored with the program on your computer, like most programs from other vendors.
    I think the basic problem is Adobe is so wedded to their "Creative Cloud" model that they're impairing their product.  Aside from my own philosophical objections to cloud computing, Adobe is totally missing out on emerging markets and economies.  I'm currently in Afghanistan working with locals on building the country's broadcast industry.  There are a lot of talented people here that work in radio production and they all use Adobe Audition, but version 3.0 exclusively.  Most can't afford CS6 and Adobe Audition CC is useless because of the pricing structure and the lack of reliable Internet.  This is also true for other countries I've visited.
    Sorry for the soapbox tirade, and thanks again for the reply.  I think you've confirmed that the answer I'm looking for doesn't exist.  If you can check and see if I'm wrong, I'd love to know that.  I'm thinking of rolling back to Audition CS 5.0 or 5.5 and I'd rather not.
    Regards,
    Steve

  • How can I reference an external help file from context sensitive help at the control level?

    My goal is to provide context sensitive help for each control displayed on the front panel using a help file created externally. I know that at the VI level I can specify a Help Path; I want the same behaviour for each control inside a VI. I also know about creating a custom control and specifying the Help Path in there, but it doesn't help in this situation, for I have hundreds of controls in my application and I cannot go back and replace each one with a unique .ctl. If I could override each instance of the custom control with unique path data that would do the trick, but that's not how it works.
    Is there a way to add the Help Path information to regualr controls?
    -euge
    ne

    This functionality is not yet built into LabVIEW.
    About all you can do is cut and paste the help for each control into the description for the control. It is tedius but a finite task.

  • Cannot get simple merged HTML Help project going with context sensitive help

    I have built a very simple project in RH9 from scratch, consisting of a main project and a sub-project now after I have modified our large project in changing every hyphens from file and directory names over a couple of days now only to see that context help still doesn't work.
    The map IDs are not visible in the main project. To test it in the example, invoke the CSH-Test (context sensitive help test) from the Toolbox, enter !SSL!\Microsoft_HTML_Help\main.chm in the Offline field  and a number 57 in the ID field. In our large project I'm getting nothing (no window pops up). In this example I'm getting this mystical error box, saying HH_HELP_CONTEXT called without a [MAP] section.
    Christoph

    Hi William,
    thanks having a look at my problem. I read in another thread today a description which comes close to the problem I'm facing.
    Maybe I formed the mini sample not exactly as our problem is situated. (thus the doubled map ids you were claiming).
    I will try to explain again: we have a couple of CHMs in separate single help projects. These go into their own TOCs, Index Glossar etc. like in sub1->Einzel. For the merged project we produce a chm that goes into the directory of the master (main) project, like in sub1->Primäres Layout.
    Each Topic in the sub project (e.g. sub1->Erstes Thema) has a symbolic link address (e.g. "Linkadresse=det_org_angaben), which is mapped to the MAP ID via the .h file.
    This all used to work that way in RH5.
    Now it seems that this information between the map ID and the symbolic Linkaddress gets lost with the merge process.
    I am not using the same ID (57) twice in my example. The MAP ID in the main project comes from the sub1 project (see the yellow locked MAP ID).
    The simplest test is using the CSH-Test in the Toolbox giving the main.chm as the Helpfile to test and enter the 57 as a MAP ID.
    The idea behind is to use one CHM later to have to open in the application. The other CHMs of the subprojects only need to be present in the application directory. Then you invoke HtmlHelp(with the MAPID),like I posted in this thread.
    The method you are suggesting in mapping the ID to the topic in the main project will not work since the topic is in the CHM of the sub project.
    I modified the sample project once again (somehow the baggage files were not showing) to come closer to the constellation we are using in the large project, though I'm getting the "HH_HELP_CONTEXT called without a [MAP] section" error (which does not occur in our large project).
    Christoph

  • How to provide link for the topics of Webhelp in the Context Sensitive Help in RH10 ?

    I am using Robohelp 10 and currently working on Context Sensitive Help in which there is a need to create certain links for the topics that are present in Webhelp. My area of concern is that we can't use map id's since CS Help and Webhelp had already been created and it will be a mess for developers too since they had to relook their code. While generating output we don't give js files to our developers, we just give them folders and css file. Considering all these points,  is there any way to provide a link for a topic of Help in Context Sensitive Help? Anyone, Please Help !

    I'm not clear on what the question is. You seem to want CSH and to not use Map IDs. That leaves other methods to which Willam has already pointed you. Essentially it's Map IDs or URLs. So are you asking if there is a method that does not involve the developers? No as it is they who must create a link of some sort from a screen to a topic.
    You also say you don't give JS files, just folders and CSS. The Rh WebHelp output contains many files and folders and you have to give the whole output or the help will not work properly. Exactly what are you giving them?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Muddled context sensitive help ids

    Hi All
    I've done some quite major updates to a help project,
    including the creation of new context sensitive help Map Ids.
    When I generate the help I get two files, cshdat_webhelp.htm
    and cshdat_robohelp.htm. The cshdat_webhelp.htm contains the
    correct map ids, however cshdat_robohelp.htm is still picking up
    old IDs and some that look like random IDs, and this appears to be
    the file that is called from the top level file
    (projectname_rhc.htm) that the application calls. We can't get the
    app to work with the projectname_csh.htm, so we need to use the
    projectname_rhc.htm and cshdat_robohelp.htm files.
    The only map file used in the project is the BSSCDefault.h
    file, which only contains the correct IDs. I can't understand where
    it is picking up the old/incorrect map IDs from. Can anyone please
    help??
    Thanks in advance,
    Emma.

    In case this is of use to anyone else, I found that there was
    a .ppf file (whatever that is) in the directory, which was somehow
    messing with the cshdat_robohelp.htm file. I deleted this, and hey
    presto, problem solved.
    Emma.

  • Context-Sensitive Help Issues

    I have problem where context-sensitive help markers disappear
    from my .h files.
    I started with a .h file from my old WebWorks project. After
    a little reformatting, I was able to get the CSH Map IDs to load
    and map properly to my RH topics (I had to do the mapping manually
    even though the topic names were the same) . I was also able to add
    several new Map IDs to facilitate help in the latest version of our
    product. The final help was tested and worked properly.
    Now that it's time to update the help for another new release
    of our product, I am noticing that many, many of the Map IDs that
    were in my project before have now disappeared. Anybody have any
    idea what is happening here?
    I'm sick of struggling to get RH to play nice with these .h
    files. Manually remapping the Map IDs to the topics each time we
    release a new project is terribly dull work and time consuming.
    Is there any way to add the Map ID numbers to the CSH markers
    in FM so that RH can automatically map the IDs to the topics? I
    want to use the Map IDs we already have established with our
    development team; I don't want RH's automapping which starts at one
    and advances incrementally through all of your topics).

    I think you dint check the option "Project Map File" from drop down list in the dialog box for editing Map ids.  For this, in the main menu point to "Edit" tab, select "Map Id's". Edit Map Ids dialog box appears. Choose the option for Map File as "Project Map File" from the drop down list.

  • How can I get the "pageContext" object in jsp page?

    Hi everyone:
    I want to get struts's DataSource object in jsp page.So I should get the PageContext object in jsp page.My code is:
    ///////////////////datatest.jsp///////////////////////////////////
         DataSource ds=(DataSource)pageContext.getAttribute(Action.DATA_SOURCE_KEY);
         conn=ds.getConnection();
              stm=conn.createStatement();
              rs=stm.executeQuery(insertsql);
    Is right?But I get the "NullPointerException" error in Tomcat.The connection pool in struts-config.xml is:
    <data-sources>
    <data-source key="mydatasource">
    <set-property property="autoCommit"
    value="false"/>
    <set-property property="description"
    value="MyWebSite Data Source Configuration"/>
    <set-property property="driverClass"
    value="org.gjt.mm.mysql.Driver"/>
    <set-property property="maxCount"
    value="4"/>
    <set-property property="minCount"
    value="2"/>
    <set-property property="password"
    value="qijiashe"/>
    <set-property property="url"
    value="jdbc:mysql://localhost:3306/myweb"/>
    <set-property property="user"
    value="lyo"/>
    </data-source>
    </data-sources>
    I can query the database in servlet.
    I think the method that I get the context is not right.Had someone get the pagecontext in jsp page?help :(

    Sorry I forgot that I had change the code:
    DataSource ds=(DataSource)pageContext.getAttribute(Action.DATA_SOURCE_KEY);
         conn=ds.getConnection();
              stm=conn.createStatement();
              rs=stm.executeQuery(insertsql);
    to the code:
    DataSource ds=(DataSource)pageContext.getAttribute("mydatasource");
         conn=ds.getConnection();
              stm=conn.createStatement();
              rs=stm.executeQuery(insertsql);
    mydatasource is the struts datasource in "struts-config.xml". I couldn't work

  • Context Sensitive Help in Different Formats

    I have a large help project in Robohelp HTML 8.  My project manager would like to have context sensitive help for many objects in our application.  I believe that context sensitive help cannot be used if you are generating a WebHelp format, but that it can be used for a Microsoft HTML format (chm file).  Is this correct?

    I thought you had CHM help working as CSH and were looking to go to WebHelp?
    Both outputs can be used to provide CSH.
    How the topics are called will be decided by your developer.
    See www.grainge.org for RoboHelp and Authoring tips

  • Context-sensitive help - where is the CS topic folder in the output files?

    I have created a FlashHelpPro help file in RoboHelp 7 HTML. In the project setup pane, I have Map ID'd my context-sensitive topics and linked them to their respective pages. I generated the project, but there is no folder containing the context-sensitive topics in the output files. As a result, the developer suggested that I need to create a separate folder in the Project Manager that contains all the context-sentitive topics. Is this actually the next step, or can the developer find what he needs elsewhere in the files?
    I haven't seen anything about creating a separate folder in the Project Manager, which seems redundant as there is the 'Context-sensitive Help' folder already present in the Project Set-up. Do I need to create a separate folder, as suggested by the developer? If not, where can he find the context-sensitive files in the output? Thank you.

    Hi,
    What do you mean that the context sensitive topics are not in the output? RoboHelp generates your output and (in WebHelp, so the same should count for FlashHelp) puts the context sensitivity in cshdat_webhelp.htm. Your developer doesn't need to worry about this, he just has to get his call right.
    For information on calling the help, see http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm. It's for WebHelp but it should be the same for FlashHelp.
    If your developer only wants to know which mapid's he has to call, you best give them your map files (the .h files).
    Greet,
    Willam
    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

Maybe you are looking for

  • How to deactivate Adobe Acrobat v7?

    I have Adobe Acrobat Version 7 installed. I would like to move up the Version 9 to use the new features; mass file size reduction and web forms. I want to move the Version 7 installed on my PC by deactivating it -then installed it on some-else's PC a

  • LISTNER PROBLEM

    Hi friends, I am in serious problem. I am using AIX, oracle 9, sap4.7 I restore the data files ,orarach,redolog from PRD server to Dummy PRD server(both have same SID & same palteform) now when i start the listner than it gives a error Started with p

  • Change directory in command prompt with labview

    Hi i was asking myself if it is possible to change the default directory in command prompt using labview? if somebody know something about that i'll appreciate some help

  • GNOME 2.6.1

    ...forgive me if this request is premature because Arjan is still working out the problems with 2.6.0.

  • Sales Pricing without Inquiry using detailed Cost element Planning

    Deal All, I need to use use Sales Pricing without Customer Inquiry to Genrate Quatation from Project. In my project client is asking to use deatiles cost element planning for same. So, let me know Weather its possible to use Detailed cost element pla