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
8fb79b59
Commit
8fb79b59
authored
Mar 22, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new hook for working with extensible vs non-extensible
property sheets.
parent
6e0ff01b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
lib/python/OFS/properties.dtml
lib/python/OFS/properties.dtml
+12
-4
No files found.
lib/python/OFS/properties.dtml
View file @
8fb79b59
...
...
@@ -14,9 +14,13 @@
<form
action=
"."
method=
"POST"
>
<!--#if propertyMap-->
<p>
The following properties are defined for this item. To
<a
href=
"#addpropform"
>
The following properties are defined for this item.
<!--#if property_extensible_schema__-->
To
<a
href=
"#addpropform"
>
add a new property
</a>
, enter a name, type and value for the new property
and click the
"
Add
"
button. To change property values, edit the
and click the
"
Add
"
button.
<!--#/if-->
To change property values, edit the
values and click "Save Changes".
</p>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"2"
>
...
...
@@ -35,10 +39,10 @@ values and click "Save Changes".
<!--#if "'w' in _['sequence-item'].get('mode', 'awd')"-->
<!--#if "type in ('int', 'long', 'float', 'date')"-->
<input
type=
"text"
name=
"<!--#var id-->:<!--#var type-->"
size=
"35"
value=
"<!--#var "
_
[
id
]
"
--
>
">
value=
"<!--#var "
getProperty
(
id
)
"
--
>
">
<!--#elif "type=='string'"-->
<input
type=
"text"
name=
"<!--#var id-->:string"
size=
"35"
value=
"<!--#var "
_
[
id
]
"
html_quote--
>
">
value=
"<!--#var "
getProperty
(
id
)
"
html_quote--
>
">
<!--#elif "type=='boolean'"-->
<input
type=
"checkbox"
name=
"<!--#var id-->:boolean"
size=
"35"
<!
--#if
"
_
[
id
]"
--
>
CHECKED
<!--#/if-->
>
...
...
@@ -79,12 +83,15 @@ values and click "Save Changes".
<!--#else-->
<p>
There are currently no properties defined for this item.
<!--#if property_extensible_schema__-->
To add a property, click the
"
Add...
"
button.
<!--#/if-->
</p>
<!--#endif-->
</form>
<!--#if property_extensible_schema__-->
<a
name=
"addpropform"
>
<form
action=
"<!--#var URL1-->/manage_addProperty"
method=
"POST"
>
<p>
...
...
@@ -122,6 +129,7 @@ button.
</tr>
</table>
</form>
<!--#/if-->
<br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br>
...
...
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