Thanks Eric The documentation is incorrect at: http://isis.apache.org/guides/rgcms.html#_rgcms_methods_reserved_disable
On Wed, Jan 11, 2017 at 6:39 PM, Erik de Hair <e.deh...@pocos.nl> wrote: > > On 01/11/2017 08:00 AM, Stephen Cameron wrote: > >> Hi, >> >> I'm trying to make an object view-only for some of its lifecycle, but the >> global disable() action method indicated in the documentation is not being >> recognised as a special one, ie: >> > Hi Stephen, > > The method name should be 'disabled'. > > Erik > > >> public String disable(Identifier.Type identifierType) { >> return (!getStatus().equals(Status.ACTIVE)) >> ? "Only ACTIVE Participants can be edited" >> : null; >> } >> >> I get a 'Disable' action button appearing on the page. Am I missing some >> detail? >> >> Thanks >> >> >