This page last changed on Apr 29, 2007 by scytacki.

An example of this view can be found here:

http://continuum.concord.org/otrunk/examples/example-index.html
CompoundDocument/document_edit.otml

If you select the Compound Doc item on the left, you will see a basic editing view for a document. It allows you to insert 4 different objects: text box, button, and 2 images.

If you look at the otml file you can see these objects are configured in the otml file. Here is the snippet that configures them:

<OTViewEntry objectClass="org.concord.otrunk.view.document.OTCompoundDoc" viewClass="org.concord.otrunk.view.document.OTCompoundDocEditView">
  <viewConfig>
    <OTObjectEditViewConfig>
      <objectsToInsert>
        <OTTextObject name="Text Box"/>
        <OTButton name="Button"/>
        <OTImage name="Concord Logo" imageBytes="http://www.concord.org/images/logos/cc/cc-logo.gif"/>
        <OTImage name="Concord Banner" imageBytes="http://www.concord.org/images/logos/cc/cc_main_banner.jpg"/>
      </objectsToInsert>
    </OTObjectEditViewConfig>
  </viewConfig>
</OTViewEntry>
Document generated by Confluence on Jan 27, 2014 16:52