Ignore:
Timestamp:
2024-03-02T20:04:36+13:00 (3 months ago)
Author:
anupama
Message:
  1. The Phrase Browse tab (in my tudor collection which has a Phind browser) now links to the webswing-phind.xsl page, loading the Phind applet (JPhind JApplet) as a webswing application. 2. The applet status bar wasn't appearing. I'm not sure if it's because browser support for applets has stopped so that a status window is no longer provided to Applets for showStatus() calls (see the API for this Applet method) or whether webswing doesn't provide a status window, but since we're printing meaningful information to the status window, I've now opened up the JPhind code that creates and uses the custom statusBar when JPhind is run as an application (instead of when run as an applet) when JPhind is now run as an applet also.
Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r38182 r38813  
    426426        </xsl:attribute>
    427427          </xsl:if>                       
    428           <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>
     428          <!--<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>-->
     429          <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection/@name"/>/page/phind</xsl:attribute>
    429430          <xsl:value-of select="displayItem[@name='name']"/>
    430431        </a>
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/webswing-phind.xsl

    r38806 r38813  
    1111  <!-- This page, structurally speaking, is a hybrid of home.xsl and about.xsl -->
    1212  <!-- If no collection argument is explicitly given, then produces a general
    13        embedded GLI, however if a collection is specified, then it produced
     13       embedded Phind, however if a collection is specified, then it produced
    1414       a page with a navigation area akin to an about this page, only with
    15        GLI embedd in it, rather than about this collection txt   -->
     15       Phind embedded in it, rather than about this collection txt   -->
    1616 
    1717    <!-- use the 'main' layout -->
     
    7070                </xsl:attribute>
    7171                <xsl:attribute name="title">
    72                   <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'webswing_glipage')"/>
     72                  <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'webswing_phindpage')"/>
    7373                </xsl:attribute>
    7474              </img>       
Note: See TracChangeset for help on using the changeset viewer.