Dynamic Menu and partial update

UI Components for JSF
Post Reply
Andrdandr
Posts: 1
Joined: 18 Oct 2010, 22:56

18 Dec 2010, 01:21

Hello, comminity.

The question is:
Why method

Code: Select all

org.primefaces.component.menu.AbstractMenu.shouldBuildFromModel
checks for

Code: Select all

!isBuiltFromModel()
?

My problem:
  • I try to dynamically build popup menu from model;
  • I change menu model and then i update the popup menu by using partial update;
  • The content of the popup menu does not change.
Thoughtful debug led me to the upper given method.

Trace:
MenuRenderer.encodeEnd -> AbstractMenu.shouldBuildFromModel

What do i wrong?

PS: Sorry for my english, thanx

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 54 guests