Changeset 38817 for gs3-extensions


Ignore:
Timestamp:
2024-03-03T20:31:57+13:00 (3 months ago)
Author:
anupama
Message:

I can't find a better way (the webswing way) to customise the applet parameters collection and library, no matter what I try. So I have made use of the fact that the docBaseURL of the applet that is available to the applet code contains both these pieces of information. Whether this will always be true when not using the default Greenstone DL URL structure, I'm not too sure. But for now, it is better than my previous commits where I hardcoded the library and, still worse, the collection name into the webswing config file to get the applet to show up with webswing. Better to leave the code in this improved state and maybe Kathy or Dr Bainbridge will know how it should actually be solved when configuring webswing options at JavaScript level (which had worked for GLI which didn't use appletParams but args/customArgs).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/webswing/trunk/web/etc/webswing.config.in

    r38806 r38817  
    111111        "appletClass" : "org.greenstone.applet.phind.JPhind",
    112112        "parameters" : {
    113         "library" : "library",
    114             "collection" : "tudor",
    115113        "phindcgi" : "?a=a&rt=r&s=PhindApplet&o=xml&ro=1",
    116114            "classifier" : "1",
Note: See TracChangeset for help on using the changeset viewer.