CUBA Platform. Developer’s Manual
Version 6.2
A newer version is available at the
documentation home
.
Copyright (c) 2016
Haulmont
Home
Preface
Introduction
Installation and Setup
Quick Start
The Framework
Application Development
Recommended Code Style
Project File Structure
Build Scripts
Creating a Project
Logging
Debugging
Testing
Development Recipes
DataManager vs. EntityManager
Getting Localized Messages
Assigning Initial Values
Entity Fields Initialization
Initialization Using CreateAction
Using initNewItem Method
Editing Composite Entities
Running Code at Application Start
Loading and Displaying Images
Sending Emails
Creating Custom Visual Components
Application Deployment
Working with Databases
Security Subsystem
Appendix A: Configuration Files
Appendix B: Application Properties
Appendix C: System Properties
Glossary
5.8.3. Assigning Initial Values
There are different ways to assign initial values to the attributes of new entity instances.
Next:
5.8.3.1. Entity Fields Initialization