• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help in oncollapse of simpletogglepanel..

 
vimal chandran
Greenhorn
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..



.hideOnLoad
{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,

vimal...














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