Results 1 to 2 of 2

Thread: How to rearrange fields in spring roo

  1. #1
    Join Date
    Jan 2012
    Posts
    5

    Default How to rearrange fields in spring roo

    I'm newbie in spring roo

    I want to rearrange fields get a field ids to first. I swap positions between userName field and ids field and try to run webUI but webUI still as before(the first is Username field). Have any idea?

    Code:
      public class Users {
      
          @NotNull
          @Size(min = 5)
          private String userName;
      
          @NotNull
          private String ids;
      
          @NotNull
          private String positions;
      
          private Float salary;
      }
    Last edited by bluecolon; Mar 5th, 2012 at 01:06 PM.

  2. #2
    Join Date
    Feb 2012
    Posts
    5

    Default

    You can rearrange fields in your views. (src/main/webapp/WEB-INF/views)

Tags for this Thread

Posting Permissions

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