To implement field customization we need to make our field(s) inherit from Field
For this example will use the Customer entity. We will add a password field OrderProcessing.Customer has FLD AppPassword.
After adding the field, define what type of field this is. In this example it will be a short description, length of 10, and implementation name AppPassword.
Generate Changes.
For the example Model we have an OrderProcessingbuildObjects list object. This list contains all the template generation functions for all the entities of the application.
After generating OrderProcessingbuildObjects list we need to generate the ApplicationServerObject list:
Now go to eclipse.
To import all the generated functions right click and refresh the java project:
Then run the Application Generator:
Once the application is running do the following:
Now right click and refresh the web project:
Run tomcat server:
Now we are going to use the Hsync/Ability field.
Define the following inheritance that will define our new field with the properties of a field type password where the text will be masked with *:
AppPassword is a FLD Ability.Password.
Generate Changes.
For the test model generate the OrderProcessingbuildObjects list object which contains all the template generation functions for all the entities of the application:
After generating OrderProcessingbuildObjects list we need to generate the ApplicationServerObject list:
Now go to eclipse.
To import all the generated function right click and refresh the java project:
Then run the Application Generator:
When the application is running do the following:
Now right click and refresh the web project.
Run tomcat server: