logo

New Response

« Return to the main article

You are replying to:

  1. Sorry - assumed too much of my users again....

    There are various ways of importing the applet. You can do it throught the create menu in a form and store the .jar file in the form. The Base class name should be "apPopupMenu.class".

    You can put the images wherever you like. The URL you use to point to them just needs to be relative.

    The way I did it for the article was to place ALL resources in [<a href="rsrc/apMenuJavaFiles">this document</a>]. I can reference them all from one place.

    You could use images from the Domino icon folder like this:

    "{Main, /icons/vwicn022.gif}"

    or if you are using Image Resources in the same database:

    "{Main, /" + DBPath +"/anImage.gif}"*

    *Assuming you have a field on the form called "DBPath" that equates to the file path.

    The formula I used in the example does a lookup to a view to get a list of all the categories available and then appends these to a view to create a list of URLs to open a categorised view: [<span class="formula">] DBPath := @ReplaceSubstring( @Subset ( @DBName; -1); "\\"; "/"); Areas := @DbLookup(""; ""; "luASK"; "General\\Area"; 2);

    "{Areas}" + @Implode("{|" + Areas + ",/" + DBPath + "/CatView?OpenView&RestictToCategory=" + Areas +",_self}) [</span>] Jake -CodeStore

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: