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

Alternative for SingleCopyStateManagerImpl in icefaces 3.3
Iceface 1.8 not working properly in IE11
Dynamic styling with IceFaces: how can I change the color of the outputText at the time of rendering?
icefaces outputConnectionStatus in javascript
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?

Categories

HOME
symfony
numpy
reverse-engineering
google-contacts
laravel-5.3
vs-team-services
qpython3
avro
deep-linking
webdav
xtext
iis-7.5
schemacrawler
websphere-liberty
vsftpd
constructor
criteria
gatsby
nuxt.js
cross-platform
grub2
jpeg2000
countif
tarantool
extractor
delete-file
bcrypt
auditing
tampermonkey
sumo
metis
cgal
xor
protobuf-net
helix-3d-toolkit
backup-strategies
hotmail
node-horseman
mapguide
phpspreadsheet
shibboleth
zero
dql
polyfills
intellilock
tripwire
filepath
amazon-clouddrive
nstouchbar
rhel6
mbaas
instruction-set
gmt
emgu
debugdiag
zurb-foundation-apps
django-filer
instruments
unsatisfiedlinkerror
codesign
dac
galaxy
insertion-sort
direct3d12
geodjango
enyo
fabric-twitter
pyrocms
uptodate
custom-url
jython-2.7
hana-xs
cpan
and-operator
sthttprequest
facebook-wall
humanizer
indexing-service
arangodb-php
opendata
angulartics
document-database
loop-invariant
jqmobi
vmware-server
process-monitor
domain-calculus
pys60
redirectstandardoutput
jquery-selectbox
ubuntu-11.04
gethashcode
zend-form-element
chdatastructures
linfu
webrat
callgrind
lazy-c++
opcodes
inline-if
economics

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