source: cats/ISOcat/trunk/mod-ISOcat-interface-gi/index.acc @ 3447

Last change on this file since 3447 was 3447, checked in by mwindhouwer, 11 years ago

Made the ISOcat API more RESTful:

  • create resources using POST
  • update resources using PUT

One outlier: we use POST for creating users eventhough the client in this case specifies the full resource URL
Other outliers: in many cases we allow a dummy 0 for a POST call, e.g., POST /dcs/0 to create a new DCS

File size: 1.9 KB
Line 
1<accessor debug="false">
2        <name>interface/index.html</name>
3        <descr>GI wrapper page</descr>
4        <params/>
5        <idoc>
6                <instr>
7                        <type>xslt2</type>
8                        <operand>var:params</operand>
9                        <operator>
10                                <xsl:stylesheet
11                                        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12                                        version="2.0"
13                                >
14                                        <xsl:param name="props"/>
15                                        <xsl:template match="/nvp">
16                                                <html>
17                                                        <head>
18                                                                <title>General Interface - ISOcat - Web Interface</title>
19                                                                <link rel="shortcut icon" href="{$props//site}interface/JSXAPPS/ISOcat/images/favicon.ico"/>
20                                                                <link rel="icon" href="{$props//site}interface/JSXAPPS/ISOcat/images/favicon.gif" type="image/gif"/>
21                                                                <!--<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"/>-->
22                                                        </head>
23                                                        <body BGCOLOR="#9898a5" SCROLL="no"
24                                                                style="position:absolute;width:100%;height:100%;left:0px;top:0px;padding:0px;margin:0px;border:0px;overflow:hidden;">
25                                                                <div id="jsxmain" style="position:absolute;left:0px;top:0px;width:100%;height:100%;">
26                                                                        <script type="text/javascript" src="{$props//static}gi/3_9_2-r1111/JSX/js/JSX30.js"
27                                                                jsxapppath="{$props//site}interface/JSXAPPS/ISOcat/"
28                                                                        jsxlt="true"
29                                                                        jsx_browsers="ie6=warn"
30                                                        >
31                                                                                <xsl:for-each select="*[not(starts-with(name(),'jsx'))]">
32                                                                                        <xsl:attribute name="{name()}" select="."/>
33                                                                                </xsl:for-each>
34                                                                <xsl:comment>keep the script tag alive</xsl:comment>
35                                                        </script>
36                                                                </div>
37                                                        </body>
38                                                </html>
39                                        </xsl:template>
40                                </xsl:stylesheet>
41                        </operator>
42                        <props>active:ISOcat.manage.system.properties</props>
43                        <target>this:response</target>
44                </instr>
45        </idoc>
46        <exception>
47                <debug/>
48                <trace>ffcpl:/trace/index.exception.xml</trace>
49                <throw/>
50        </exception>
51        <response>
52                <debug>ffcpl:/trace/index.response.xml</debug>
53                <mime>text/html</mime>
54        </response>
55</accessor>
56
Note: See TracBrowser for help on using the repository browser.