annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
e4bae49e657b more renovation
casties
parents: 0
diff changeset
1 <div tal:replace="structure here/manage_page_header">Header</div>
e4bae49e657b more renovation
casties
parents: 0
diff changeset
2 <!-- ZOPE management tabs -->
e4bae49e657b more renovation
casties
parents: 0
diff changeset
3 <div tal:define="manage_tabs_message options/manage_tabs_message | nothing"
e4bae49e657b more renovation
casties
parents: 0
diff changeset
4 tal:replace="structure here/manage_tabs">Tabs</div>
e4bae49e657b more renovation
casties
parents: 0
diff changeset
5 <!-- end of ZOPE management tabs -->
e4bae49e657b more renovation
casties
parents: 0
diff changeset
6
6
00147a1ab4ac division between MetaDataFolder and Metadata looks good now (to me :-)
casties
parents: 1
diff changeset
7 <form name="form" action="changeMetaData">
11
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
8 <b>Tag name (title): </b><input type="text" name="title" size="10" tal:attributes="value python:here.title"><br><br>
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
9 <b>ShortDescription: </b><input type="text" name="shortDescription" size="80" tal:attributes="value python:here.shortDescription"><br><br>
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
10 <b>Description: </b><textarea name="description" tal:content="python:here.description" cols=80 rows=20></textarea><br><br>
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
11 <b>(optional) Attribute to select a mapping (mappingSelectAttribute):</b><input type="text" name="mappingSelectAttribute" size="10" tal:attributes="value python:here.mappingSelectAttribute"><br><br>
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
12
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
13
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
14 <!-- <b>Generic Metafields </b>
0
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
15 <ul>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
16 <li>separated by ","
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
17 <li>only letters A-Z, Numbers and '_' allowed
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
18 <li>after having generated/edited this metafields, add the human readable metadata information by adding metadataMapping objects to tis folder
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
19 </ul>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
20
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
21 <input type="text" name="fields" tal:attributes="value here/getFieldList" size=100><br><br>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
22
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
23 <i> Container Tag </i><input type="text" name="containerTag" tal:attributes="value python:getattr(here,'containerTag','')"><br><br>
11
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
24
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
25 <i>Server for XML files (e.g. url of Texter-servlet)</i><br>
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
26 <input type="text" size="80" name="metaDataServerUrl" tal:attributes="value python:getattr(here,'metaDataServerUrl','')"><br><br>
a29665fa9c62 more work for non-bib metadata
casties
parents: 6
diff changeset
27 -->
0
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
28 <input type="submit" value="Change"><br><br>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
29 </form>