Announcement Announcement Module
Collapse
No announcement yet.
How to rearrange fields in spring roo Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 01:06 PM.

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

    Comment

    Working...
    X