Fórum

primefaces tree dynamic mode

Reinhard Hennecke, modificado 9 Anos atrás.

primefaces tree dynamic mode

New Member Postagens: 3 Data de Entrada: 22/01/15 Postagens Recentes
Hi there,

we are migrating from Liferay 6.1.20 EE and Primefaces 3.5 to Liferay 6.2.10 EE GA1 and Primefaces 5.1. We don't update Liferay, we start with a a new, clean 6.2.10 Installation.

Our progress migrating our software is pretty fine, but one problem we are still facing.

A <p:tree> with dynamic="true" does not work dynamic anymore. It loads its thousands of nodes at once.

Furthermore the top nodes don't show their labels, and clicking them throws an exception, resulting from an empty node i think.

May be, some compoments of Liferay / Jboss that had been changed in 6.1.20, but not in 6.2.10 - that staff has changed meanwhile.

Has anyone an idea, what to investigate?

Thanks
Reinhard

Edit: We are working this componets:
jsf-api 2.1.29
jsf_impl 2.1.29
Liferay Faces Bridge 3.2.4-ga5
Mojarra 2.1.29
org.jboss.weld 1.1.10
thumbnail
Kyle Joseph Stiemann, modificado 9 Anos atrás.

RE: primefaces tree dynamic mode

Liferay Master Postagens: 760 Data de Entrada: 14/01/13 Postagens Recentes
Hi Reinhard,

A <p:tree> with dynamic="true" does not work dynamic anymore. It loads its thousands of nodes at once.

Furthermore the top nodes don't show their labels, and clicking them throws an exception, resulting from an empty node i think.

Could you try to reproduce both of these errors in a plain JSF webapp in tomcat? If you can reproduce them, then it's probably an issue with Primefaces.

If you cannot reproduce it outside of Liferay, then please post the smallest code example (or attach a portlet) which reproduces the issue.

Thanks,
- Kyle