icefaces


ICEfaces messages


I have a JSP with a managed bean.
I want to display a message on the page, not related to any component, so, I do not need to use the "for" attribute.
My message code:
public void foo(ActionEvent event)
{
FacesContext context= FacesContext.getCurrentInstance();
if(true)
{
FacesMessage message = new FacesMessage();
message.setSeverity(FacesMessage.SEVERITY_ERROR);
message.setSummary("BMW.");
message.setDetail("BMW detail.");
context.addMessage("foo", message);
}
}
How do I display this message?
Sounds like the <ice:messages /> tag will be the right choice for you.
ICEfaces ice:messages TLD

Related Links

ICEFaces: values for the “icon” attribute
EffectQueue and chaining effects in IceFaces 1.8
Ace Datatable row selector with paginator
How to customize internal server error popup?
How to use more than one ace:fileEntry tag in the same page?
Enabling ICEfaces compat leads to not recognizing h:head and h:body
Passing parameter to <ice:rowSelector>'s clickListener attribute
ICEfaces configured for view, but h:head and h:body components are required
ace:tabSet style is corrupted when using ICEFaces 3
How to configure rime style in ICEfaces 3
scrolling changes the size of the ice datatable headers
How to get values in dropdown list from database in icefaces?
Data pager in icefaces not paging
use sbt for generate a webapp with icefaces
Cancel button Icefaces with immediate=true
how to redirect to j_security_check in the managed bean?

Categories

HOME
arrays
ibm-watson-cognitive
tinyos
reverse-engineering
warnings
facebook-graph-api
fparsec
label
unity2d
x-frame-options
store
uiview
datagrip
event-log
cross-platform
cairo
session-timeout
jsonserializer
device-detection
statusbar
excel-2010
epicor
thingsboard
cocoa-touch
npm-install
badge
guile
ab-initio
data-conversion
pitest
cell-array
superscript
svnkit
outsystems
fractals
data-extraction
von-neumann
coreclr
sendgrid-templates
knockout-3.0
apiary
fastq
broadcast
ogre3d
openh264
crystal-reports-8.5
ticker
jexl
launch
uicollectionviewlayout
spyne
alter
children
angularjs-ng-pattern
inet
proxygen
test-class
paypal-nvp
stream-framework
castle-windsor-3
pgm
swift2.1
epl
guzzle6
cpan
client-side-validation
kallithea
gyroscope-framework
genetic-programming
level
openkinect
circos
bsod
baucis
sttwitter
entity-framework-4.1
argb
sequelpro
xgettext
fotoware
deploying
parameterization
applicationcontext
ou
datacontract
junit3
adobe-contribute
savestate
internals

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App