Thank you for being a valued client of CM First Group. If you have any technical issues or concerns, please open a ticket on support.cmfirstgroup.com, email CM First technical support at support@cmfirstgroup.com or call us on our 24/7 customer hotline at +1 (512) 623-7586.

Follow

Edit Grid

Edit Grid can be found in the current version of HSync templates.

To implement add the triple:

MyEntity ENT is a ENT Ability.EditList

By default all fields are editable. To prevent a field from being edited, add it to the local variable 'NonEditable' in TemplateGeneration.EvaluateDataAttribute.

Plex

For this example we will use a test entity, Vendeur Tablette, that inherits from edit grid:

Gestion Tablette Offline.Vendeur Tablette is a ENT Ability.EditList.

Generate Changes.

On the model set up an offline tablette build list that contains all the template generation functions for all the entities of the application.

After generating the offline tablette build list generate the Gestion Tablette Offline Server:

back to top

Eclipse

Now go to Eclipse.

To import all the generated functions right click and refresh the java project.

Then run the Application Generator.

When the application is running do the following:

  1. Click on the Application Settings tab 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.

back to top

Test Changes

back to top

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk