0

Tag borderlayout used in tabpanel

asked 2012-10-22 09:24:17 +0800

jasonhoo gravatar image jasonhoo
84 4

Old source is OK!

      <include style="padding:0px;" id="xcontents" />

source of include.zul is:
<borderlayout>
  <east size="100px">
    this is a test(east)
  </east>
  <north size="60px">
    this is a test(north)
  </north>
  <center autoscroll="true">
    this is a test(center)
  </center>
</borderlayout>

To change style of GUI, put include into tabpanel cann't display anything exception tab 'tab1':

      <tabbox>
        <tabs>
          <tab>tab1</tab>
        </tabs>
        <tabpanels>
          <tabpanel vflex="1" hflex="1">
            <include style="padding:0px;" id="xcontents" />
          </tabpanel>
        </tabpanels>
      </tabbox>

Could you help me?Thanks!

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2012-10-22 09:30:40 +0800

Steva77 gravatar image Steva77 flag of Italy
1014 3
http://www.research.softe...

You are not saying in the <include> tag what you want to inlcude...

<include style="padding:0px;" id="xcontents" src="include.zul" />

Take care of src path to match your structure!
hope it helps
Stefano

link publish delete flag offensive edit

answered 2012-10-23 06:41:35 +0800

jasonhoo gravatar image jasonhoo
84 4

Thanks,attribute 'src' of tag 'include' is set by application. That's OK when use tag 'include' directly, there is problem when it(tag 'include') is used in tabpanel.

link publish delete flag offensive edit

answered 2012-10-25 09:39:29 +0800

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

Try to set fixed sizes in the included file to CHECK if something is shown.

link publish delete flag offensive edit

answered 2012-10-25 10:12:25 +0800

Steva77 gravatar image Steva77 flag of Italy
1014 3
http://www.research.softe...

>> attribute 'src' of tag 'include' is set by application
Posting th code might help...

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: 2012-10-22 09:24:17 +0800

Seen: 103 times

Last updated: Oct 25 '12

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