Changes to edit request controller path in web.xml, adding generator as part of custom annotation and test menu edit template (to be removed later)
This commit is contained in:
parent
7a23fe0201
commit
50e15f9c0c
3 changed files with 35 additions and 2 deletions
|
@ -133,8 +133,10 @@ rdfs:comment
|
|||
owl:Class
|
||||
a owl:Class .
|
||||
|
||||
#In this case, hasElement's custom entry form actually corresponds to the name of the Edit Configuration Generator class
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasElement>
|
||||
a owl:ObjectProperty .
|
||||
a owl:ObjectProperty ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customEntryFormAnnot> "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.MenuEditingFormGenerator"^^xsd:string .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#title>
|
||||
a owl:DatatypeProperty .
|
||||
|
|
|
@ -329,7 +329,19 @@
|
|||
<url-pattern>/ProcessRdfForm</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
--><servlet>
|
||||
-->
|
||||
|
||||
|
||||
<servlet>
|
||||
<servlet-name>EditRequestDispatch</servlet-name>
|
||||
<servlet-class>edu.cornell.mannlib.vitro.webapp.edit.n3editing.controller.EditRequestDispatchController</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>EditRequestDispatch</servlet-name>
|
||||
<url-pattern>/editRequestDispatch</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>IndexController</servlet-name>
|
||||
<servlet-class>edu.cornell.mannlib.vitro.webapp.search.controller.IndexController</servlet-class>
|
||||
</servlet>
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#--
|
||||
Menu Edit Form
|
||||
Associated with generator:
|
||||
edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.MenuEditingFormGenerator
|
||||
-->
|
||||
|
||||
<h2>Lorem ipsum dolor sit amet</h2>
|
||||
|
||||
<form class="editForm" action = "xyz">
|
||||
<p>consectetur adipisicing elit</p>
|
||||
<input type="text" id="objectVar" size="80" />
|
||||
<div style="margin-top: 0.2em">
|
||||
<input type="submit" id="submit" value="submit" cancel="true"/>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<@dumpAll/>
|
Loading…
Add table
Reference in a new issue