[Zope-CVS] CVS: Products/CompositePage/www - addElementForm.zpt:1.1 addSlotClassForm.zpt:1.1 element.gif:1.1 addSlotDefForm.zpt:NONE

Shane Hathaway shane at zope.com
Tue Mar 2 15:41:45 EST 2004


Update of /cvs-repository/Products/CompositePage/www
In directory cvs.zope.org:/tmp/cvs-serv26507/www

Added Files:
	addElementForm.zpt addSlotClassForm.zpt element.gif 
Removed Files:
	addSlotDefForm.zpt 
Log Message:
Switched to use composite element objects.

Composites no longer hold arbitrary objects.  They hold
composite elements, which reference arbitrary objects.  This makes
it unnecessary to store annotations, use any kind of adapter framework,
or depend on the References product.  Composite elements are
usually references.


=== Added File Products/CompositePage/www/addElementForm.zpt ===
<h1 tal:replace="structure here/manage_page_header">Header</h1>

<h2 tal:define="form_title string:Add Composite Element"
    tal:replace="structure here/manage_form_title">Form Title</h2>

<p class="form-help">
Composite elements render Zope objects within a composite.
</p>

<form action="manage_addElement" method="POST">
<table cellspacing="0" cellpadding="2" border="0">
  <tr>
    <td align="left" valign="top">
    <div class="form-label">
    Id
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="id" size="20" />
    </td>
  </tr>
  <tr>
    <td align="left" valign="top">
    <div class="form-label">
    Path to Zope object
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="path" size="50" />
    </td>
  </tr>
  <tr>
    <td align="left" valign="top">
    <div class="form-label">
    Path to template
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="template_name" size="50" />
    </td>
  </tr>
  <tr>
    <td align="left" valign="top">
    </td>
    <td align="left" valign="top">
    <div class="form-element">
    <input class="form-element" type="submit" name="submit"
     value=" Add " /> 
    </div>
    </td>
  </tr>
</table>
</form>

<h1 tal:replace="structure here/manage_page_footer">Footer</h1>


=== Added File Products/CompositePage/www/addSlotClassForm.zpt ===
<h1 tal:replace="structure here/manage_page_header">Header</h1>

<h2 tal:define="form_title string:Add Slot Class"
    tal:replace="structure here/manage_form_title">Form Title</h2>

<p class="form-help">
Slot classes specify parameters and constraints for composite slots.
</p>

<form action="manage_addSlotDef" method="POST">
<table cellspacing="0" cellpadding="2" border="0">
  <tr>
    <td align="left" valign="top">
    <div class="form-label">
    Id
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="id" size="40" />
    </td>
  </tr>
  <tr>
    <td align="left" valign="top">
    </td>
    <td align="left" valign="top">
    <div class="form-element">
    <input class="form-element" type="submit" name="submit"
     value=" Add " /> 
    </div>
    </td>
  </tr>
</table>
</form>

<h1 tal:replace="structure here/manage_page_footer">Footer</h1>


=== Added File Products/CompositePage/www/element.gif ===
  <Binary-ish file>
=== Removed File Products/CompositePage/www/addSlotDefForm.zpt ===




More information about the Zope-CVS mailing list