0

Target on borderlayout

asked 2009-09-07 22:24:49 +0800

rlmf gravatar image rlmf
3

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.

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-09-09 21:06:27 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

please look this.

regards
Stephan

link publish delete flag offensive edit

answered 2013-05-15 04:33:04 +0800

csgwong328 gravatar image csgwong328
1

Dear Stephan, I am unable to follow your url, can you please kindly provide anther url Thanks in advance Cheers Larry

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-09-07 22:24:49 +0800

Seen: 363 times

Last updated: May 15 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More