public interface NullFieldStrategy
Field
components such as TextField
,
to handle the case where either the server-side value to be sent (as a string) to the client, or the client-side
string passed back up to the server, is null or blank.NullFieldStrategySource
Modifier and Type | Method and Description |
---|---|
String |
replaceFromClient()
Provides a replacement value for a null or blank string passed from the client to the server as part of a form
submission.
|
Object |
replaceToClient()
Provides a replacement value for null, when converting the server-side object to a client-side string.
|
Object replaceToClient()
Translator.toClient(Object)
.String replaceFromClient()
Translator.parseClient(Field, String, String)
as if
it were the value supplied by the user.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.