Announcement Announcement Module
Collapse
No announcement yet.
How to generate the creation form of an entity depending on the order of the fields Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to generate the creation form of an entity depending on the order of the fields

    Hello,

    I do not quite understand how the forms for the creation of an entity are generated (controller all --package ~.web).

    Basically, I would like to generate the creation form of an entity according to the order of the fields within the entity.

    If I have something like:

    Code:
    ...
    entity --class ~.domain.Entity
    field string --fieldName one
    field number --fieldName two--type double
    field number --fieldName three--type double
    ...
    controller all --package ~.web
    I would like to actually have a web page where I have 3 textboxes, respectively for boxes "one", "two", "three".

    So far I have a big .roo file where I have many entities and the generation of the textboxes seem to be random - or I do not get how it works.

    Any idea would be greatly appreciated!

    Cheers
Working...
X