ItEr37S16RFMaquetacionDesenhoAplicacionItEr36S18: Refactorized template to handle west perspectives column

This commit is contained in:
Lorenzo Tilve 2009-12-03 01:44:05 +01:00 committed by Javier Moran Rua
parent 3b77680a00
commit ea5ea4d4e6
4 changed files with 18 additions and 7 deletions

View file

@ -4,6 +4,15 @@ planner = self;
]]>
</zscript>
<borderlayout width="auto" height="500px">
<west width="90px">
<n:div>
Registered items insertion point
<hbox id="registered_ItemsInsertionPoint" style="background-color:#2A83B4" />
</n:div>
</west>
<center>
<borderlayout sclass="plannerlayout" width="auto">
<north height="30px" border="0">
<hbox align="center" id="toolbar">
@ -69,4 +78,6 @@ planner = self;
<div id="insertionPointChart" />
</south>
</borderlayout>
</center>
</borderlayout>
</zk>

View file

@ -203,7 +203,7 @@ public class CustomMenuController extends Div implements IMenuItemsRegister {
}
private Hbox getRegisteredItemsInsertionPoint() {
return (Hbox) getFellow("registeredItemsInsertionPoint");
return (Hbox) getPage().getFellow("registeredItemsInsertionPoint");
}
public List<CustomMenuItem> getCustomMenuItems() {

View file

@ -805,3 +805,8 @@ position:relative; */
.z-menu-body-seld .z-menu-inner-r {
background-image:none;
}
.user_row .cerrar_sesion {
display:inline;
}

View file

@ -51,12 +51,7 @@
</n:table></n:td>
</n:tr>
</n:table>
<n:table width="100%" border="0" cellpadding="0" cellspacing="0">
<n:tr>
<n:td></n:td>
</n:tr>
<n:tr><hbox id="registeredItemsInsertionPoint" style="background-color:#2A83B4" /></n:tr>
</n:table>
<hbox id="registeredItemsInsertionPoint" style="background-color:#2A83B4" />
<n:table width="100%" border="0" cellspacing="0" cellpadding="0">
<n:tr>
<n:td height="400" valign="top"><div self="@{insert(content)}"/></n:td>