ItEr30S15RFVisualizacionMultiplesProxectosItEr29S18: Adding global resource load tab

This commit is contained in:
Óscar González Fernández 2009-10-13 18:33:40 +02:00
parent cefe9e9ff2
commit 1e183e865e
2 changed files with 34 additions and 3 deletions

View file

@ -161,9 +161,9 @@ public class MultipleTabsPlannerController {
@Override
public org.zkoss.zk.ui.Component create(
org.zkoss.zk.ui.Component parent) {
return withUpAndDownButton(new Label(
"on resource load view. mode: "
+ mode.getType()));
return Executions.createComponents(
"/resourceload/_resourceload.zul",
parent, null);
}
});
}

View file

@ -0,0 +1,31 @@
<!--
This file is part of ###PROJECT_NAME###
Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e
Desenvolvemento Tecnolóxico de Galicia
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<?taglib uri="/WEB-INF/tld/i18n.tld" prefix="i18n" ?>
<zk>
<zscript><![CDATA[
controller = resourceLoadController;
]]>
</zscript>
<div apply="${controller}" self="@{define(content)}">
</div>
</zk>