Commit 8fb79b59 authored by Jim Fulton's avatar Jim Fulton

Added new hook for working with extensible vs non-extensible

property sheets.
parent 6e0ff01b
......@@ -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 &quot;Add&quot; button. To change property values, edit the
and click the &quot;Add&quot; 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 &quot;Add...&quot; 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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment