Changeset 1848 for MDService2


Ignore:
Timestamp:
04/03/12 20:01:22 (12 years ago)
Author:
vronk
Message:

bug: loop in catchall-request, because reading workspaceprofile in xsl (for query-input)

Location:
MDService2/branches/MDService_simple3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • MDService2/branches/MDService_simple3/WebContent/static/catchall.xml

    r1508 r1848  
    55<!-- TODO: mirror the request -->
    66                <a class="template" href="query-input" >query-input</a>
    7                 <a class="request" href="/collections?repository=clarin.at-mirror&amp;collection=&amp;maxdepth=1&amp;format=htmllist">collections clarin.at</a>         
     7        <!--            <a class="request" href="/collections?repository=clarin.at-mirror&amp;collection=&amp;maxdepth=1&amp;format=htmllist">collections clarin.at</a>         -->
    88               
    99        </div> 
  • MDService2/branches/MDService_simple3/src/xsl/fcs/params.xsl

    r1812 r1848  
    1313    <xsl:param name="site_logo" select="concat($scripts_url, 'style/logo_c_s.png')"/>
    1414    <xsl:param name="site_name">Content Repository</xsl:param>
    15     <xsl:param name="format" select="'htmlpagelist'"/> <!-- table|list|detail -->
     15    <xsl:param name="format" select="'htmlpage'"/> <!-- table|list|detail -->
    1616    <xsl:param name="q" select="/sru:searchRetrieveResponse/sru:echoedSearchRetrieveRequest/sru:query"/>
    1717    <xsl:param name="x-context" select="/sru:searchRetrieveResponse/sru:echoedSearchRetrieveRequest/fcs:x-context"/>
  • MDService2/branches/MDService_simple3/src/xsl/html_snippets.xsl

    r1787 r1848  
    115115                                                                <label>Repository</label>
    116116                                                                <select id="repositories_select" name="repository">
    117                                                                 <xsl:for-each select="$workspaceprofile//WorkspaceProfile/Repositories/item" >
     117                                       
     118                        <xsl:for-each select="$workspaceprofile//Repositories/item" >
    118119                                                                        <option><xsl:attribute name="value"><xsl:value-of select="name"/></xsl:attribute>
    119120                                                                        <xsl:if test="contains(name,$repository)">
  • MDService2/branches/MDService_simple3/src/xsl/params.xsl

    r1807 r1848  
    2424       
    2525       
    26         <xsl:param name="workspaceprofile_uri" select="concat('http://localhost:8080/', $app_name, '/workspaceprofile/xml/server')" />
     26        <xsl:param name="workspaceprofile_uri" select="concat('http://localhost:8080/', $app_name, '/workspaceprofile/server')" />
    2727       
    2828<!-- should be obsoleted by SMC:        -->
  • MDService2/branches/MDService_simple3/src/xsl/static2view.xsl

    r1575 r1848  
    2424
    2525<xsl:template name="continue-root">
     26<!--    <xsl:copy-of select="." />-->
    2627                <xsl:apply-templates  />
    2728</xsl:template>
     
    8081                </xsl:choose>   
    8182 </xsl:variable>
    82 
     83<xsl:message>static2view: <xsl:value-of select="concat(@class, ':', $target_url)" /></xsl:message>
    8384<xsl:variable name="data" >
    8485        <xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.