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.
|
![]() ![]() ![]() ![]() |

Abonați-vă la:
Postare comentarii
(
Atom
)
|
[JSF Page Author Beginner's Guide] |

Postări populare
-
[OmniFaces utilities] The addGlobalInfo() method adds a global INFO faces message, with the given message body which is formatted with th...
-
<o:socket> for web socket based push which can be accessed via CDI @Push - OmniFaces and WebSockets Quickstart ...
-
This post was updated here: J SF 2.3 Multiple File Upload with HTML 5, AJAX and upload progress bar via web sockets In this post, we tr...
-
Read also: JSF and Observer design pattern - part I (plain code) JSF and Observer design pattern - part II (Java EE) JSF and Observer...
-
Read also: JSF and Observer design pattern - part I (plain code) In this part, we will "transform" the example presented in J...
-
Read also: WebSocket integration by Arjan Tijms JSF 2.3 - Explicitly open/close a websocket channel JSF 2.3 - Conditionally open/clos...
-
<o:commandScript> got new autorun attribute, allowing for immediate execution during window load event - OmniFaces CommandScrip...
-
assigment operator (=), concatenation operator (+=), semicolon operator (;), lambda expressions Collections used in these examples: ...
-
This is a simple post about writing a stateless JSF application for holding a dummy shopping cart using Hazelcast. The application uses Pri...
-
Most commonly, when we need to log something via a Java logger, we write something like this: private static final Logger LOG = Logger....

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