Hi community,
I got a p_growl and a p:tree component in my .xhtml
<p:growl id="messages" life="3000" />
<p:tree value="#{masterDataBean.model}" toggleMode="async" expanded="true" cache="false" expandAnim="FADE_IN" collapseAnim="FADE_OUT" nodeSelectListener="#{masterDataController.onNodeSelect}"></p:tree>
Now I want to output a message within the onNodeSelect Methode: FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_WARN, "Test", null));
Put the Message shows not up?
I'm using JSF 2.0
regards
Meex
p:tree event with growl output
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, it's a feature that's added recently.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 35 guests