Ignore:
Timestamp:
2024-04-09T19:31:39+12:00 (6 weeks ago)
Author:
anupama
Message:

Minor correction to GS3 service and bringing unused (still not working) part of classifier.xsl up to speed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GsdlCollageBrowse.java

    r38888 r38921  
    8989    // this is left blank at this end, and must be filled in by applet action - if the library name is not needed, this param is left out
    9090
     91    String siteName = this.site_home.substring(this.site_home.lastIndexOf("/sites/")+"/sites/".length());
     92   
    9193    String app_info = "<"+GSXML.APPLET_ELEM+" CODEBASE='applet' CODE='org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet.class' ARCHIVE='GsdlCollageApplet.jar' WIDTH='600' HEIGHT='300'>"; // w=645,h=780
    9294    app_info +="<param name='library' value='" + this.library_name + "'/>";
     
    9698    //app_info += "<param name='sitename' value='"+ this.site_home +"' />\n";
    9799    //app_info += "<param name='hrefMustHave' value='smallbea' />\n";
    98     app_info += "<param name='hrefMustHave' value='" + this.library_name + "/sites/" + this.site_home + "/collect/" + this.cluster_name + "'/>\n";
     100    app_info += "<param name='hrefMustHave' value='" + this.library_name + "/sites/" + siteName + "/collect/" + this.cluster_name + "'/>\n";
    99101    //app_info += "<param name='gwcgi' value='http://localhost:8383/greenstone3/library' /><param name='classifier' value='CL3.1' /><param name='hrefMustHave' value='CL3' /><param name='imageMustNotHave' value='hl=%x=%gt=%gc=%.pr' /><param name='imageType' value='.jpg%%.png' /><param name='maxDepth' value='500' /><param name='maxDisplay' value='25' /><param name='refreshDelay' value='1500' /><param name='isJava2' value='auto' /><param name='bgcolor' value='#96c29a' />The Collage Applet.</"+GSXML.APPLET_ELEM+">"; // TODO
    100102
Note: See TracChangeset for help on using the changeset viewer.