Announcement Announcement Module
No announcement yet.
Ignoring methods with GWT RequestFactory code generation Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ignoring methods with GWT RequestFactory code generation

    Hi all,

    I like the updates to GWT in Roo 1.2.0 that allow you to be more selective about what client-side GWT code is generated but I now have a problem when upgrading from an old Roo project:

    I have some methods in my serverside entity that I don't want to show up in the GWT request object. Is there any way to tell Roo to ignore these methods - perhaps with an annotation or something?


  • #2
    Hey David, there sure is. I am in the middle of writing up better documentation on this but you can use the "exclude" attribute on the RooGwtRequest annotation. Let me know if that works as expected.


    • #3
      Ah thank you! It works great. I didn't think to look in the request as it's Roo-owned