Results 1 to 2 of 2

Thread: Editing roo fields

  1. #1
    Join Date
    Dec 2011
    Location
    Paris, France
    Posts
    58

    Default Editing roo fields

    Hello,

    I have looked in the documentation but could not find any information on field modification on the Roo Command Line.

    Can fields be edited once they have been created?

    Thanks.

    philroc

  2. #2
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    162

    Default

    There is no command to modify a entity field.
    You have two solutions:

    * You can modify the property directly in Java class (change name or type).
    Roo will update all related code.
    * You can delete the property directly in Java class.
    Roo will remove all related code.
    Execute the new field command.

    Regards !
    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •