Ignore:
Timestamp:
2024-03-25T23:18:19+13:00 (3 months ago)
Author:
anupama
Message:
  1. Tried to get the GsdlCollageApplet to run as a webswing applet, but it hits a nullpointer in the DisplayImages constructor: createImage hasn't returned anything, I think. This is not a problem with the applet, and the applet gets past this. So next, I want to try getting GsdlCollageApplet to work as an application (as opposed to applet) to see if it is free of this problem and then see if the problem goes away when the webswing is run as an application instead of an applet. 2. Adding the code to GsdlCollageApplet to make it run as an application as well, besides applet. The code was largely copied from JPhind, where I'd done all the thinking for how GS applet classes need to modified to get them to work as an application. Sadly, when I run the GsdlCollageApplet as an Application, I hit the same error as when running it as an Applet through Webswing. It's perplexing what is different about the GsdlCollageApplet run through the appletviewer as a standalone applet that that manages to get a little further. Or maybe the parameters are incomplete in the webswing applet params and the standalone application commandline parameters compared to how the applet was run? I can't think what I'm missing though.
Location:
main/trunk/greenstone3/web/interfaces/default
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/interfaceConfig.xml

    r38814 r38874  
    77            <subaction name="gli" xslt="pages/webswing-gli.xsl"/>
    88            <subaction name="phind" xslt="pages/webswing-phind.xsl"/>
     9            <subaction name="collage" xslt="pages/webswing-collage.xsl"/>
    910            <subaction name="debug" xslt="pages/debuginfo.xsl"/>
    1011            <subaction name="pref" xslt="pages/pref.xsl"/>
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r38854 r38874  
    451451        </xsl:attribute>
    452452          </xsl:if>                       
    453           <xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=a&amp;rt=d&amp;s=<xsl:value-of select="@name"/>&amp;c=<xsl:value-of select="/page/pageResponse/collection/@name"/></xsl:attribute>
    454           <!--<xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection/@name"/>/page/collage</xsl:attribute>-->
     453          <!--<xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=a&amp;rt=d&amp;s=<xsl:value-of select="@name"/>&amp;c=<xsl:value-of select="/page/pageResponse/collection/@name"/></xsl:attribute>-->
     454          <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection/@name"/>/page/collage</xsl:attribute>
    455455          <xsl:value-of select="displayItem[@name='name']"/>
    456456        </a>
Note: See TracChangeset for help on using the changeset viewer.