Home
>
Guides
>
Core Developers Guide
>
Annotations
>
CreateIfNull Annotation
Apache Struts 2 Documentation
CreateIfNull Annotation
Edit Page
Browse Space
Add Page
Add News
Sets the CreateIfNull for type conversion.
Usage
The CreateIfNull annotation must be applied at field or method level.
Parameters
Parameter
Required
Default
Description
value
no
false
The CreateIfNull property value.
Examples