Announcement Announcement Module
Collapse
No announcement yet.
How can readonly @Id field be added to generated views? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can readonly @Id field be added to generated views?

    When Roo generates the mvc app it doesn't have an option (that I can see) for including the primary key id in the Entity lists or details. I'm not sure if there is a way to have this generated - but if there is not, do I just need to edit the JSPx's to include that value? Do I need to add the z value if I do - even if this field is strictly read-only?

    NOTE: I am using STS 3.2.0.RELEASE with Spring Roo 1.2.4
Working...
X