From: <rv...@us...> - 2010-03-11 14:05:40
|
Revision: 538 http://treebase.svn.sourceforge.net/treebase/?rev=538&view=rev Author: rvos Date: 2010-03-11 14:05:33 +0000 (Thu, 11 Mar 2010) Log Message: ----------- Now applies the sidebarLeft menu to the urlAPI and the about page, and locates them using the filenameController, so that they have the .html extension as opposed to the .jsp extension. Modified Paths: -------------- trunk/treebase-web/src/main/webapp/WEB-INF/decorators.xml trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml Modified: trunk/treebase-web/src/main/webapp/WEB-INF/decorators.xml =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/decorators.xml 2010-03-11 14:04:30 UTC (rev 537) +++ trunk/treebase-web/src/main/webapp/WEB-INF/decorators.xml 2010-03-11 14:05:33 UTC (rev 538) @@ -7,6 +7,8 @@ <!-- decoration page for the main opening page --> <decorator name="main" page="mainTemplate.jsp"> <pattern>/home.html</pattern> + <pattern>/about.html</pattern> + <pattern>/urlAPI.html</pattern> </decorator> <!-- decoration page for search pages --> Modified: trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml 2010-03-11 14:04:30 UTC (rev 537) +++ trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml 2010-03-11 14:05:33 UTC (rev 538) @@ -853,9 +853,11 @@ <property name="alwaysUseFullPath" value="true"/> <property name="mappings"> <props> - <prop key="/phylows/**">phyloWSController</prop> + <prop key="/phylows/**">phyloWSController</prop> + <prop key="/about.html">filenameController</prop> <prop key="/home.html">filenameController</prop> <prop key="/login.html">filenameController</prop> + <prop key="/urlAPI.html">filenameController</prop> <prop key="/user/viewXML.html">filenameController</prop> <prop key="/test/phylowidget.html">filenameController</prop> <prop key="/test/newPhylowidget.html">filenameController</prop> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yo...@us...> - 2010-03-18 14:18:17
|
Revision: 625 http://treebase.svn.sourceforge.net/treebase/?rev=625&view=rev Author: youjun Date: 2010-03-18 14:18:10 +0000 (Thu, 18 Mar 2010) Log Message: ----------- fix redirect path for limitedPhylowidget Modified Paths: -------------- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/tree.jsp trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml Added Paths: ----------- trunk/treebase-web/src/main/webapp/WEB-INF/pages/limitedPhylowidget.jsp Added: trunk/treebase-web/src/main/webapp/WEB-INF/pages/limitedPhylowidget.jsp =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/pages/limitedPhylowidget.jsp (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/pages/limitedPhylowidget.jsp 2010-03-18 14:18:10 UTC (rev 625) @@ -0,0 +1,199 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<%@include file="/common/taglibs.jsp" %> + +<html> +<head> +<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<title>-Tree viewer/editor (PhyloWidget)</title> + +<script type="text/javascript" src="<c:url value='/scripts/prototype/prototype-1.6.0.3.js'/>"></script> +<script type="text/javascript" src="<c:url value='/scripts/phylowidget/lib.js'/>"></script> +<script type="text/javascript" src="<c:url value='/scripts/phylowidget.js'/>"></script> + +<style type="text/css"> +body { + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + text-align: center; + font-family: verdana, geneva, arial, helvetica, sans-serif; + font-size: 11px; + background-color: white; + text-decoration: none; + font-weight: normal; + line-height: normal; +} + +a { color: #3399CC; text-decoration: none; } +a:link { color: #3399CC; text-decoration: none; } +a:visited { color: #3399CC; text-decoration: none; } +a:active { color: #3399CC; text-decoration: underline; } +a:hover { color: #3399CC; text-decoration: underline; } + +div { + border: 0px; + +} + +#content { + margin: auto; +} + +#content fieldset { + margin-top: 5px; +} + +#comments { +} + +input { + font-size:12px; +} + +fieldset { + display:block; + background:#CEE3F6; + margin:auto; + text-align:center; +} + +legend { + background:white; + border:1px solid black; + padding:5px; +} + +#treeText,#clipText { + width:100%; +} + +table { + text-align:left; +} + +table .key { + text-align:right; + padding-right:10px; +} + +table .val { + text-align:left; +} + +</style> +</head> +<body> + <script type="text/javascript"> + TreeBASE.register( + function () { + var treeList = $('treeList'); + var option = treeList.select('option'); + var treeText = $('treeText'); + treeText.value = option[0].value; + updateJavaTree(); + } + ); + </script> + <form name="TreeForm"> + <table id="content" style="margin-top: 5px"> + <tr> + <td style="vertical-align:top"> + <fieldset> + <legend>PhyloWidget +<a href="#" class="openHelp" onclick="openHelp('newPhyloWidget')"><img class="iconButton" src="<fmt:message key="icons.help"/>" /></a> + </legend> + <applet + code="org.phylowidget.PhyloWidget" + id="PhyloWidget" + name="PhyloWidget" + codebase="./phylowidget" + archive="PhyloWidget.jar,core.jar,itext.jar,jgrapht-jdk1.5.jar,pdf.jar" + mayscript="true" + width="600" height="600"> + <param name="tree" value="<c:out value="${DEFAULTNEWICK}"/>"/> + + + <!-- + Additional parameters can be passed to the widget, which + are parsed out by PhyloUI.java, e.g.: + <param name="showBranchLengths" value="true"/> + <param name="useBranchLengths" value="true"/> + --> + <param name="menuFile" value="nondb-menus.xml" /> + <param name="image" value="loading.gif" /> + <param name="boxmessage" value="Loading PhyloWidget software..." /> + <param name="boxbgcolor" value="#FFFFFF" /> + <param name="progressbar" value="true" /> + <param name="subapplet.classname" value="org.phylowidget.PhyloWidget" /> + <param name="subapplet.displayname" value="PhyloWidget" /> + <param name="cache_archive" value="PhyloWidget.jar,core.jar,itext.jar,jgrapht-jdk1.5.jar,pdf.jar"/> + <param name="cache_archive_ex" value="PhyloWidget.jar;preload,core.jar;preload,itext.jar;preload,jgrapht-jdk1.5.jar;preload,pdf.jar;preload"/> + + + <!-- This is the message that shows up when people don't have + Java installed in their browser. --> + To view this content, you need to install Java from + <a href="http://java.com">java.com</a> + </applet> + </fieldset> + </td> + <td style="vertical-align:top"> + <fieldset style="margin-left:5px;margin-right:5px"> + <legend>Node Info</legend> + <div id="nodeText" style="background:white;margin:5px;padding:5px;"> + Mouse over a node to view its detailed information here. + Node details will be displayed if they were described in + the uploaded tree. + </div> + </fieldset> + <fieldset style="margin-top:10px;margin-left:5px;margin-right:5px"> + <legend><c:out value="${NEWICKSTRINGNAME}"/></legend> + <select + name="treeList" + size="10" + onclick="javascript:pickTree();" + id="treeList"> + <c:forEach var="x" items="${NEWICKSTRINGSMAP}" > + <option value="${x.value}">${x.key}</option> + </c:forEach> + </select> + </fieldset> + <input + type="hidden" + name="treeText" + id="treeText" + onfocus="selectOnce(this);" + value="" /> + <input + type="hidden" + name="clipText" + id="clipText" + onchange="updateJavaClip();" + value="" /> + <div id="comments" style="margin: 5px"> + Make a selection by clicking on the tree list. + </div> + <c:if test="${treeBlockID != null}"> + <fieldset style="margin-left:5px;margin-right:5px;background-color:white"> + <legend>Quick links</legend> + <p style="text-align:left"> + <a href="/treebase-web/search/study/trees.html?id=${studyID}" target="_new"> + <img class="iconButton" style="vertical-align:middle" src="<fmt:message key="icons.trees"/>" /> + Containing tree set + </a> + </p> + <p style="text-align:left"> + <a href="/treebase-web/search/study/summary.html?id=${studyID}" target="_new"> + <img class="iconButton" style="vertical-align:middle" src="<fmt:message key="icons.citation"/>" /> + Containing study + </a> + </p> + </fieldset> + </c:if> + </td> + </tr> + </table> + </form> +</body> +</html> + Modified: trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/tree.jsp =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/tree.jsp 2010-03-18 14:00:43 UTC (rev 624) +++ trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/tree.jsp 2010-03-18 14:18:10 UTC (rev 625) @@ -105,7 +105,7 @@ archive="PhyloWidget.jar,core.jar,itext.jar,jgrapht-jdk1.5.jar,pdf.jar" mayscript="true" width="600" height="600"> - <param name="menuFile" value="nondb-menus.xml" /> + <param name="image" value="loading.gif" /> <param name="boxmessage" value="Loading Processing software..." /> <param name="boxbgcolor" value="#FFFFFF" /> Modified: trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml 2010-03-18 14:00:43 UTC (rev 624) +++ trunk/treebase-web/src/main/webapp/WEB-INF/treebase-servlet.xml 2010-03-18 14:18:10 UTC (rev 625) @@ -587,7 +587,7 @@ parent="directMapToPhyloWidgetController"> <property name="submissionHome"><ref bean="submissionHome"></ref></property> <property name="studyService"><ref bean="studyService"></ref></property> - <property name="defaultView"><value>redirect:/test/newPhylowidget.html</value></property> + <property name="defaultView"><value>redirect:/test/limitedPhylowidget.html</value></property> </bean> <bean id="deleteATreeBlockController" class="org.cipres.treebase.web.controllers.DeleteATreeBlockController"> @@ -865,6 +865,7 @@ <prop key="/user/viewXML.html">filenameController</prop> <prop key="/test/phylowidget.html">filenameController</prop> + <prop key="/test/limitedPhylowidget.html">filenameController</prop> <prop key="/test/newPhylowidget.html">filenameController</prop> <prop key="/user/processUser.html">processUserController</prop> <prop key="/accessviolation.html">filenameController</prop> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yo...@us...> - 2010-04-03 15:01:48
|
Revision: 673 http://treebase.svn.sourceforge.net/treebase/?rev=673&view=rev Author: youjun Date: 2010-04-03 15:01:36 +0000 (Sat, 03 Apr 2010) Log Message: ----------- import velocity template from oai-pmh-provider Added Paths: ----------- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/GetRecord.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/Identify.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListMetadataFormats.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListRecords.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListSets.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/error.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/head.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_ListIdentifiers.vm trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_record.vm Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/GetRecord.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/GetRecord.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/GetRecord.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,7 @@ +#parse("head.vm") +<GetRecord> +#if($!requestParams.metadataPrefix=="oai_dc") +#parse("oai_dc_record.vm") +#end +</GetRecord> +</OAI-PMH> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/Identify.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/Identify.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/Identify.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,25 @@ +#parse("head.vm") + <Identify> + <repositoryName>${identify.repositoryName}</repositoryName> + <baseURL>${identify.baseURL}</baseURL> + <protocolVersion>${identify.protocolVersion}</protocolVersion> + <adminEmail>${identify.adminEmail}</adminEmail> + <earliestDatestamp>${identify.earliestDatestamp}</earliestDatestamp> + <deletedRecord>${identify.deletedRecord}</deletedRecord> + <granularity>${identify.granularity}</granularity> + + <description> + <oai-identifier + xmlns="http://www.openarchives.org/OAI/2.0/oai-identifier" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation= + "http://www.openarchives.org/OAI/2.0/oai-identifier + http://www.openarchives.org/OAI/2.0/oai-identifier.xsd"> + <scheme>oai</scheme> + <repositoryIdentifier>${identify.repositoryIdentifier}</repositoryIdentifier> + <delimiter>${identify.identifierDelimiter}</delimiter> + <sampleIdentifier>${identify.sampleIdentifier}</sampleIdentifier> + </oai-identifier> + </description> + </Identify> +</OAI-PMH> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListMetadataFormats.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListMetadataFormats.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListMetadataFormats.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,19 @@ +#parse("head.vm") + <ListMetadataFormats> + <metadataFormat> + <metadataPrefix>oai_dc</metadataPrefix> + <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd + </schema> + <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/ + </metadataNamespace> + </metadataFormat> + + <metadataFormat> + <metadataPrefix>dryad</metadataPrefix> + <schema>http://ils.unc.edu/mrc/dryad/version1_0/dryad_1_0.xsd</schema> + <metadataNamespace>http://ils.unc.edu/mrc/dryad/ + </metadataNamespace> + </metadataFormat> + + </ListMetadataFormats> +</OAI-PMH> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListRecords.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListRecords.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListRecords.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,9 @@ +#parse("head.vm") +<ListRecords> +#if($!requestParams.metadataPrefix=="oai_dc") +#foreach($record in $recordList) +#parse("oai_dc_record.vm") +#end +#end +</ListRecords> +</OAI-PMH> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListSets.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListSets.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/ListSets.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,3 @@ +#parse("head.vm") + <error code="noSetHierarchy">This repository does not support sets</error> +</OAI-PMH> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/error.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/error.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/error.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,3 @@ +#parse("head.vm") +<error code="$!error_code">$!error</error> +</OAI-PMH> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/head.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/head.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/head.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ + http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"> +<responseDate>${identify.getResponseDate()}</responseDate> +<request #if($!requestParams.verb)verb="$!requestParams.verb" #end +#if($!requestParams.identifier)identifier="$!requestParams.identifier" #end +#if($!requestParams.metadataPrefix)metadataPrefix="$!requestParams.metadataPrefix" #end +#if($!requestParams.from)from="$!requestParams.from" #end +#if($!requestParams.until)until="$!requestParams.until" #end +#if($!requestParams.resumptionToken)resumptionToken="$!requestParams.resumptionToken" #end +#if($!requestParams.set)set="$!requestParams.set" #end> +$!identify.BaseURL</request> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_ListIdentifiers.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_ListIdentifiers.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_ListIdentifiers.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,10 @@ +#parse("head.vm") +<ListIdentifiers> +#foreach ( $record in $recordList) +<header> +<identifier>${record.identifier}</identifier> +<datestamp>$!record.datestamp</datestamp> +</header> +#end +</ListIdentifiers> +</OAI-PMH> Added: trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_record.vm =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_record.vm (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/mvFiles/oai_dc_record.vm 2010-04-03 15:01:36 UTC (rev 673) @@ -0,0 +1,64 @@ +<record> +<header> +<identifier>${record.identifier}</identifier> +<datestamp>$!record.datestamp</datestamp> +</header> +<metadata> +<oai_dc:dc + xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ + http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> +#if($record.title) +<dc:title>${record.title}</dc:title> +#end +#if($record.creator) +#foreach ($person in $record.creator) +<dc:creator>${person.lastName}, ${person.firstName}</dc:creator> +#end +#end +#if($record.subject) +<dc:subject>${record.subject}</dc:subject> +#end +#if($record.description) +<dc:description>${record.description}</dc:description> +#end +#if($record.publisher) +<dc:publisher>${record.publisher}</dc:publisher> +#end +#if($record.contributor) +<dc:contributor>${record.contributor}</dc:contributor> +#end +#if($record.date) +<dc:date>${record.date}</dc:date> +#end +#if($record.type) +<dc:type>${record.type}</dc:type> +#end +#if($record.format) +<dc:format>${record.format}</dc:format> + +#end +##if($record.identifier) +##<dc:identifier>${record.identifier}</dc:identifier> +##end + +#if($record.source) +<dc:source>{record.source}</dc:source> +#end +#if($record.language) +<dc:language>${record.language}</dc:language> +#end +#if($record.relation) +<dc:relation>${record.relation}</dc:relation> +#end +#if($record.coverage) +<dc:coverage>${record.coverage}</dc:coverage> +#end +#if($record.rights) +<dc:rights>${record.rights}</dc:rights> +#end +</oai_dc:dc> +</metadata> +</record> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sfr...@us...> - 2010-07-02 16:29:54
|
Revision: 728 http://treebase.svn.sourceforge.net/treebase/?rev=728&view=rev Author: sfrgpiel Date: 2010-07-02 16:29:45 +0000 (Fri, 02 Jul 2010) Log Message: ----------- Adding the dtd file for urlrewrite from tuckey.org Added Paths: ----------- trunk/treebase-web/src/main/webapp/WEB-INF/dtd/ trunk/treebase-web/src/main/webapp/WEB-INF/dtd/urlrewrite3.2.dtd Added: trunk/treebase-web/src/main/webapp/WEB-INF/dtd/urlrewrite3.2.dtd =================================================================== --- trunk/treebase-web/src/main/webapp/WEB-INF/dtd/urlrewrite3.2.dtd (rev 0) +++ trunk/treebase-web/src/main/webapp/WEB-INF/dtd/urlrewrite3.2.dtd 2010-07-02 16:29:45 UTC (rev 728) @@ -0,0 +1,90 @@ +<!-- + UrlRewriteFilter DTD + http://tuckey.org/urlrewrite/ +--> + +<!ELEMENT urlrewrite ((rule|class-rule|outbound-rule)*, catch*)> +<!ATTLIST urlrewrite +use-query-string (true|false) "false" +use-context (true|false) "false" +decode-using CDATA #IMPLIED +default-match-type (regex|wildcard) #IMPLIED +> + +<!ELEMENT rule (name?, note?, condition*, from?, set*, run*, to?)> +<!ATTLIST rule +enabled (true|false) "true" +match-type (regex|wildcard) #IMPLIED +> + +<!ELEMENT class-rule EMPTY> +<!ATTLIST class-rule +class CDATA #IMPLIED +method CDATA "matches" +last (true|false) "true" +> + +<!ELEMENT outbound-rule (name?, note?, condition*, from, set*, run*, to?)> +<!ATTLIST outbound-rule +enabled (true|false) "true" +encodefirst (true|false) "false" +match-type (regex|wildcard) #IMPLIED +> + +<!ELEMENT name (#PCDATA)> +<!ELEMENT note (#PCDATA)> + +<!ELEMENT condition (#PCDATA)> +<!ATTLIST condition +type (time|year|month|dayofmonth|dayofweek|ampm|hourofday|minute|second|millisecond|attribute|auth-type|character-encoding|content-length|content-type|context-path|cookie|header|local-port|method|parameter|path-info|path-translated|protocol|query-string|remote-addr|remote-host|remote-user|requested-session-id|request-uri|request-url|session-attribute|session-isnew|port|server-name|scheme|user-in-role|exception) "header" +name CDATA #IMPLIED +next (and|or) "and" +casesensitive (true|false) "false" +operator (equal|notequal|greater|less|greaterorequal|lessorequal|instanceof) "equal" +> + +<!ELEMENT from (#PCDATA)> +<!ATTLIST from +casesensitive (true|false) "false" +> + +<!ELEMENT set (#PCDATA)> +<!ATTLIST set +type (request|session|response-header|cookie|content-type|charset|locale|status|expires|parameter|method) "request" +name CDATA #IMPLIED +> + +<!ELEMENT to (#PCDATA)> +<!ATTLIST to +type (redirect|temporary-redirect|permanent-redirect|pre-include|post-include|forward|passthrough|proxy) "forward" +last (true|false) "false" +encode (true|false) #IMPLIED +context CDATA #IMPLIED +> + +<!-- +eg, +<run class="org.tuckey.web.filters.urlrewrite.TestTargetOther" method="runMeFool" /> +<run class="org.tuckey.web.filters.urlrewrite.TestTargetOther" method="run"> + <init-param> + <param-name>biteMe</param-name> + <param-value>10</param-value> + </init-param> +</run> +--> +<!ELEMENT run (init-param*)> +<!ATTLIST run +class CDATA #IMPLIED +method CDATA #IMPLIED +jsonhandler (true|false) "false" +neweachtime (true|false) "false" +> + +<!ELEMENT init-param (param-name, param-value)> +<!ELEMENT param-name (#PCDATA)> +<!ELEMENT param-value (#PCDATA)> + +<!ELEMENT catch (run?)> +<!ATTLIST catch +class CDATA #IMPLIED +> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |