p:submenu with no children is not allowed w/ 1.0.0-SNAPSHOT

UI Components for JSF
Post Reply
mulderbaba
Posts: 10
Joined: 24 Nov 2009, 23:05

11 Dec 2009, 16:32

at MenubarRenderer there is this line @110,

Code: Select all

      UIComponent firstChild = submenu.getChildren().get(0);
this won't allow a submenu that has no p:menuItem's inside,

Code: Select all

<p:submenu label="My Page" url="someRole" />	

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

11 Dec 2009, 18:46

Oh, you're using the snapshot, thanks for the heads up, I'll fix it soon.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 65 guests