view zpt/changeMetadata.zpt @ 23:5ed16f971297

getDomFromPathOrUrl does not throw exception but returns None.
author casties
date Wed, 25 Jul 2012 12:53:17 +0200
parents a29665fa9c62
children
line wrap: on
line source

<div tal:replace="structure here/manage_page_header">Header</div>
<!-- ZOPE management tabs -->
<div tal:define="manage_tabs_message options/manage_tabs_message | nothing"
  tal:replace="structure here/manage_tabs">Tabs</div>
<!-- end of ZOPE management tabs -->

    <form name="form" action="changeMetaData">
      <b>Tag name (title): </b><input type="text" name="title" size="10" tal:attributes="value python:here.title"><br><br>
      <b>ShortDescription: </b><input type="text" name="shortDescription" size="80" tal:attributes="value python:here.shortDescription"><br><br>
      <b>Description: </b><textarea name="description" tal:content="python:here.description" cols=80 rows=20></textarea><br><br>
      <b>(optional) Attribute to select a mapping (mappingSelectAttribute):</b><input type="text" name="mappingSelectAttribute" size="10" tal:attributes="value python:here.mappingSelectAttribute"><br><br>


<!--      <b>Generic Metafields </b>
      <ul>
      <li>separated by ","
      <li>only letters A-Z, Numbers and '_' allowed
      <li>after having generated/edited this metafields, add the human readable metadata information by adding metadataMapping objects to tis folder
      </ul>
	 
<input type="text" name="fields" tal:attributes="value here/getFieldList" size=100><br><br>
      
      <i> Container Tag </i><input type="text" name="containerTag" tal:attributes="value python:getattr(here,'containerTag','')"><br><br> 

  <i>Server for XML files (e.g. url of Texter-servlet)</i><br>
  <input type="text" size="80" name="metaDataServerUrl" tal:attributes="value python:getattr(here,'metaDataServerUrl','')"><br><br> 
-->    
      <input type="submit" value="Change"><br><br>
    </form>