Hi there,
Is there a way to command layoutUnit open or close based on some other event.
For example I want to instruct a layoutUnit to be closed, when user clicks on a commandButton.
Is it anyway possible ?
Thanks a bunch.
make layoutunit close or open
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You can use the client side api for this;
Layout has a simple getManager API you can access with widgetVar.
Then with javascript;
See the full client side api of methods at;
http://layout.jquery-dev.net/documentat ... es_Methods
Layout has a simple getManager API you can access with widgetVar.
Code: Select all
<p:layout widgetVar="layout">
...
Code: Select all
layout.getManager().toggle('paneId');
http://layout.jquery-dev.net/documentat ... es_Methods
-
- Information
-
Who is online
Users browsing this forum: No registered users and 46 guests