-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hey people,
I'm using a borderlayout on my main page, and I have other page ,called menuPage, with a menubar that I include in my main page, the code is in the follow:
main page
<zk>
<window width="100%" height="100%">
<borderlayout width="100%">
<north size="32%" style="none repeat scroll 0%;">
<include sclass="header" src="cabecalho.html" />
</north>
<west size="200px" splittable="true" flex="true" collapsible="true" title="Menu">
<include sclass="header" src="frameMenu.zul" />
</west>
<center flex="true" id="framePrincipal">
<hbox id="centerFrame" width="100%" height="100%">box central</hbox>
</center>
<south size="20px">
<hbox pack="center" width="100%">Copyright Rafael Lucas</hbox>
</south>
</borderlayout>
</window>
</zk>
menu page:
<zk>
<menubar id="menubar" width="200px" orient="vertical">
<menu label="Tortas">
<menupopup>
<menuitem label="Tradicionais" target="centerFrame" href="tortas/tortasTradicionais.zul"/>
<menuitem label="Especiais" target="centerFrame" href="tortas/tortasTradicionais.zul"/>
<menuitem label="Finas" onClick="alert(self.label)" />
</menupopup>
</menu>
</menubar>
my problem is, when I click in some option in my menu instead of the page called open in the frame called "centerFrame" it opens on other page. Somebody can help me?
since now, thanks.
Dear Stephan, I am unable to follow your url, can you please kindly provide anther url Thanks in advance Cheers Larry
Asked: 2009-09-07 22:24:49 +0800
Seen: 363 times
Last updated: May 15 '13