icefaces


Cancel button Icefaces with immediate=true


I have a form with save and cancel buttons, cancel button has immediate=true but it doesn't clear the submitted values in the form. I google it and I found this page http://jira.icefaces.org/browse/ICE-1343;jsessionid=2996E8791051E9D6775348E6CE1BC118, it says that the solution is to put an action listener in the cancel button that calls a function that clear the submitted values, it works partially because when I have other tags like panels it doesn't clear them.
Any solution? thanks
Check out the solution presented here : http://www.icefaces.org/JForum/posts/list/13807.page
I personally haven't found a good solution beside the two most obvious ones : manually traverse the UI components and nullify them
We used partialSubmit="true" without setting the immediate attribute to true. This works in Icefaces 1.8.2, but there is one drawback. If the validation failed once, it will be executed always.
With Icefaces 2.x, the suggested way is to use singleSubmit="true", but I haven't tried it.
I use immediate="true" and partialSubmit="true" on cancel and something like this for actionListener
public void cancelPopup(ActionEvent event) {
FacesContext.getCurrentInstance().renderResponse();
}

Related Links

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?
How do I disable a column using icefaces?
icefaces menu bar handling
ui:repeatn tag inside ui:repeat..not working

Categories

HOME
sas
crystal-reports
batch-processing
google-cloud-bigtable
crate
tinyos
raspbian
fparsec
thunderbird-addon
extract
angular2-directives
ruby-on-rails-3
internet-explorer-11
unity2d
pjsip
gwtp
x-frame-options
cratedb
rebol2
jquery-terminal
bar-chart
android-fragmentactivity
jni
esql
spring-data-neo4j
web-frontend
reply
gzip
pygooglechart
apache-cloudstack
outsystems
hawtio
web-audio-api
service-locator
shibboleth
bing-maps-api
vsts-package-management
declare
duktape
jdbi
cppunit
php-ews
encapsulation
dojox.grid.datagrid
vcf
spring-data-hadoop
dwarf
decompress
windows-95
tcserver
pagefile
polar-coordinates
pdfkit
createobject
nsfetchedresultscontrolle
coremidi
ebtables
typhoon
cron-task
tomcat5
linkageerror
metalsmith
gherkin
date-format
gradle-release-plugin
freefem++
supportmapfragment
post-processing
twgl.js
group-concat
asp.net-mvc-2
approval-tests
wikitext
evo
stream-framework
viper-architecture
google-hadoop
guzzle6
named-ranges
bsp
indexing-service
joox
initialization-vector
bignum
robospice
html-form-post
google-closure-library
android-contextmenu
css-tables
radchart
plone-funnelweb
macruby
objective-c-protocol
throttling
noir
search-path
hadoop-plugins
microsoft.ink
data-entry
rd

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