<value><string>A Static Web Section defines an optional default web page and a predicate to select content listed in that section. Contrary to Web Section it disables acquisition to provide only document from the DMS</string></value>
</item>
<item>
<key><string>factory</string></key>
<value><string>addWebSection</string></value>
</item>
<item>
<key><string>filter_content_types</string></key>
<value><int>1</int></value>
</item>
<item>
<key><string>group_list</string></key>
<value>
<tuple/>
</value>
</item>
<item>
<key><string>id</string></key>
<value><string>Static Web Section</string></value>
This file duplicates WebSection_getDocumentValueListBase, appart from 4 commented-out lines added in this version. Why ? Why not just call the other one from this one ? And if overriding of the older one is an issue, why not make both call a new common script ? Code duplication is bad.
This file duplicates WebSection_getDocumentValueListBase, appart from 4 commented-out lines added in this version. Why ? Why not just call the other one from this one ? And if overriding of the older one is an issue, why not make both call a new common script ? Code duplication is *bad*.