Xpage section detect status

HelloI use section component in an xpage application.

I would like to know how to detect if a section is collapsed or opened.

I dont want tu use the onclick event to store in a coockie the status of the section when it is open or closed;

Does exists an other way to get the status of an xpage section

Subject: Resolved

getComponent(‘section_name’).isClosed()