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

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
<ice:outputMedia> and <ui:repeat>
HOW TO HIDE/IGNORE ?RVN in Icefaces
Two ICEfaces panel positioned interacting
java.lang.ClassNotFoundException: com.icesoft.faces.util.event.servlet.ContextEventRepeater
how to push component state changes to multiple different pages using icefaces
How can Websphere PUMA SPI (PumaLocator) be used with an ICEfaces Portlet?
IceFaces and FileResource - delete after session expires
icefaces 2 beta 1: binding selectmanycheckbox to map raises conversion error
icefaces modal popup timeout issue

Categories

HOME
makefile
jsf
sass
drupal-7
ubuntu-16.04
cocos2d-x-3.0
csvhelper
heap-memory
sbt-assembly
snap.svg
filter
contact-form-7
constructor
jboss-eap-7
cortex-a
uiview
squarespace
typeahead
eclipse-luna
mule-studio
cairo
atlassian-plugin-sdk
ms-access-2007
movies
scalaz7
fop
cocoa-touch
philips-hue
sumo
codelite
widevine
reactiveui
blackboard
hibernate-cache
protobuf-net
read-write
hotmail
geopy
nunit-3.0
mms
forecasting
axis-labels
delphi-10.1-berlin
alchemy.js
tic-tac-toe
wsadmin
intellij-idea-2016
knockout-3.0
amd
z3py
filepath
double-buffering
floor
scd
addin-express
adler32
garrys-mod
svn-merge
build-process
verbose
push-diffusion
chessboard.js
audioqueue
insertion-sort
drf-nested-routers
file-diffs
optionbutton
zuora
mogrify
multipleselection
line-numbers
suffix-array
neoload
slick-2.0
dvcs
healthvault
osx-snow-leopard
sttwitter
reporting-tools
device-emulation
angularjs-timeout
xmlslurper
gdt
concurrent-programming
cross-domain-policy
nsindexpath
coff
goliath
dcpu-16
noir
for-xml-path
post-redirect-get
libavformat
clause
svn-hooks
winverifytrust
visual-c++-2008-express
windows-controls
visual-studio-2010-beta-2
winsnmp

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