p:panel onCloseStart event not working

UI Components for JSF
Post Reply
kurt
Posts: 5
Joined: 19 Aug 2010, 21:58

25 Aug 2010, 21:25

The sayHello function isn't getting called when I collapse the panel. Can anyone see if there's something I'm doing wrong here? When I view the source, I don't see anything that calls the function.


<script type="text/javascript">
function sayHello()
{
alert("hello");
};
</script>
<p:panel
toggleable="true"
onCloseStart="sayHello()">
I must be doing something wrong here.
</p:panel>

kurt
Posts: 5
Joined: 19 Aug 2010, 21:58

25 Aug 2010, 22:37

I finally realized that closing is a separate thing than toggling. So nevermind. Too bad it doesn't have onToggleStart.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

25 Aug 2010, 23:25

You can create a feature request for this.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests