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

How can I add a title to a disabled icefaces commandbutton?
Hide menuBar on click icefaces
ice:paneConfirmation - is it really so bad?
SessionRenderer not rendering throws ViewExpiredException
icefaces 1.8.2 Datapaginator unexpected PaneltabSet content swap
How can i download ICEfaces-1.7.0 Netbeans plugin?
Icefaces ace:autoCompleteEntry not working
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

Categories

HOME
converter
jsf
dotnetrdf
google-cloud-bigtable
erlang
webrtc
label
tomcat7
heap-memory
phaser-framework
java-home
browserify
xcode8.3
structuremap
dropbear
packer
hashicorp-vault
xlsx
cross-platform
bar-chart
alfresco-share
atlassian-plugin-sdk
avplayeritem
onsen-ui
tarantool
piwik
iis-10
samsung-mobile
net-snmp
pari
picturebox
receipt
superpowered
openshift-enterprise
color-scheme
dojox.mobile
paho
jdbi
lumen-5.3
number-theory
gist
instruction-set
bettercms
autoresize
iron.io
cjson
iostat
alter
wcf-ria-services
slam-algorithm
visible
gameanalytics
listadapter
clob
selecteditem
inet
bluesnap
galaxy
void
intellitest
vips
futuretask
webhdfs
prezto
harp
ytplayerview
uos
mdm-zinc
sqoop2
named-ranges
collabnet
mov
system.web
joox
reserved-words
visual-studio-addins
sqljdbc
windows-mobile-6
installshield-2011
sql-server-2012-web
cgimageref
adomd.net
reporting-tools
objcmongodb
vt100
sequelpro
linkedhashset
xmlslurper
expression-evaluation
file-exists
fileutils
serp
qtembedded
hibernate3-maven-plugin
hardware-acceleration
winverifytrust
code-design
graph-layout
outlook-form
usergroups

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