ilscipio/scipio-erp

View on GitHub
applications/content/data/ContentTypeData.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<entity-engine-xml>
    <RoleType description="Logged In" hasTable="N"  parentTypeId="" roleTypeId="LOGGEDIN"/>
    <RoleType roleTypeId="CONTENT" hasTable="N" description="Content Member"/>
    <RoleType roleTypeId="CONTENT_ADMIN" parentTypeId="CONTENT" hasTable="N" description="Content Administrator"/>
    <RoleType roleTypeId="CONTENT_PUBLISHER" parentTypeId="CONTENT" hasTable="N" description="Content Publisher"/>
    <RoleType roleTypeId="CONTENT_EDITOR" parentTypeId="CONTENT" hasTable="N" description="Content Editor"/>
    <RoleType roleTypeId="CONTENT_AUTHOR" parentTypeId="CONTENT" hasTable="N" description="Content Author"/>
    <RoleType roleTypeId="CONTENT_USER" parentTypeId="CONTENT" hasTable="N" description="Content User"/>
    <RoleType roleTypeId="CONTENT_GUEST" parentTypeId="CONTENT" hasTable="N" description="Content Guest"/>

    <ContentAssocType contentAssocTypeId="TEMPLATE_MEMBER" description="Template Member"/>
    <ContentAssocType contentAssocTypeId="STRUCTURE_DEF" description="Document Structure Definition"/>
    <ContentAssocType contentAssocTypeId="TXFORM_DEF" description="Transformation Definition"/>
    <ContentAssocType contentAssocTypeId="LIST_ENTRY" description="List Entry"/>
    <ContentAssocType contentAssocTypeId="TREE_CHILD" description="Tree Child"/>
    <ContentAssocType contentAssocTypeId="GRAPH_LINK" description="Graph Link"/>
    <ContentAssocType contentAssocTypeId="ALTERNATE_LOCALE" description="Alternate Locale"/>
    <ContentAssocType contentAssocTypeId="ALTERNATE_ROLE" description="Alternate Role"/>
    <ContentAssocType contentAssocTypeId="RESPONSE" description="Response"/>
    <ContentAssocType contentAssocTypeId="SUB_CONTENT" description="Sub-Content"/>
    <ContentAssocType contentAssocTypeId="TOPIC" description="Topic"/>
    <ContentAssocType contentAssocTypeId="DESCRIPTION" description="Description"/>

    <ContentAssocType contentAssocTypeId="SUBSITE" description="SubSite"/>
    <ContentAssocType contentAssocTypeId="DEPARTMENT" description="Department"/>
    <ContentAssocType contentAssocTypeId="RELATED_CONTENT" description="Related content"/>
    <ContentAssocType contentAssocTypeId="PUBLISH_LINK" description="Publish link"/>
    <ContentAssocType contentAssocTypeId="ATTRIBUTE" description="Attribute"/>
    <ContentAssocType contentAssocTypeId="AUTHOR" description="Author"/>
    <ContentAssocType contentAssocTypeId="SUMMARY" description="Summary"/>

    <ContentAssocType contentAssocTypeId="COMPDOC_PART" description="Composite Document Part"/>
    <ContentAssocType contentAssocTypeId="INSTANCE" description="Instance Of"/>
    <ContentAssocType contentAssocTypeId="ALTERNATIVE_URL" description="Alternative URL"/>

    <ContentAssocPredicate contentAssocPredicateId="member-of" description="The object is a member of the subject."/>
    <ContentAssocPredicate contentAssocPredicateId="defines" description="The object defines the subject."/>
    <ContentAssocPredicate contentAssocPredicateId="extends" description="The object extends the subject."/>
    <ContentAssocPredicate contentAssocPredicateId="related-to" description="The object is related to the subject."/>
    <ContentAssocPredicate contentAssocPredicateId="references" description="The object references the subject."/>

    <ContentAssocPredicate contentAssocPredicateId="topifies" description="Topifies"/>
    <ContentAssocPredicate contentAssocPredicateId="categorizes" description="Categorizes"/>

    <MetaDataPredicate metaDataPredicateId="author-name" description="Name of the author or creator of the subject."/>
    <MetaDataPredicate metaDataPredicateId="author-email" description="eMail address of the author or creator of the subject."/>
    <MetaDataPredicate metaDataPredicateId="event-date" description="The date and time of the event in format [yyyy-MM-dd hh:mm:ss]."/>
    <MetaDataPredicate metaDataPredicateId="event-location" description="The location where subject event took place."/>
    <MetaDataPredicate metaDataPredicateId="event-person-name" description="The name of a person involved in the subject event."/>

    <ContentType contentTypeId="DOCUMENT" description="Document" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="TEMPLATE" description="Template or Form" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="DECORATOR" description="Decorator" hasTable="N" parentTypeId="TEMPLATE"/>
    <ContentType contentTypeId="ANNOTATION" description="Annotation" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="MENU_CONTAINER" description="Menu Container" hasTable="N" parentTypeId=""/>
    <!-- NOTE DEJ20080809 The following 3 ContentTypes may not be needed, and the current practice is to just use DOCUMENT instead -->
    <ContentType contentTypeId="OUTLINE_NODE" description="Outline Node" hasTable="N" parentTypeId="DOCUMENT"/>
    <ContentType contentTypeId="PAGE_NODE" description="Page Node" hasTable="N" parentTypeId="DOCUMENT"/>
    <ContentType contentTypeId="SUBPAGE_NODE" description="Sub Page Node" hasTable="N" parentTypeId="DOCUMENT"/>
    <!-- These ContentTypes are primarily for structuring knowledge -->
    <ContentType contentTypeId="CONTENT_LIST" description="Content List" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="TREE_ROOT" description="Tree Root" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="GRAPH_ROOT" description="Graph Root" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="STRUCTURE_NODE" description="Structure Node" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="STRUCTURE_LEAF" description="Structure Leaf" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="STRUCTURE_DEF" description="Structure Definition (like DTD)" hasTable="N" parentTypeId=""/>
    <ContentType contentTypeId="TXFORM_DEF" description="Transformation Definition (like XSLT)" hasTable="N" parentTypeId=""/>

    <ContentType contentTypeId="PLACEHOLDER" description="Place Holder"/>
    <ContentType contentTypeId="WEB_SITE_PUB_PT" parentTypeId="PLACEHOLDER" hasTable="Y" description="Web Site Publish Point"/>
    <!-- SCIPIO: Unneeded
    <ContentType contentTypeId="FORUM_ROOT" parentTypeId="PLACEHOLDER" hasTable="N" description="Forum Root"/>
    <ContentType contentTypeId="BLOG_ROOT" parentTypeId="PLACEHOLDER" hasTable="N" description="Blog Root"/>
    -->
    <ContentType contentTypeId="FAQ_ROOT" parentTypeId="PLACEHOLDER" hasTable="N" description="FAQ Root"/>
    <ContentType contentTypeId="DEPARTMENT" description="Department" parentTypeId="PLACEHOLDER"/>
    <ContentType contentTypeId="PEOPLE" description="People" parentTypeId="PLACEHOLDER"/>
    <ContentType contentTypeId="PERSON" description="Person" parentTypeId="PLACEHOLDER"/>
    <ContentType contentTypeId="TOPIC" description="Topic" parentTypeId="PLACEHOLDER"/>

    <ContentType contentTypeId="COMPDOC_TEMPLATE" description="Composite Document Template"/>
    <ContentType contentTypeId="COMPDOC_INSTANCE" description="Composite Document Instance"/>

    <StatusType description="Content Approval Status" hasTable="N" parentTypeId="" statusTypeId="CNTNTAPPR_STATUS"/>
    <StatusItem description="Not Ready for Approval" sequenceId="01" statusCode="NOT_READY" statusId="CNTAP_NOT_READY" statusTypeId="CNTNTAPPR_STATUS"/>
    <StatusItem description="Ready for Approval" sequenceId="02" statusCode="READY" statusId="CNTAP_READY" statusTypeId="CNTNTAPPR_STATUS"/>
    <StatusItem description="Approval In Process" sequenceId="03" statusCode="IN_PROCESS" statusId="CNTAP_IN_PROCESS" statusTypeId="CNTNTAPPR_STATUS"/>
    <StatusItem description="Soft Rejected" sequenceId="11" statusCode="SOFT_REJ" statusId="CNTAP_SOFT_REJ" statusTypeId="CNTNTAPPR_STATUS"/>
    <StatusItem description="Rejected" sequenceId="12" statusCode="REJECTED" statusId="CNTAP_REJECTED" statusTypeId="CNTNTAPPR_STATUS"/>
    <StatusItem description="Approved" sequenceId="21" statusCode="APPROVED" statusId="CNTAP_APPROVED" statusTypeId="CNTNTAPPR_STATUS"/>

    <Content contentId="TEMPLATE_MASTER" contentTypeId="TREE_ROOT" description="Template Master"/>

    <EnumerationType enumTypeId="CONTENT_PRIVILEGE" description="Content Privilege"/>
    <Enumeration enumId="CNT_PRV_NA_" enumTypeId="CONTENT_PRIVILEGE" enumCode="_NA_" sequenceId="00" description="Not Applicable"/>
    <Enumeration enumId="CNT_PRV_BRONZE" enumTypeId="CONTENT_PRIVILEGE" enumCode="BRONZE" sequenceId="10" description="Bronze Level"/>
    <Enumeration enumId="CNT_PRV_SILVER" enumTypeId="CONTENT_PRIVILEGE" enumCode="SILVER" sequenceId="20" description="Silver Level"/>
    <Enumeration enumId="CNT_PRV_GOLD" enumTypeId="CONTENT_PRIVILEGE" enumCode="GOLD" sequenceId="30" description="Gold Level"/>

    <EnumerationType enumTypeId="SUBSCRIPTION_TYPE" description="Subscription Level"/>
    <Enumeration enumId="SUBSCRIBE_BRONZE" enumTypeId="SUBSCRIPTION_TYPE" enumCode="BRONZE" sequenceId="10" description="Bronze Level"/>
    <Enumeration enumId="SUBSCRIBE_GOLD" enumTypeId="SUBSCRIPTION_TYPE" enumCode="GOLD" sequenceId="30" description="Gold Level"/>
    <Enumeration enumId="SUBSCRIBE_SILVER" enumTypeId="SUBSCRIPTION_TYPE" enumCode="SILVER" sequenceId="20" description="Silver Level"/>

    <EnumerationType enumTypeId="IMG_SRCSET_MODE" description="Image scrset mode (device-pixel-ratio or viewport)"/>
    <Enumeration enumId="IMG_SRCSET_DPR" enumTypeId="IMG_SRCSET_MODE" enumCode="DPR" sequenceId="00" description="Device pixel ratio"/>
    <Enumeration enumId="IMG_SRCSET_VW" enumTypeId="IMG_SRCSET_MODE" enumCode="VW" sequenceId="10" description="ViewPort"/>

    <DataResourceType dataResourceTypeId="LOCAL_FILE" description="Local File" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="OFBIZ_FILE" description="File (rel to OFBIZ_HOME)" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="CONTEXT_FILE" description="File (rel to webapp root)" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="LOCAL_FILE_BIN" description="Local Binary File" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="OFBIZ_FILE_BIN" description="Binary File (rel to OFBIZ_HOME)" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="CONTEXT_FILE_BIN" description="Binary File (rel to webapp root)" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="LINK" description="HyperLink" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="URL_RESOURCE" description="URL Resource" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="SHORT_TEXT" description="Short Text" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="ELECTRONIC_TEXT" description="Long Text" hasTable="Y" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="AUDIO_OBJECT" description="Audio" hasTable="Y" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="IMAGE_OBJECT" description="Image" hasTable="Y" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="OTHER_OBJECT" description="Other" hasTable="Y" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="VIDEO_OBJECT" description="Video" hasTable="Y" parentTypeId=""/>
    <!-- SCIPIO: 2017-07-31: new type for DocumentDataResource -->
    <DataResourceType dataResourceTypeId="DOCUMENT_OBJECT" description="Document" hasTable="Y" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="SURVEY" description="Survey" hasTable="N" parentTypeId=""/>
    <DataResourceType dataResourceTypeId="SURVEY_RESPONSE" description="Survey Response" hasTable="N" parentTypeId=""/>

    <DataTemplateType dataTemplateTypeId="NONE" description="No Template" extension=""/>
    <DataTemplateType dataTemplateTypeId="FTL" description="FreeMarker" extension="ftl"/>
    <DataTemplateType dataTemplateTypeId="WM" description="WebMacro" extension="wm"/>
    <DataTemplateType dataTemplateTypeId="XSLT" description="XSLT" extension="xsl"/>
    <DataTemplateType dataTemplateTypeId="SCREEN_COMBINED" description="Screen widget" extension="xml"/>

    <DocumentType description="Shipping" documentTypeId="SHIPPING_DOCUMENT" hasTable="Y" parentTypeId=""/>
    <DocumentType description="Bill Of Lading" documentTypeId="BILL_OF_LADING" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>
    <DocumentType description="Export" documentTypeId="EXPORT_DOCUMENTATION" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>
    <DocumentType description="Haz Mat" documentTypeId="HAZ_MAT_DOCUMENT" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>
    <DocumentType description="Manifest" documentTypeId="MANIFEST" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>
    <DocumentType description="Other Shipping" documentTypeId="OTHER_SHIP_DOCUMENT" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>
    <DocumentType description="Packing Slip" documentTypeId="PACKAGING_SLIP" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>
    <DocumentType description="Port Charge" documentTypeId="PORT_CHARGE_DOCUMENT" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>
    <DocumentType description="Tax Tariff" documentTypeId="TAX_TARIFF_DOCUMENT" hasTable="N" parentTypeId="SHIPPING_DOCUMENT"/>

    <StatusType description="Server Hit" hasTable="N" parentTypeId="" statusTypeId="SERVER_HIT_STATUS"/>
    <StatusType description="Web Content" hasTable="N" parentTypeId="" statusTypeId="WEB_CONTENT_STATUS"/>

    <StatusType description="Content" hasTable="N" parentTypeId="" statusTypeId="CONTENT_STATUS"/>
    <StatusItem description="In Progress" sequenceId="01" statusCode="IN_PROGRESS" statusId="CTNT_IN_PROGRESS" statusTypeId="CONTENT_STATUS"/>
    <StatusItem description="Initial Draft" sequenceId="02" statusCode="INITIAL_DRAFT" statusId="CTNT_INITIAL_DRAFT" statusTypeId="CONTENT_STATUS"/>
    <StatusItem description="Revised Draft" sequenceId="03" statusCode="REVISED_DRAFT" statusId="CTNT_REVISED_DRAFT" statusTypeId="CONTENT_STATUS"/>
    <StatusItem description="Final Draft" sequenceId="04" statusCode="FINAL_DRAFT" statusId="CTNT_FINAL_DRAFT" statusTypeId="CONTENT_STATUS"/>
    <StatusItem description="Published" sequenceId="05" statusCode="PUBLISHED" statusId="CTNT_PUBLISHED" statusTypeId="CONTENT_STATUS"/>
    <StatusItem description="Deactivated" sequenceId="99" statusCode="DEACTIVATED" statusId="CTNT_DEACTIVATED" statusTypeId="CONTENT_STATUS"/>
    <StatusItem description="Available" sequenceId="10" statusCode="AVAILABLE" statusId="CTNT_AVAILABLE" statusTypeId="CONTENT_STATUS"/>

    <StatusValidChange statusId="CTNT_IN_PROGRESS" statusIdTo="CTNT_INITIAL_DRAFT" transitionName="First draft"/>
    <StatusValidChange statusId="CTNT_IN_PROGRESS" statusIdTo="CTNT_PUBLISHED" transitionName="Publised, not revised"/>
    <StatusValidChange statusId="CTNT_IN_PROGRESS" statusIdTo="CTNT_AVAILABLE" transitionName="Available"/>
    <StatusValidChange statusId="CTNT_INITIAL_DRAFT" statusIdTo="CTNT_REVISED_DRAFT" transitionName="Draft revised"/>
    <StatusValidChange statusId="CTNT_INITIAL_DRAFT" statusIdTo="CTNT_PUBLISHED" transitionName="Initial draft Publised"/>
    <StatusValidChange statusId="CTNT_REVISED_DRAFT" statusIdTo="CTNT_FINAL_DRAFT" transitionName="Final draft"/>
    <StatusValidChange statusId="CTNT_REVISED_DRAFT" statusIdTo="CTNT_PUBLISHED" transitionName="Revised draft Publised"/>
    <StatusValidChange statusId="CTNT_FINAL_DRAFT" statusIdTo="CTNT_PUBLISHED" transitionName="Final draft Published"/>
    <StatusValidChange statusId="CTNT_PUBLISHED" statusIdTo="CTNT_DEACTIVATED" transitionName="Deactivated"/>
    <StatusValidChange statusId="CTNT_AVAILABLE" statusIdTo="CTNT_DEACTIVATED" transitionName="Available to Deactivated"/>

    <SubscriptionType description="Newsgroup" hasTable="N" parentTypeId="" subscriptionTypeId="NEWSGROUP_SUBSCR"/>
    <SubscriptionType description="Other" hasTable="N" parentTypeId="" subscriptionTypeId="OTHER_SUBSCR"/>
    <SubscriptionType description="Product Info" hasTable="N" parentTypeId="" subscriptionTypeId="PRODUCT_INFO_SUBSCR"/>

    <!-- website data -->
    <!-- SCIPIO: blog unneeded
    <WebSiteContentType webSiteContentTypeId="BLOG_ROOT" description="Blog Root" hasTable="N" parentTypeId=""/>
    -->
    <WebSiteContentType webSiteContentTypeId="DEFAULT_PAGE" description="Default Page" hasTable="N" parentTypeId=""/>
    <!-- SCIPIO: Unneeded
    <WebSiteContentType webSiteContentTypeId="FORUM_ROOT" description="Forum Root" hasTable="N" parentTypeId=""/>
    -->
    <WebSiteContentType webSiteContentTypeId="MENU_ROOT" description="Menu Containers" hasTable="N" parentTypeId=""/>
    <WebSiteContentType webSiteContentTypeId="ERROR_ROOT" description="Error Page Containers" hasTable="N" parentTypeId=""/>
    <WebSiteContentType webSiteContentTypeId="PUBLISH_POINT" description="Publish Point" hasTable="N" parentTypeId=""/>

    <!-- survey data -->
    <SurveyApplType surveyApplTypeId="CART_ADD" description="Add-To Cart"/>
    <SurveyApplType surveyApplTypeId="CHECK_OUT" description="Check-Out"/>
    <SurveyApplType surveyApplTypeId="GENERAL_POLL" description="General Poll"/>
    <SurveyApplType surveyApplTypeId="RANDOM_POLL" description="Random Poll"/>
    <SurveyApplType surveyApplTypeId="CUSTOMER_PROFILE" description="Customer Profile"/>
    <SurveyApplType surveyApplTypeId="SORDER_PLACE" description="Sales Order Placement"/>
    <SurveyApplType surveyApplTypeId="PORDER_PLACE" description="Purchase Order Placement"/>
    <SurveyApplType surveyApplTypeId="PORDITM_PLACE" description="Purchase Order Item Placement"/>

    <SurveyQuestionType surveyQuestionTypeId="BOOLEAN" description="Boolean (Yes/No)"/>
    <SurveyQuestionType surveyQuestionTypeId="CONTENT" description="Content Record"/>
    <SurveyQuestionType surveyQuestionTypeId="COUNTRY" description="Country"/>
    <SurveyQuestionType surveyQuestionTypeId="CREDIT_CARD" description="Credit Card Number"/>
    <SurveyQuestionType surveyQuestionTypeId="GEO" description="Geo List"/>
    <SurveyQuestionType surveyQuestionTypeId="GIFT_CARD" description="Gift Card Number"/>
    <SurveyQuestionType surveyQuestionTypeId="DATE" description="Date String (mm/dd/yyyy)"/>
    <SurveyQuestionType surveyQuestionTypeId="EMAIL" description="Email Address"/>
    <SurveyQuestionType surveyQuestionTypeId="ENUMERATION" description="Enumeration"/>
    <SurveyQuestionType surveyQuestionTypeId="NUMBER_CURRENCY" description="Numeric (Currency)"/>
    <SurveyQuestionType surveyQuestionTypeId="NUMBER_FLOAT" description="Numeric (Float)"/>
    <SurveyQuestionType surveyQuestionTypeId="NUMBER_LONG" description="Numeric (Long)"/>
    <SurveyQuestionType surveyQuestionTypeId="OPTION" description="Selected Option"/>
    <SurveyQuestionType surveyQuestionTypeId="PASSWORD" description="Password"/>
    <SurveyQuestionType surveyQuestionTypeId="SEPERATOR_LINE" description="Seperator Line"/>
    <SurveyQuestionType surveyQuestionTypeId="SEPERATOR_TEXT" description="Seperator Text"/>
    <SurveyQuestionType surveyQuestionTypeId="STATE_PROVINCE" description="State/Province"/>
    <SurveyQuestionType surveyQuestionTypeId="TEXT_SHORT" description="Short Text (single-line)"/>
    <SurveyQuestionType surveyQuestionTypeId="TEXT_LONG" description="Long Text (single-line)"/>
    <SurveyQuestionType surveyQuestionTypeId="TEXTAREA" description="Text (multi-line)"/>
    <SurveyQuestionType surveyQuestionTypeId="URL" description="URL"/>

    <DataResource dataResourceId="STDWRAP001" dataResourceTypeId="ELECTRONIC_TEXT" dataTemplateTypeId="FTL" dataResourceName="Standard SubContent Wrapper" mimeTypeId="text/html"/>
    <ElectronicText dataResourceId="STDWRAP001">
        <textData><![CDATA[<#assign mapKey=wrapMapKey?if_exists/>
<#assign subDataResourceId=wrapDataResourceId?if_exists/>
<#assign subDataResourceTypeId=wrapDataResourceTypeId?if_exists/>
<#assign contentIdTo=wrapContentIdTo?if_exists/>
<#assign mimeTypeId=wrapMimeTypeId?if_exists/>
<#assign subContentId=wrapSubContentId?if_exists/>
<div id="divTwo" class="wrapOuter">
    <div>
    ${mapKey?if_exists}
    <a class="${styles.link_nav!} ${styles.action_find!}" href="javascript:lookupSubContent('<@pageUrl>/LookupSubContent</@pageUrl>', '${contentIdTo?if_exists}','${mapKey?if_exists}',  '${subDataResourceTypeId?if_exists}', '${mimeTypeId?if_exists}')">[Find]</a>
    <#assign ofbizRequest=""/>
    <#assign httpParams="contentIdTo=" + contentIdTo?if_exists + "&mapKey=" + mapKey?if_exists />
    <#if subDataResourceTypeId == "IMAGE_OBJECT">
        <#assign ofbizRequest="EditLayoutImage"/>
    <#else>
        <#if subDataResourceTypeId == "URL_RESOURCE">
            <#assign ofbizRequest="EditLayoutUrl"/>
        <#else>
            <#assign ofbizRequest="EditLayoutSubContent"/>
        </#if>
    </#if>
    <a class="${styles.link_nav!} ${styles.action_add!}" href="<@pageUrl>/${ofbizRequest}?${httpParams}&mode=add</@pageUrl>">[New]</a>
    <#if subContentId?exists && (0 < subContentId?length)>
        <a class="${styles.link_nav!} ${styles.action_update!}" href="<@pageUrl>/${ofbizRequest}?${httpParams}&contentId=${subContentId}&drDataResourceId=${subDataResourceId?if_exists}</@pageUrl>">[Edit]</a>
    </#if>
    </div>
<div id="divOne" class="wrapInner">
<@renderWrappedText/>
</div>
</div>]]></textData>
    </ElectronicText>
    <Content contentId="STDWRAP001" contentTypeId="DOCUMENT" dataResourceId="STDWRAP001" contentName="Standard SubContent Wrapper" description="Standard SubContent Wrapper" mimeTypeId="text/html"/>

    <WebAnalyticsType description="Web Analytics" hasTable="N" parentTypeId="" webAnalyticsTypeId="WEB_ANALYTICS"/>
    <WebAnalyticsType webAnalyticsTypeId="GOOGLE_ANALYTICS" parentTypeId="WEB_ANALYTICS" hasTable="N" description="Google Analytics"/>
    <WebAnalyticsType webAnalyticsTypeId="BING_ANALYTICS" parentTypeId="WEB_ANALYTICS" hasTable="N" description="Bing Analytics"/>
    <WebAnalyticsType webAnalyticsTypeId="BACKEND_ANALYTICS" parentTypeId="WEB_ANALYTICS" hasTable="N" description="Backend Analytics"/>

    <!-- SCIPIO: 2017-07-26: These are ContentAssoc versions of the nearly same XXX_IMAGE_URL ProductContent image definitions; 
        we must be able to define alternate size images even in the absence of a product.
        The ID names are based on the names defined in ImageProperties.xml files. -->
    <!-- NOTE: IMGSZ_THUMBNAIL may not necessarily be used for the same purpose as the IMAGE_THUMBNAIL defined in component://product/data/ProductTypeData.xml (or both must be present to use both?...) -->
    <ContentAssocType contentAssocTypeId="IMGSZ_THUMBNAIL" description="Image - Thumbnail"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_SMALL" description="Image - Small"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_MEDIUM" description="Image - Medium"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_LARGE" description="Image - Large"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_DETAIL" description="Image - Detail"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_ORIGINAL" description="Image - Original"/>
    <!-- TODO?... (from ImageProperties.xml)
    <ContentAssocType contentAssocTypeId="IMGSZ_100x75" description="Image - 100x75"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_150x112" description="Image - 150x112"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_320x240" description="Image - 320x240"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_640x480" description="Image - 640x480"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_800x600" description="Image - 800x600"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_1024x768" description="Image - 1024x768"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_1280x1024" description="Image - 1280x1024"/>
    <ContentAssocType contentAssocTypeId="IMGSZ_1600x1200" description="Image - 1600x1200"/>
    -->
    
</entity-engine-xml>