Edit Options
- You can change title
- You can select Database Connection
- You can change SQL table name
- You my specify batch size (List len) when list or edit data
- Select Primary Key.
When edit you need SQL UPDATE or DELETE by a primary key
- Denied method is used to display message when Security function return 0
- You can select the script which will validate access to list/add/edit methods.
Inside of this object there are 3 DTML Methods (list/add/edit) generated automatically
which will contains the security check.
Security check is done by a script in [dtml, Python, External Methods]
Here are some function samples:
DTML Method:
<dtml-return "_.int(1)">
or
<dtml-return "_.int(0)">
Script (Python):
return 1
or
return 0
External Method:
def validation1():
return 1
or
def validation2():
return 0
- Select Local FS instance
When Form Type is 'file' you need an Zope object to store the file into server.
I'm using Local FS made by jfarr
After you add a Local FS instance, you select from options tab which one to use.
- Hide primary key & incremental fields
When is yes
object will not show in list/add/edit that fields.
- Generate headers/footers
When is yes
you'll not get headers/footers and navigation menu included into generated methods list/add/edit
- You can change colors of generated tables.
- You can restrict current user to change only his own records
- Then create/drop table and manage or view generated methods list/add/edit
When you drop a table a confirmation box will apear