Results 1 to 2 of 2

Thread: Roo add fields again in JSPX

  1. #1
    Join Date
    Mar 2011
    Posts
    3

    Default 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. #2
    Join Date
    Dec 2007
    Location
    Stockholm, Sweden
    Posts
    190

    Wink

    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
    Shahzada Hatim
    @geoaxis/twitter
    http://hatimonline.com

Posting Permissions

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