<%namespace file="/base/helper.html" name="helper" import="markdownHelp, formEmbeddingHelp, entityLinkingHelp, reStructuredTextHelp, embeddingFileHelp"/> <%namespace file="/base/javascriptDefs.html" name="javascriptDefs" import="getMemoryContentsScript"/> <%def name="add()"> ${primaryData()} ${whoAndWhen()} <%def name="update()"> ${primaryData()} ${whoAndWhen()} <%def name="primaryData()"> <% sUrl = url(controller='collection', action='getmemory') getMemoryContentsScript() %>
Primary Data
  1. ${h.select(name=u'type', selected_values=u"", options=app_globals.collectionTypes, tabindex=2)}
  2. insert contents of memory

    Enter some content for this collection in the text box above.

    To embed the Form with ID=X, use the syntax 'form[X]' ${formEmbeddingHelp()}. (Each embedded Form will be associated to this Collection, making it possible (for example) to search within the set of Forms Y that are associated to the set of Collections Z.)

    Use the reStructuredText markup language ${reStructuredTextHelp()} to add formatting and structure.

    Embed a representation of an OLD File ${embeddingFileHelp()} using an expression of the form 'file[X]'.

    Embed the contents of another OLD Collection with expressions of the form 'collection[X]'. By embedding the contents of multiple Collections, one can create a Collection whose contents is built up from those of others.

    Create HTML links to OLD entities using expressions of the form 'form(a)', 'collection(b)', etc., where 'a' and 'b' are IDs ${entityLinkingHelp()}.

<%def name="whoAndWhen()">
Who and When
  1. <% speakers = [('', '')] + app_globals.speakers %> ${h.select(name='speaker', selected_values="", options=speakers, tabindex=5)}
  2. <% users = [('', '')] + app_globals.users %> ${h.select(name='elicitor', selected_values="", options=users, tabindex=6)}
  3. <% sources = [('', '')] + app_globals.sources %> ${h.select(name='source', selected_values="", options=sources, tabindex=7)}