Link to .chm file in JSF application

Hello,
I'm working on JSF , i have to link .chm (help file-user manual) to application using commandLink.
Location of help file i.e .chm file will be in application.
Requirements are , click on link , .chm file has to be opened in popup.
If any one knows how to do this, pls do reply.
Thank you,

Hello,
Thanks for reply, i working on '*jboss-4.0.5.GA* ', and i've placed .chm file where i've place jsp pages.
This is code used to open word file in application .
<h:commandLink onclick="javascript:openPopupWindow('help/Test.doc','650','300','yes');return false;" styleClass="label" style="color:white" value="#{str['label.help']}" tabindex="5" />
And its working fine for word .doc. This code is not working for rest of the different file formats ..
For .chm file
<h:commandLink onclick="javascript:openPopupWindow('help/Test.chm','650','300','yes');return false;" styleClass="label" style="color:white" value="#{str['label.help']}" tabindex="5" />
The popup will be shown but the contents of file are not same as original , look and feel and rest .
Please check this code .
Thank you,

Similar Messages

  • Can we put a link to PDf file in MAM application ?

    Hi ALL,
    can we put a link to PDf file in MAM application ?
    Regards,
    Vipin

    Hi JO ..  satya  .. and everbdy,
    Apologies for not updating the Forum. I was travelling soemwhere , so couldnt get connected to internet.
    Regarding Topic,
    yes, you guys are correct , i dont have a PDF Viewer in my pocket pc , so PDf files wont open .
    So, i started testing -- opening pwd files in Pocket pc via MAM. but it is also not happening:(
    JO , i didnt get any kind of error when i tried to open to document via < href > in MAM .
    i also checked that document might have opened but it is not in Foreground . So, i went to memory and checked the opened programs/files . It wasnt there.
    Regards,
    Vipin

  • Linking a chm file

    hello,
    i have a little help file. i like to link the chm file from inside the programm.
    usually i use Runtime.. to launch an appropriate prog..
    what is a common way for a chm file ?
    marco

    can be get the os directory with System.getProperty ?
    btn.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    String dir = System.getProperty("user.dir");
    String destination = dir + "/help.chm";
    String prog = "c:/winnt" + "/hh.exe";
    Process p = Runtime.getRuntime().exec( prog + " " + destination );
    catch (Exception x) {}
    });

  • Link / Merge chm files on Clients PC

    Hi,
    We have a main project and add in modules that we can distribute separately as required.
    We would like to have 1 searchable CHM file, but do not want to include all of our add-in modules into the 1 CHM file.
    My idea was that we have 1 main CHM, then it searches for other CHM files on the customers PC (in selected directories) and includes them.
    Is this possible. I am willing to move to WebHelp if it is possible using that.
    I am using Robohelp HTML 10.
    May Thanks,
    Joe

    Hi Joe
    Just to add another twist to things here, perhaps you have CHM A, CHM B and CHM C.
    If you want to search CHM A and have it find results that are also found in CHM B and CHM C as if they were a singular larger CHM, you would normally have them in a single folder and have CHM A (or one of them) designated as the Master.
    The twist here is that they wouldn't have to exist in the same folder. Sure, it's simpler that way, but if your developers have arranged things in such a fashion that you have CHM files in different folders, the information below may help.
    If you look at your RoboHelp Toolbox Pod (View > Pods > Toolbox) you should find a utility there named HTML Help Registration. When you run this tool you are able to add CHM file references to your Windows registry. And that's the key point. When CHM file references exist in the Windows Registry, pathing location is added. Many eons ago I created some instructions that helped with that. In this case, you will likely be interested in the last bit of that topic where I talk about exporting a registry key that may be used to amend other registries.
    Click here to view
    Cheers... Rick

  • Can I Open an HTMLHelp (*.CHM) File from Java GUI Application?

    I ussually use Delphi to develop my applications and I can open an HTMLHelp (*.CHM) file from my application. Can you show me the ways to do it from my Java GUI applications?
    Thanks for everyone.
    Budi Raharjo
    http://budiraharjo.blogspot.com

    http://www.google.com/search?q=java+chm
    Seems like there is some 3rd party software available for that.

  • Are .chm files outdated technology?

    Hi, all,
    I'm researching the next step (technology-wise) for our help files.  Currently, I am using RH8 and generate our help using HTML help, thus creating a .chm file.  The application for which I create help is Windows-based.  So far, all of my research indicates that .chm files continue to be the standard for Windows-based applications.  Also, we use context-senstive help (click F1 in the field and the help for that definition displays), and we do not want to get rid of that functionality.  That is another reason we are stuck with .chm files--it's the only format I'm aware of that allows context-sensitive help.
    I suppose my question is if anyone is aware of a "newer" and more "modern" output that still allows me to use context-sensitive help.  Also, our developers may be using Silverlight in the future--not sure if that will have any effect on my research or not...
    I appreciate your feedback!

    Hi there
    Based on what you posted I see other questions. I'll copy what you posted and intersperse answers (and questions) inline.
    I'm researching the next step (technology-wise) for our help files.   Currently, I am using RH8 and generate our help using HTML help, thus  creating a .chm file.
    Fair enough. But keep in mind that the output depends on other unknown factors.
    The application for which I create help is  Windows-based.
    Windows-based. While I'm certain you meant that it only runs on the Windows platform, it could still be a Windows application that runs from a server. So the big question here is to ask where the application exists when the user runs it. Local PC or from a Network drive? If local PC, CHM is your answer. But if you want the help on the network, WebHelp or FlashHelp is the answer. More on this later.
    So far, all of my research indicates that .chm files  continue to be the standard for Windows-based applications.
    Assuming you mean locally installed applications, that's mostly right. Again, more later.
    Also, we  use context-senstive help (click F1 in the field and the help for that  definition displays), and we do not want to get rid of that  functionality.
    You don't have to. WebHelp, FlashHelp and AIRHelp all have the same functionality.
    That is another reason we are stuck with .chm  files--it's the only format I'm aware of that allows context-sensitive  help.
    Nope. As I said earlier, CSH exists in many shapes and sizes.
    I  suppose my question is if anyone is aware of a "newer" and more  "modern" output that still allows me to use context-sensitive help.
    Yep. WebHelp and FlashHelp are newer and more "Modern" looking. So is AIR Help. What it boils down to is how "Modern" you want it to look, as well as other factors I'll describe later.
    Also, our developers may be using Silverlight in the future--not sure if  that will have any effect on my research or not...
    I'm not sure about Silverlight either. But it seems to me that Silverlight is falling by the wayside. I base that judgement on viewing some popular web sites that once had Silverlight apps running, but have since moved back to Flash. I'm guessing there is a reason they made that move.
    It would seem to me that AIR Help may be what you are looking for here. But only you can decide that once you know its strengths and weaknesses.
    Strengths:
    Looks newer.
    Able to easily update help later.
    Able to use user added commenting if using the locally installed AIR Help.
    Weaknesses:
    Must be installed like an application
    In addition to each user having to install AIR Help, they must also download and install the AIR viewer application prior to installing the AIR Help package.
    Must have a digitally signed certificate - Allows one to be created, but it's not the same as purchasing one. Users may be hinky over that.
    Not easily customized. You are bound by the look and feel Adobe decides to offer. They do offer some customization, such as adding a Company Logo, but you cannot change the colors or the layout.
    I don't believe user added commenting is possible for Web Based AIR Help.
    User commenting isn't easy to discover for locally installed AIR Help.
    There is more on the AIR Help format over on fellow Adobe Community Professional Peter Grainge's site.
    Click here to visit Peter's site
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • HTTP Status 403 after logging out of my JSF application

    I have a JSF application that is using form based authentication (using a custom JSF control that creates a form with an action attribute equal to "j_security_check").
    Everything seems to be working just fine except when Firefox browsers logout and then backup (using the browser's back button) and click on a link or button in my JSF application. Instead of just showing the logon page again it shows the following ugly page:
    HTTP Status 403 - The request body was too large to be cached during the authentication process
    type Status report
    message The request body was too large to be cached during the authentication process
    description Access to the specified resource (The request body was too large to be cached during the authentication process) has been forbidden.
    Apache Tomcat/6.0.14IE shows the logon page when you click the back button.
    Is there some way that I can get Firefox to behave differently? Is there another way to handle authentication that would be better for a JSF application?
    Thank you!
    Dave

    Thank you for pointing me to look closer at the server RaymondDeCampo.
    I'm very new to Web development, Java, and JSF.
    I watched the HTTP Monitor (in NetBeans) as I did the following steps with Firefox, Safari (PC version), and IE:
    1. Log on to my app
    2. Change to a page in my app
    3. Log out of my app
    4. Click the browser's back button
    Firefox and Safari seemed to behave the same way. Clicking the back button displayed the previous page correctly, and NO new HTTP requests are added to the HTTP monitor. I assume these browsers are just loading the previous page from cached history or something? If I then click on a link or command button on the page, I get the HTTP Status 403 page in the browsers and once again NO new HTTP requests are added to the HTTP monitor. Is it possible for Tomcat to reply with the HTTP Status 403 page before the HTTP monitor even gets a chance to see the HTTP request? I'm pretty sure that Tomcat is producing the HTTP Status 403 page since the very last line on the page says "Tomcat 6.0.14."
    IE on the other hand caused an HTTP GET to be posted to the HTTP monitor when the browser's back button was clicked. The GET is for the login page which then gets shown in IE.
    Is there something else I should be looking at on the server side?
    Is there a way to stop Firefox and Safari from using cached pages when the back button is clicked and force them to go to the server for the content again?
    Thank you very much for any answers or advice that you can share!
    Dave

  • Unable to open .chm file from a link in Weblogic 7.0

    Unable to open .chm file from a link in weblogic server. But the same
    jsp code works in Websphere
    Sample Code :
    <!-- < a href="JavaScript:window.navigate('help/manual.CHM')">
    Linked Text</a> -->
    The above link, works well in websphere. help is a folder that
    resides in the server. But when i tried to execute the same in
    Weblogic, some junk characters appeared . so i tried to direct the
    link to Display.jsp and passed the path of the chm file as the
    parameter. I cleared teh out buffer using out.clearBuffer() . i set
    the content type to application/x-msdownload and also set the header
    to content disposition.
    Nothing worked .
    I also tried another way.. That is the following
    I even tried including the mime type
    <mime-mapping>
    <extension>chm</extension>
    <mime-type>application/x-msdownload</mime-type>
    </mime-mapping>
    in the web.xml file. and still it doesnt work
    Nothing Worked . What should i do ? I need immediate help to sort out
    this issue. Can anybody help me
    - Angel

    This could be a Launch Services issue. The following article describes how to manually reset Launch Services — the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, take a look at this other article for general troubleshooting and cache-cleaning procedures. Actually, you should also verify/repair the startup disk (not just permissions), as described there:
    Resolving Disk, Permission, and Cache Corruption
    The most appropriate utility for this particular problem probably is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Go to Maintenance > Reset and check LaunchServices database.
    4. Un-check any other pre-checked options.
    5. Click the Execute button.
    6. Restart the computer.
    BTW, if you’re running Mac OS X 10.4 (Tiger), as your profile indicates, it would have been more appropriate to discuss this in the Mail & Address Book - Tiger forum. If the discussion applies to both Mail 1.x and Mail 2.x, it doesn’t really matter, but it’s difficult to know that in advance.

  • Trying to Link from CSH to Second (Custom) Window within same .CHM file

    We are using RH8 on Windows XP Pro 2002, SP3, outputting CHM.
    Background
    Our single help source has 2 custom window definitions--one for context sensitive topics (tall and narrow, opens on right, no TOC, always on top) and the second for the main help window (shorter and wider, opens with TOC, in center).  The intent is to enable the user fast access to field descriptions via the CSH, but then to link to the main help for those who want to peruse more background information.  Thus our goal is to allow two help windows to be open at the same time. 
    In our CSH windows we are ‘writing to the box,’ and our text is brief.  Our long-term design goal for the current CSH content is to create what we envision using in an embedded help pane during the next major product release.  We need the CSH window to obscure only a small portion of the application real estate, hence the ‘tall narrow’ window design.
    In our CSH topics, we want to add a link that when clicked opens up the separate main help using its own window definition, at a specific topic we specify on a case-by-case basis. 
    We have tried
    First we started with a simple hyperlink, but that opens Main in the CSH window.
    Next we tried HTML design time controls, but the second window opens in a browser window.
    Then we tried using shortcuts, which worked well temporarily, however they lost their definitions (‘program parameters’ on shortcut tab especially) for some reason.  Are there any fixes for this?
    We have tried searching the RH help system and the forums but we have not a specific answer. 
    Can anyone help point us in the right direction to be able to meet our design goals?  Are we missing something obvious or are we tilting at windmills?
    Thanks!
    Sue 

    Hi there
    That link doesn't even work for me when I paste it into the address bar of my Firefox browser. It does work in IE, but not in Firefox. In Firefox it opens the PDF generically.
    I tested in a CHM and it did try and link, but it presents a black page. Looks like the correct page, but it's blacked out.
    CHM files rely upon elements of Internet Explorer to display their content. So perhaps it's something specific to a certain version of Internet Explorer as well as a certain version of the Acrobat Reader.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • CHM File Compatibility with 64-bit Applications

    Does anyone have any experience developing HTML Help (CHM)
    for 64-bit applications? Are the 32-bit CHM files created with
    RoboHelp compatible on the 64-bit platform? Thanks for your
    help!

    Hi,
    I happened to notice this post and thought, "Yikes, we run
    our CHM files on 64-bit systems all the time and we've never
    checked whether they're working properly."
    So I did a systematic check of the following on a 64-bit
    system (Windows 2003 Server). Fortunately, everything worked
    exactly as it does on 32-bit versions. Phew!
    Context sensitive help works (pressing F1 in the application).
    All links worked, including popup links.
    All expanding and dropdown hotspots worked.
    Both Index and Contents worked fine. Contents updated
    automatically when I move between topics (as is specified in our
    project).
    Search functionality worked fine. Search options, too.
    Favorites worked fine. These reappeared even when I closed the
    help and reopened it (as they should).
    All of the above also worked when I opened the CHM file from
    Windows Explorer (rather than from inside the application).
    Regards,
    Eileen
    P.S. I should add that the help was compiled using RH7.

  • Remove link for uploaded files in application

    Hi all,
    I've been following the tutorial on how to upload and download files in application at http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm. I have now created my own table which stores the uploaded files and can download them successfully. I would now like to add the ability to delete these files within the application and was wondering what the best way of doing this was?
    I would like to add another column to the displayed report with a 'Remove file' link for each listed file, which when clicked would delete the file from the table. I've already tried using a similar method to the one used to upload the files (instead of uploading the file, the called procedure deletes it from the table using the specified ID), but this causes the application to display a blank page when the link is clicked, which I dont want (but does delete the file).
    I would appreciate any suggestions.
    Regards,
    Dave

    Dave,
    See the login page:
    http://htmldb.oracle.com/pls/otn/f?p=31517:101
    There are details on how to access the application builder, where you can see how the
    setup of that download, delete, upload application has been done.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Link to a pdf page on web from a chm file

    Hello,
    I'm using RoboHelp 9.0.2.  I'm trying to create a link in a chm file to a specific pdf page using a URL.  The link I am using is http://www.actuarialstandardsboard.org/pdf/exposure/ASOP_No27_second%20exposure_2011.pdf#p age=41
    I put the above line in my chm file.  It appears correctly in the URL project list and shows correctly when I choose Show.  It also apeears to be correct in the HTML code of the page. 
    However when I create the chm clicking on the link just brings me the start of the pdf file.  After clicking on the link in the chm file and explorer opens, the URL in explorer does not show #page=41.  It ends at.pdf.
    Am I missing something or does anyone kno whys this is not working?
    Thanks
    John

    Hi there
    That link doesn't even work for me when I paste it into the address bar of my Firefox browser. It does work in IE, but not in Firefox. In Firefox it opens the PDF generically.
    I tested in a CHM and it did try and link, but it presents a black page. Looks like the correct page, but it's blacked out.
    CHM files rely upon elements of Internet Explorer to display their content. So perhaps it's something specific to a certain version of Internet Explorer as well as a certain version of the Acrobat Reader.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How can I create a link from a CHM file to a webhelp file?

    How can I create a link from a CHM file to a webhelp file?
    The CHM output (accreditation.chm) is stored in a parent directory, and the webhelp output (index.htm) is stored in a child directory.

    Open the usual Link dialog and enter the relative path from where the CHM will be installed to where the webhelp will be installed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Link in program won't open .htm page in .chm file

    Previously we were able to link to an individual topic in a RoboHelp .chm (this old copy may have been generated in RHx5 or earlier) by clicking a link in the program interface.
    This is how the link was written in MS Help Server Program HH -
         m_strHelpPath[0] = "mk:@MSITStore:%sSystem\\FabriTALK.chm::/Connecting_a_Control.htm";
    The .chm file compliled in RH8 will not open the topic level doc. It opens the .chm file, but for some reason won't dig down to the .htm to open it the way it used to.
    Is this a question of compile settings?
    Any suggestions?
    Thank you

    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • Link to a specific topic in a chm file from Word

    Hi,
    How do I link to a specific topic in a chm file from Word? I can link to the chm but can't work out how to get it to open to a specific page. I have tried #filename and \filename at the end of the path but neither works.
    Thanks for any assistance.
    Emily

    Hi Emily
    Whether it works correctly on your C drive depends on how it arrived there.
    Click here to see what you may need to do
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

Maybe you are looking for