Announcement Announcement Module
Collapse
No announcement yet.
Roo add fields again in JSPX Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo add fields again in JSPX

    Hi,

    I am new with Spring ROO, the results until now have been very good, but when I delete some fields in create.jspx but when I open the ROO console this files were updated

    How can I to avoid this action?

    Thanks

  • #2
    It is better to user render=false for the fields. When ROO sees that there are some fields whhich need generation (ie not present in jspx it will put them there, just like it should)

    Having render = false tells ROO that the filed does not need to be generated.

    I am not sure if there is a performance hit for the c;ifs in render=false (ie you still have to go to a fields if statement in the jspx)

    If you want to totally get your code out of ROO's control, Push-in refactor the code with STS and kick out all the ROO you want out :P

    Comment

    Working...
    X