Wichtig
Kleinigkeit
Fehlerbehebung
Wichtig
Code-Migration
- Statt eine InfoComponent ins Layout einzubinden, muss an einer umschließenden Komponente mit Komponenten-Titel eine Help-ID konfiguriert werden, z.B.
- {{{
#!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}"
}}}
- Hilfe-Konfiguration ist im Module com.top_logic.help.configuration.HelpSystem, anstelle von com.top_logic.knowledge.gui.layout.InfoComponent$HelpConfiguration einzutragen. Die Sektionen "help-mapping" haben jetzt nur noch die Sprachen als "name"-Attribute, also z.B. "de" anstatt "HelpMappingsDE".
Test
Kein zusätzlicher Test.