Changeset 805


Ignore:
Timestamp:
10/19/10 18:10:19 (14 years ago)
Author:
oschonef
Message:
  • preliminary GUI stuff (far from being useful ;)
Location:
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry
Files:
32 added
3 edited

Legend:

Unmodified
Added
Removed
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/pom.xml

    r778 r805  
    137137
    138138    <dependency>
     139      <groupId>org.slf4j</groupId>
     140      <artifactId>slf4j-jdk14</artifactId>
     141      <version>${slf4j.version}</version>
     142      <scope>runtime</scope>
     143    </dependency>
     144
     145    <dependency>
     146      <groupId>org.slf4j</groupId>
     147      <artifactId>slf4j-api</artifactId>
     148      <version>${slf4j.version}</version>
     149    </dependency>
     150
     151    <dependency>
    139152      <groupId>javax.servlet</groupId>
    140153      <artifactId>servlet-api</artifactId>
     
    147160      <groupId>javax.xml.bind</groupId>
    148161      <artifactId>jaxb-api</artifactId>
    149       <version>2.2</version>
     162      <version>2.2.1</version>
    150163      <exclusions>
    151164        <exclusion>
     
    231244    </dependency>
    232245
     246
     247    <dependency>
     248        <groupId>org.codehaus.woodstox</groupId>
     249        <artifactId>woodstox-core-asl</artifactId>
     250        <version>4.0.8</version>
     251        <type>jar</type>
     252        <scope>compile</scope>
     253    </dependency>
     254
     255    <dependency>
     256        <groupId>net.java.dev.msv</groupId>
     257        <artifactId>msv-core</artifactId>
     258        <version>2009.1</version>
     259        <type>jar</type>
     260        <scope>compile</scope>
     261    </dependency>
     262
     263    <dependency>
     264      <groupId>org.codehaus.jettison</groupId>
     265      <artifactId>jettison</artifactId>
     266      <version>1.2</version>
     267      <exclusions>
     268        <exclusion>
     269          <groupId>stax</groupId>
     270          <artifactId>stax-api</artifactId>
     271        </exclusion>
     272      </exclusions>
     273    </dependency>
     274
    233275    <dependency>
    234276      <groupId>commons-lang</groupId>
     
    239281
    240282    <dependency>
    241       <groupId>org.codehaus.jettison</groupId>
    242       <artifactId>jettison</artifactId>
    243       <version>1.2</version>
    244       <exclusions>
    245         <exclusion>
    246           <groupId>stax</groupId>
    247           <artifactId>stax-api</artifactId>
    248         </exclusion>
    249       </exclusions>
    250     </dependency>
    251 
    252     <dependency>
    253       <groupId>org.slf4j</groupId>
    254       <artifactId>slf4j-jdk14</artifactId>
    255       <version>${slf4j.version}</version>
    256       <scope>runtime</scope>
    257     </dependency>
    258 
    259     <dependency>
    260       <groupId>org.slf4j</groupId>
    261       <artifactId>slf4j-api</artifactId>
    262       <version>${slf4j.version}</version>
    263     </dependency>
    264 
    265     <dependency>
    266283      <groupId>org.apache.httpcomponents</groupId>
    267284      <artifactId>httpclient</artifactId>
     
    272289
    273290    <dependency>
     291      <groupId>org.apache.wicket</groupId>
     292      <artifactId>wicket</artifactId>
     293      <version>${wicket.version}</version>
     294    </dependency>
     295
     296    <dependency>
     297      <groupId>org.apache.wicket</groupId>
     298      <artifactId>wicket-auth-roles</artifactId>
     299      <version>${wicket.version}</version>
     300    </dependency>
     301
     302    <dependency>
     303      <groupId>org.apache.wicket</groupId>
     304      <artifactId>wicket-extensions</artifactId>
     305      <version>${wicket.version}</version>
     306    </dependency>
     307
     308    <dependency>
    274309      <groupId>net.java.dev.javacc</groupId>
    275310      <artifactId>javacc</artifactId>
     
    278313      <scope>provided</scope>
    279314    </dependency>
     315
    280316    <dependency>
    281317        <groupId>junit</groupId>
     
    285321        <scope>test</scope>
    286322    </dependency>
     323
    287324    <dependency>
    288325        <groupId>org.hsqldb</groupId>
     
    292329        <scope>test</scope>
    293330    </dependency>
     331
    294332    <dependency>
    295333        <groupId>mysql</groupId>
     
    298336        <type>jar</type>
    299337        <scope>test</scope>
    300     </dependency>
    301     <dependency>
    302         <groupId>org.codehaus.woodstox</groupId>
    303         <artifactId>woodstox-core-asl</artifactId>
    304         <version>4.0.8</version>
    305         <type>jar</type>
    306         <scope>compile</scope>
    307     </dependency>
    308     <dependency>
    309         <groupId>net.java.dev.msv</groupId>
    310         <artifactId>msv-core</artifactId>
    311         <version>2009.1</version>
    312         <type>jar</type>
    313         <scope>compile</scope>
    314338    </dependency>
    315339  </dependencies>
     
    330354    <jersey.version>1.4</jersey.version>
    331355    <slf4j.version>1.6.0</slf4j.version>
     356    <wicket.version>1.4.12</wicket.version>
    332357  </properties>
    333358</project>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/WEB-INF/web.xml

    r602 r805  
    55  id="WebApp_ID" version="2.5">
    66  <display-name>CLARIN Virtual Collection Registry</display-name>
     7
     8  <listener>
     9    <listener-class>eu.clarin.cmdi.virtualcollectionregistry.rest.ContextListener</listener-class>
     10  </listener>
    711
    812  <filter>
     
    1620  </filter-mapping>
    1721
    18   <listener>
    19     <listener-class>eu.clarin.cmdi.virtualcollectionregistry.rest.ContextListener</listener-class>
    20   </listener>
     22  <filter>
     23    <filter-name>VirtualCollectionRegistryApplication</filter-name>
     24    <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
     25    <init-param>
     26        <param-name>applicationClassName</param-name>
     27        <param-value>eu.clarin.cmdi.virtualcollectionregistry.gui.Application</param-value>
     28    </init-param>
     29    <init-param>
     30        <param-name>configuration</param-name>
     31        <!--
     32        <param-value>deployment</param-value>
     33         -->
     34        <param-value>development</param-value>
     35    </init-param>
     36  </filter>
    2137
     38  <filter-mapping>
     39    <filter-name>VirtualCollectionRegistryApplication</filter-name>
     40    <url-pattern>/app/*</url-pattern>
     41  </filter-mapping>
    2242
    2343  <servlet>
     
    3252  </servlet>
    3353
     54  <servlet-mapping>
     55    <servlet-name>REST-Web-Service</servlet-name>
     56    <url-pattern>/service/*</url-pattern>
     57  </servlet-mapping>
     58
    3459  <servlet>
    3560    <display-name>Virtual Collection Registry OAI-PMH Provider</display-name>
     
    3863    <load-on-startup>2</load-on-startup>
    3964  </servlet>
    40 
    41   <servlet-mapping>
    42     <servlet-name>REST-Web-Service</servlet-name>
    43     <url-pattern>/service/*</url-pattern>
    44   </servlet-mapping>
    4565
    4666  <servlet-mapping>
     
    7090      <url-pattern>/service/my-virtualcollections</url-pattern>
    7191      <http-method>GET</http-method>
     92    </web-resource-collection>
     93    <web-resource-collection>
     94        <web-resource-name>VirtualCollectionRegistryApplication</web-resource-name>
     95        <description></description>
     96        <url-pattern>/app/login</url-pattern>
     97        <http-method>GET</http-method>
     98        <http-method>POST</http-method>
    7299    </web-resource-collection>
    73100    <auth-constraint>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/index.html

    r146 r805  
    1 <?xml version="1.0" encoding="UTF-8" ?>
    2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     3                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    34<html xmlns="http://www.w3.org/1999/xhtml">
    45  <head>
     
    89  <body>
    910    <h1>CLARIN Virtual Collection Registry</h1>
    10     <p>OHAI! I can has virtual colleckshun?</p>
     11    <p><a href="app/">Go to Web-Interface</a></p>
    1112  </body>
    1213</html>
Note: See TracChangeset for help on using the changeset viewer.