Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help in oncollapse of simpletogglepanel..  RSS feed

vimal chandran
Posts: 1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I need to enabe visibility of <rich:panel> when am collapsing <rich:simpletogglepanel>

As per my application, when the page is loading rich:panel should be in visible state and simpletogglepanel in collapsed state..

if am clicking the togglepanel it ll expand but at the same time rich:panel should go to hidden state.. for this i tried a code..

{display: true}

< rich:simpleTogglePanel switchType="client" label="Allegemein" onexpand="{rich:element('metaData').hide();}">

<rich:panel id="metaData" styleClass="hideOnLoad">

but using above code when am expanding it wont hide the panel..

kindly spot my error(s)....

thanks in advance,


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!