掲示板
nested liferay-ui:panel
i have requirement where there should be two level of collapsible pane
i defined something like this to make single level of collapsible pane
is it possible to make this structure nested so that i will have another collapsible pane under the first, i tried to repeat the same structure under liferay-ui:panel but got an error, any suggestions how this can be done ?
thanks
i defined something like this to make single level of collapsible pane
<liferay-ui:panel-container id="panel-container-1" extended="true" accordion="true">
<liferay-ui:panel id="panel-c1" title="Panel 1" collapsible="true" extended="true">
Test panel 1
</liferay-ui:panel>
<liferay-ui:panel id="panel-c2" title="Panel 2" collapsible="true" extended="false">
Test panel 1
</liferay-ui:panel>
</liferay-ui:panel-container>
is it possible to make this structure nested so that i will have another collapsible pane under the first, i tried to repeat the same structure under liferay-ui:panel but got an error, any suggestions how this can be done ?
thanks
11年前 に Florian Eilers によって更新されました。
RE: nested liferay-ui:panel
New Member 投稿: 7 参加年月日: 12/04/05 最新の投稿
I am facing the same problem. With this code
I'm not getting an error, but instead 2 nested panels, that are not collapsible as well as the outer panel not actually looking like a panel.
Has anyone found a solution to this?
<liferay-ui:panel-container extended="true" id="outerPanelContainer">
<liferay-ui:panel collapsible="true" title="outer panel">
outer content
<liferay-ui:panel-container extended="true" id="innerPanelContainer">
<liferay-ui:panel collapsible="true" title="inner panel">
inner content
</liferay-ui:panel>
</liferay-ui:panel-container>
</liferay-ui:panel>
</liferay-ui:panel-container>
I'm not getting an error, but instead 2 nested panels, that are not collapsible as well as the outer panel not actually looking like a panel.
Has anyone found a solution to this?