major
nice-to-have
defect
major
Code Migration
- Instead of embedding an InfoComponent into the layout, you must configure a Help-ID on a containing component with a component title, e.g.,
- {{{
#!patch Index: branches/CWS/CWS_22926/com.top_logic/webapp/WEB-INF/layouts/templates/levelTwo.xml =================================================================== --- branches/CWS/CWS_22926/com.top_logic/webapp/WEB-INF/layouts/templates/levelTwo.xml (revision 257986) +++ branches/CWS/CWS_22926/com.top_logic/webapp/WEB-INF/layouts/templates/levelTwo.xml (revision 257987) @@ -51,13 +51,9 @@
model="selection(${compoundMasterName})"
resPrefix="${resPrefix}"
securityDomain="${domain}"
+ helpIDLegacy="${resPrefix}tabber"
>
<components>
- <component class="%INFO_COMPONENT%"
- image="${image}"
- name="${componentName}_infoComponent"
- title="${resPrefix}tabber"
- /> <include name="${layout}"/> </components> </securityLayout>
}}}
- {{{
#!patch Index: branches/CWS/CWS_22926/com.top_logic.demo/webapp/WEB-INF/layouts/demo/editStructureWithExport.xml =================================================================== --- branches/CWS/CWS_22926/com.top_logic.demo/webapp/WEB-INF/layouts/demo/editStructureWithExport.xml (revision 257986) +++ branches/CWS/CWS_22926/com.top_logic.demo/webapp/WEB-INF/layouts/demo/editStructureWithExport.xml (revision 257987) @@ -42,12 +42,10 @@ /> <tabs>
<tab label="layouts.demo.editStructureWithExport.demoStructureDemoTypes.tab">
- <layout resPrefix="layouts.demo.editStructureWithExport.main.">
+ <layout resPrefix="layouts.demo.editStructureWithExport.main." + helpID="structureDetail.helpID" + >
<components>
- <-- Needed to get help entry -->
- <component class="%INFO_COMPONENT%"
- title="structureDetail"
- /> <include name="demo/editStructureDetail.xml"
defaultFor="${defaultFor}"
exportHandlers="${exportHandlers}"
}}}
- Help configuration must be entered in the com.top_logic.help.configuration.HelpSystem module instead of com.top_logic.knowledge.gui.layout.InfoComponent$HelpConfiguration. The "help-mapping" sections now only have the languages as "name" attributes, e.g., "de" instead of "HelpMappingsDE".
Test
No additional test.