Field Customization

Field Customization


To implement field customization we need to make our field(s) inherit from Field

Plex

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:


Eclipse

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:

  1. Click on Application Settings and then click on apply:

  2. Click on Application Template, select Gen Folder and Generate Application. Wait for the message that all was generated:

Now right click and refresh the web project:


Run tomcat server:


Test Changes


Plex Again

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:


Eclipse Again

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:

  1. Click on Application Settings and then click on apply.

  2. Click on Application Template, select Gen Folder and Generate Application. Wait for the message that all was successfully generated.

Now right click and refresh the web project.


Run tomcat server:


Test Changes Again