An error message instead of Growl messages

Asked By 0 points N/A Posted on -
qa-featured

Hello,

Since today I have faced the problem, that I get an error message instead of Growl messages.

What Can I do?

Can you provide me the proper way to resolve this issue?

I would be really grateful to you.

Das Dokument “MailSteward-3168-1C1BBD1F- DE32-4657-9A9B-418B83B6345B.growIReg Dict``konnte nicht geÖffnet warden. GrowlHelperApp kann Dateien im Format “Document” nicht Öffnen.

Das Dokument

“MailSteward-3168-1C1BBD1F-

DE32-4657-9A9B-418B83B6345B.growIReg

Dict" konnte nicht geÖffnet warden.

GrowlHelperApp kann Dateien im Format

“Document” nicht Öffnen.

OK

SHARE
Answered By 0 points N/A #175954

An error message instead of Growl messages

qa-featured

You can define which items should display face messages and the which one would display growl messages. Please refer to codes below:

<p:messages for="somekey" />

<p:growl for="anotherkey" />

<p:growl globalOnly="true" />

 

context.addMessage("somekey", new FacesMessage(FacesMessage.SEVERITY_INFO,"Sample info message", "PrimeFaces Rocks"));

context.addMessage("somekey", new FacesMessage(FacesMessage.SEVERITY_INFO,"Sample info message", "Always bet on Prime"));

 

context.addMessage("anotherkey", new FacesMessage(FacesMessage.SEVERITY_INFO,"Sample info message", "PrimeFaces is developed by Chuck Norris"));

 

context.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO,"Sample warn message", "Optimus Prime will be back!"));

 

There is also what you call the severity levels for you to define which severe cases can be shown by the component. To be able to display messages on errors and infos on a growl that fades out, please check:

<p:messages severity="error" />
<p:growl severity="info, warn" />
<p:growl />  //default

 

Related Questions