Book a Demo

Author Topic: Changing the default scope  (Read 3801 times)

Ralf

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Changing the default scope
« on: April 28, 2014, 12:42:57 am »
Is there a way to change the default scope for attributes and methods?

I try to use EA for Groovy/Grails where the default scope is none/public, but every time I create a new attribute, the scope is set to "private" - that's annoying...

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Changing the default scope
« Reply #1 on: April 28, 2014, 06:04:52 am »
I don't know of a default way. Maybe a Template Package could help. Else you'd need to write an add-in checking eh OnPostNewElement.

q.
« Last Edit: April 28, 2014, 06:05:11 am by qwerty »