The standard UIViewParameter implementation uses in JSF
2.0-2.2 an internal "is required" check when the submitted value is null,
hereby completely bypassing the standard UIInput validation, including
any bean validation annotations and even the PreValidateEvent and PostValidateEvent
events. This is not desired. The workaround was added in OmniFaces 2.0. In JSF
2.3, this has been fixed and has only effect when javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL
context parameter is set to true.
|
|
Search on blog
Petition by Java EE Guardians
joi, 27 august 2015
JSF 2.3 - The f:viewParam BV/event fail has been fixed in JSF 2.3
Abonați-vă la:
Postare comentarii
(
Atom
)
|
[JSF Page Author Beginner's Guide] |
Postări populare
-
If you like this article, I think you are going to like JSF 2.3 Tutorial as well.
-
Starting with JSF 2.3 the JSF "native" managed bean annotations are officially deprecated. So, there is no doubt now that CDI is ...
-
[OmniFaces utilities] The getRequestURL() method returns the HTTP request URL with query string, regardless of any forward. This is the f...
-
Let's checkout a common practice for declaring constants in Java using the public static final declaration: public class Circle { ...
-
[OmniFaces utilities] The getActionExpressionsAndListeners() method returns a list of all action expressions and listeners associated wit...
-
[OmniFaces utilities] The getCurrentActionSource() method returns the source of the currently invoked action, or null if there is none, ...
-
Before you read this post please read: Use a CDI alternative as a mock implementation for a stateless session bean So, since you are fa...
-
Starting with JSF 2.3, more exactly with m07 , we can take advantage of using the auto detection of convertors based on 1st UISelectMany it...
-
[OmniFaces utilities] The isSerializable() method returns true if the given object is serializable. Method: Usage: Example 1 - te...
-
[OmniFaces utilities] The reverseArray() function returns a copy of the array with items in reversed order. Function: Usage: Let...
OmniFaces/JSF Fans
-
▼
2015
(
516
)
- ► septembrie ( 38 )
-
▼
august
(
9
)
- [JSF Page Author Beginner's Guide] JSF <selectMany...
- TieFaces and Bring Excel to Web
- JSF 2.3 - The f:viewParam BV/event fail has been f...
- JSF and Decorator pattern - part II (CDI @Decorato...
- JSF and Decorator pattern - part I (real cases via...
- [OmniFaces utilities 2.2] Check faces messages exi...
- JSF Magazine Cover
- JSF and Factory pattern (CDI aspects) - part II
- JSF and Factory pattern - part I
JSF/OmniFaces Resources |
Niciun comentariu :
Trimiteți un comentariu