[Zope3-checkins] CVS: Zope3/src/zope/app/advanced - advanced.dtml:1.1

Philipp von Weitershausen philikon at philikon.de
Thu Apr 1 12:25:22 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/advanced
In directory cvs.zope.org:/tmp/cvs-serv11359

Added Files:
	advanced.dtml 
Log Message:
Provide a view for advanced queries. One may now specify a *class* for
the data records. This class must be defined in a module that must be
configured using a dotted name in ZCML.


=== Added File Zope3/src/zope/app/advanced/advanced.dtml ===
<HTML><HEAD><TITLE><!--#var title_or_id--> Advanced Options</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<!--#var manage_tabs-->
<H2><!--#var title_or_id--> Advanced Options</H2>

<form action="manage_advanced" method="POST">

<table>
<tr>	<th align='LEFT'>ID</th>
        <td align='LEFT'><!--#var id--></td></tr>
<tr>	<th align='LEFT'><em>Title</em></th>
        <td align='LEFT'><!--#var title--></td></tr>
<tr>	<th align='LEFT'><em>Maximum number of rows retrieved</em></th>
	<td align='LEFT'><input name="max_rows:int" size="10"
             value="<!--#var max_rows_-->"></td></tr>
<tr>	<th align='LEFT'><em>Maximum number of results in the cache</em></th>
	<td align='LEFT'><input name="max_cache:int" size="10"
             value="<!--#var max_cache_-->"></td></tr>
<tr>	<th align='LEFT'><em>Maximum time (seconds) to cache results</em></th>
	<td align='LEFT'><input name="cache_time:int" size="10"
             value="<!--#var cache_time_-->"></td></tr>
<!--#if da_has_single_argument-->
<tr>	<th align='LEFT'>Allow direct traversal</th>
	<td align='LEFT'><input name="direct" type=checkbox
            <!--#if allow_simple_one_argument_traversal-->CHECKED
            <!--#/if-->></td></tr>
<!--#/if-->

<tr><td> </td></tr>
<tr><td colspan=2><br><br>
You may specify a <strong>class</strong> for the data records.  This
class must be defined in a file that resides in the <code>Extensions</code>
directory of this Principia installation.
</td>
<tr>	<th align='LEFT'><em>Class name</em></th>
	<td align='LEFT'><input name="class_name" size="30"
             value="<!--#var class_name_-->"></td></tr>
<tr>	<th align='LEFT'><em>Class file</em></th>
	<td align='LEFT'><input name="class_file" size="30"
             value="<!--#var class_file_-->"></td></tr>

<tr><td> </td></tr>
<tr><td></td><td><input type="SUBMIT" name="SUBMIT" value="Change"></td></tr>
</table>

</form>
</body></html>




More information about the Zope3-Checkins mailing list