Changeset 38927
- Timestamp:
- 2024-04-16T15:30:51+12:00 (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/pages/classifier.xsl
r38921 r38927 155 155 And made all param XML elements self-closing. 156 156 --> 157 <!-- we seem to be in the web dir, so look in web/applet for the jar --> 158 <applet CODEBASE="applet" 157 <!-- When run in the browser or as an application, it's enough to specify applet as 158 the relative folder for where to find the jars (we seem to be in the web dir then, 159 so can directly look in web's applet subdirectory for the jar). But for running with 160 this applet with the appletviewer we need the "full URL path" to the applet folder, 161 which is off /greenstone3. Though once the collage applet is run in the appletviewer, 162 a securityexception is thrown as appears it's in a sandbox and has no permission to 163 download URLs or follow external links or something. 164 --> 165 <applet codebase="/greenstone3/applet" 159 166 code="org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet.class" 160 archive="GsdlCollageApplet.jar "161 width="600" height="300"162 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">167 archive="GsdlCollageApplet.jar, webswing-api.jar" 168 width="600" 169 height="300"> 163 170 164 171 <param name='gsdlversion' value='3' /> … … 304 311 </xsl:when> 305 312 <xsl:when test="@childType = 'Collage'"> 306 <xsl:call-template name="Collage" /> 313 <xsl:choose> 314 <xsl:when test="not(*)"> 315 <xsl:call-template name="Collage" /> 316 </xsl:when> 317 <xsl:otherwise> 318 <xsl:apply-templates select='classifierNode|documentNode' mode='process-all-children'> 319 <xsl:with-param name='collName' select='$collName' /> 320 <xsl:with-param name='serviceName' select='$serviceName' /> 321 </xsl:apply-templates> 322 </xsl:otherwise> 323 </xsl:choose> 307 324 </xsl:when> 308 325 <xsl:otherwise>
Note:
See TracChangeset
for help on using the changeset viewer.