Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
b001647c
Commit
b001647c
authored
Sep 20, 1999
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed arguments list widget to a TEXTAREA
parent
5845e4b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
lib/python/Products/ZSQLMethods/add.dtml
lib/python/Products/ZSQLMethods/add.dtml
+13
-10
lib/python/Products/ZSQLMethods/edit.dtml
lib/python/Products/ZSQLMethods/edit.dtml
+3
-3
No files found.
lib/python/Products/ZSQLMethods/add.dtml
View file @
b001647c
...
...
@@ -3,7 +3,7 @@
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<H2>Add a SQL Method</H2>
<
!--#if SQLConnectionIDs--
>
<
dtml-if SQLConnectionIDs
>
<P>
A SQL Method allows you to access a SQL database. For more
information see the
...
...
@@ -29,15 +29,17 @@ which the SQL Method will execute.
<td align='LEFT'><input name="title" size="40"></td></tr>
<tr> <th align='LEFT'>Connection id</th>
<td align='LEFT'><select name="connection_id">
<
!--#in SQLConnectionIDs--
>
<option value="
<!--#var sequence-item html_quote-->
">
<
!--#var sequence-key--
></option>
<
!--#/in--
>
<
dtml-in SQLConnectionIDs
>
<option value="
&dtml-sequence-item;
">
<
dtml-var sequence-key
></option>
<
/dtml-in
>
</select></td></tr>
<tr> <th align='LEFT'><em>Arguments<em></th>
<td align='LEFT'><input name="arguments" size="40"></td></tr>
<tr valign="top"> <th align='LEFT'><em>Arguments<em></th>
<td align='LEFT'>
<textarea name="arguments" cols="40" rows="4"></textarea>
<!--<input name="arguments" size="40">--></td></tr>
<tr> <td colspan=2 align='LEFT'><strong>Query template</strong><br>
<textarea name="template:text" rows=9 cols=50>select *
<textarea name="template:text" rows=9 cols=50
wrap="off"
>select *
from data</textarea></td></tr>
<tr><td colspan=2>
...
...
@@ -51,11 +53,12 @@ from data</textarea></td></tr>
</form>
<
!--#else--
>
<
dtml-else
>
<em><strong>Warning:</strong>
There are no SQL database connections. You need
to add a Zope SQL database connection
before you can use a Zope SQL Method.
</em>
<!--#/if-->
</dtml-if>
</body></html>
lib/python/Products/ZSQLMethods/edit.dtml
View file @
b001647c
...
...
@@ -34,9 +34,9 @@
<!--#var sequence-key--></option>
<!--#/in-->
</select></td></tr>
<tr
>
<th align='LEFT'><em>Arguments</em></th>
<td align='LEFT'>
<input name="arguments" size="40"
value="<!--#var arguments_src fmt=html-quote-->"
></td>
<tr
valign="top">
<th align='LEFT'><em>Arguments</em></th>
<td align='LEFT'>
<textarea name="arguments" cols="40" rows="4">&dtml-arguments_src;</textarea
></td>
</tr>
<tr> <td colspan=2 align='LEFT'><strong>Query template</strong><br>
<textarea name="template:text"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment