Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0.0
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2.0 Glimmer w/ Sparkle components
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration
Description
In order to provide the desired "partialSubmit" behavior for ICEfaces 2.0, we need a way to have the message and messages components persist messages from previously executed components into future render phases, even when that component is not executed.
For example, say you have a form with 3 inputText components in it, each with an associated message component. Each inputText component has "partialSubmit=true, required=true" specified:
1. Tab into inputText #1, then tab out without entering anything -> message comp. for that comp. displays "Required" error message.
2. Tab out of inputText #2 without entering anything -> message comps. for both inputText #1 and #2 should both now display the "required" error messages (std. JSF behavior will clear the message for inputText #1 as it wasn't executed when inputText#2 was via partialSubmit).
Note that partialSubmit in this case is equivalent to "execute=this, render=all".
For example, say you have a form with 3 inputText components in it, each with an associated message component. Each inputText component has "partialSubmit=true, required=true" specified:
1. Tab into inputText #1, then tab out without entering anything -> message comp. for that comp. displays "Required" error message.
2. Tab out of inputText #2 without entering anything -> message comps. for both inputText #1 and #2 should both now display the "required" error messages (std. JSF behavior will clear the message for inputText #1 as it wasn't executed when inputText#2 was via partialSubmit).
Note that partialSubmit in this case is equivalent to "execute=this, render=all".
Issue Links
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22841 | Mon Oct 25 12:55:35 MDT 2010 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/FacesMessagesPhaseListener.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22393 | Tue Sep 21 18:12:15 MDT 2010 | mark.collette | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/samples/test/messages/Instructions.rtf
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22379 | Mon Sep 20 12:49:30 MDT 2010 | mark.collette | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/samples/test/messages/src/main/java/org/icefaces/demo/messages/FacesMessagesBean.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22377 | Fri Sep 17 18:51:57 MDT 2010 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/FacesMessagesPhaseListener.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22342 | Tue Sep 14 13:46:57 MDT 2010 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/event/FacesMessagesPhaseListener.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22322 | Mon Sep 13 08:24:45 MDT 2010 | mark.collette | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/event/FacesMessagesPhaseListener.java
MODIFY /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml |