请教一个layout:tabLayout问题
页面代码:
<layout:tabLayout
rendered="#{(crm.tb_c001_customerBean.p.indexOf(crm.tb_c001_customerBean.C001MANAGECONTACT)!=-1)||(crm.tb_c001_customerBean.p.indexOf(crm.tb_c001_customerBean.C001MANAGEBUSINESS)!=-1)}">
<layout:panel title="业务管理"
rendered="#{crm.tb_c001_customerBean.p.indexOf(crm.tb_c001_customerBean.C001MANAGEBUSINESS)!=-1}">
<ajax:updater frame="true" id="c003Updater" url="tb_c003_business.xhtml?flag=2"
style="width: 100%;height: 100%;"></ajax:updater>
</layout:panel>
<layout:panel title="联系人管理"
rendered="#{crm.tb_c001_customerBean.p.indexOf(crm.tb_c001_customerBean.C001MANAGECONTACT)!=-1}">
<ajax:updater frame="true" id="c002Updater" url="tb_c002_contact.xhtml?flag=2"
style="width: 100%;height: 100%;"></ajax:updater>
</layout:panel>
</layout:tabLayout>
效果如图:
附件
-
01.gif
(344.48 KB)
-
2010-3-9 17:49