Hi Eugene,

You have to provide the following user arguments to your ULC App that is
using JavaHelp integration

1.       "help-set-url-provider" = "url"

2.       Suppose your .hs helpfiles are in the dir /ulcapp/helpfiles then
specify the following url prefix:


3.       "help-set-url-prefix" = "http://www.mycompany.com/ulcapp/helpfiles";

4.  .hs file at top level in a jar which is on the classpath of your ULC App
should work

        In you app do the following to set up help:

  String helpSetURLProvider =
ClientContext.getUserParameter("help-set-url-provider");
  if ("URL".equalsIgnoreCase(helpSetURLProvider)) {
     String helpSetURLPrefix =
ClientContext.getUserParameter("help-set-url-prefix");
     animalsHelpSetURL = new URL(helpSetURLPrefix + "/Animals.hs");
     ULCHelpSet helpSet = new ULCHelpSet(animalsHelpSetURL);
  }

I hope this helps.

Thanks and regards,

Janak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Eugene Coelho
Sent: Friday, August 18, 2006 10:55 AM
To: UlC Devleoper list
Subject: [ULC-developer] JavaHelp


Hi,
How can i use JavaHelp with ulc to display the .hs file(present in jar file)
from  a ulc application running as an applet.
Found a small snippet on mailing list  but i dont have an idea how to use it

String helpSetURLProvider =
ClientContext.getUserParameter("help-set-url-provider");
        if ("URL".equalsIgnoreCase(helpSetURLProvider)) {
            String helpSetURLPrefix =
ClientContext.getUserParameter("help-set-url-prefix");

            try {
                animalsHelpSetURL = new URL(helpSetURLPrefix +
"/animals/Animals.hs");
                 }


Thanks,
Gene



Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to