Changeset 38884 for main/trunk


Ignore:
Timestamp:
2024-03-27T21:07:26+13:00 (5 weeks ago)
Author:
anupama
Message:

I still can't get the customisable applet element in classifier.xsl to work, but updating to get it up to speed with the set of parameters currently working with the applet element hardcoded into GsdlCollageBrowse.java, since I'm working on simplifiying the parameters and want all the changes for that (if it works out) to be committed in one step hereafter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/classifier.xsl

    r38854 r38884  
    149149  <xsl:template name="Collage">
    150150
    151     TODO: Here is the collage applet
     151    <xsl:text>TODO: Here is the collage applet</xsl:text>
    152152    <!-- Copied from GS2.88's about.dm (document.dm has a more applet params).
    153153
     
    159159        code="org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet.class"
    160160        archive="GsdlCollageApplet.jar"
    161         width="445" height="250">
    162  
    163      <param name="gwcgi" value="http://localhost:8383/greenstone3/library"/>
    164          <param name="collection" value="smallbea"/>
    165          <param name="classifier" value="CL3.1"/>
    166        
    167          <param name="hrefMustHave" value="CL3"/>
    168          <param name="imageMustNotHave" value="hl=%x=%gt=%gc=%.pr"/>
    169 
    170      <!--
    171      <param name="imageType" value=".jpg%.png"/> 
    172      <param name="verbosity" value="5"/>
    173      <param name="maxDepth" value="3"/>
    174      <param name="refreshDelay" value="1500"/>
    175      <param name="isJava2" value="true"/>
    176      -->
    177      <param name="imageType" value=".jpg%%.png"/> 
    178      <param name="maxDepth" value="500"/>
    179      <param name="maxDisplay" value="25"/>
    180      <param name="refreshDelay" value="1500"/>
    181      <param name="isJava2" value="auto"/>
    182      <param name="bgcolor" value="#96c29a"/>
    183      <!--<param name="documentroot" value="/greenstone/web/images"/> for GS2-->
     161        width="600" height="300">
     162     
     163      <param name='gsdlversion' value='3' />
     164      <param name='baseurl' value='http://localhost:8383/greenstone3/' />
     165      <param name='sitename' value='localsite' />
     166     
     167      <param name="gwcgi" value="http://localhost:8383/greenstone3/library"/>
     168      <param name='library' value='library'/>
     169      <param name="collection" value="smallbea"/>
     170      <param name="classifier" value="CL2.3"/> <!-- 3.1 -->
     171
     172      <param name='documentroot' value='greenstone3'/>
     173      <!--<param name="documentroot" value="/greenstone/web/images"/> for GS2-->
     174     
     175      <param name='imageType' value='.jpg%.png' />     
     176      <param name='verbosity' value='3' />
     177      <!--<param name="hrefMustHave" value="CL3"/>-->
     178      <param name='imageMustNotHave' value='interfaces/' />
     179      <param name="maxDepth" value="500"/>
     180      <param name='maxDisplay' value='25' />
     181      <param name="refreshDelay" value="1500"/>
     182      <param name="isJava2" value="auto"/>
     183      <param name='bgcolor' value='#96c29a' />
     184The Collage Applet.
     185
    184186   </applet>
    185187  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.