creates two tabs, one of them Main preferences, and the another

Entity sequences for all the sequences of the entities.

FEA : ItEr64S06NavalPlanEntities
This commit is contained in:
Susana Montes Pedreira 2010-11-30 12:05:09 +01:00
parent 3f633639c6
commit 07cea17fdb
2 changed files with 9 additions and 8 deletions

View file

@ -77,7 +77,7 @@ public class ConfigurationController extends GenericForwardComposer {
private Component messagesContainer;
private Tabpanel panelConfiguration;
private Tabpanel panelEntitySequences;
@Override
public void doAfterCompose(Component comp) throws Exception {
@ -137,7 +137,7 @@ public class ConfigurationController extends GenericForwardComposer {
private void createPanelEntityComponents() {
for (final EntityNameEnum entityName : EntityNameEnum.values()) {
Component entitySequenceComponent = Executions.createComponents(
"components/panelEntitySequence.zul", panelConfiguration
"components/panelEntitySequence.zul", panelEntitySequences
.getFellow("panelEntitySequence"),
new HashMap<String, String>());
initLabelInPanelSequence(entitySequenceComponent, entityName);

View file

@ -38,6 +38,7 @@
<tabbox>
<tabs>
<tab label="${i18n:_('Main preferences')}" />
<tab label="${i18n:_('Entity sequences')}" />
</tabs>
<tabpanels>
<tabpanel id="panelConfiguration">
@ -168,12 +169,12 @@
</row>
</rows>
</grid>
<separator bar="false" height="20px" />
<panel border="normal" title="Entity code sequences">
<panelchildren id="panelEntitySequence">
</panelchildren>
</panel>
</tabpanel>
<tabpanel id="panelEntitySequences">
<panel border="normal" title="Entity code sequences">
<panelchildren id="panelEntitySequence">
</panelchildren>
</panel>
</tabpanel>
</tabpanels>
</tabbox>