panel close causes infinite loop

UI Components for JSF
Post Reply
hathawa
Posts: 9
Joined: 17 Aug 2010, 15:30

22 Aug 2010, 20:12

I created simple panel that is closable:
<p:panel id="cpnl1" header="Add Contact" closable="true" visible="false" widgetVar="contactPanel">
When I attempt to close it the browser goes into an infinite loop with Firebug reporting:
"Scope is not defined"
at a rate of about 100 per second. Now if I add a trivial closeListener method to the backing bean:
public void closePanel() {}
then everything works fine. I do not think the panel should require a listener. If it is working as designed
then a mention of it should be made in the new manual. Thanks.
primefaces: 2.2.M1-SNAPSHOT
jsf: Mojarra 2.1.0-SNAPSHOT
server: Apache Tomcat/6.0.26

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

22 Aug 2010, 20:52


hathawa
Posts: 9
Joined: 17 Aug 2010, 15:30

23 Aug 2010, 00:33

Sorry,

primefaces: 2.2.M1-SNAPSHOT
jsf: Mojarra 2.1.0-SNAPSHOT
server: Apache Tomcat/6.0.26
primefaces: 2.2.M1-SNAPSHOT
jsf: Mojarra 2.1.0-SNAPSHOT
server: Apache Tomcat/6.0.26

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 30 guests