掲示板

nested liferay-ui:panel

12年前 に din sim によって更新されました。

nested liferay-ui:panel

New Member 投稿: 4 参加年月日: 11/07/01 最新の投稿
i have requirement where there should be two level of collapsible pane

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

<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?
thumbnail
11年前 に Vishal Panchal によって更新されました。

RE: nested liferay-ui:panel

Expert 投稿: 289 参加年月日: 12/05/20 最新の投稿
Hi , din sim

visit link-->http://deploy.alloyui.com/demos/panel/
check Nested Panels Example
hope it will be helpful to you..



Thanks & Regards,
Vishal R. Panchal