Onto it On Wed, Jan 11, 2017 at 7:07 PM, Dan Haywood <[email protected]> wrote:
> Thx. > Pull requests always gladly received! > > On Wed, 11 Jan 2017, 08:05 Stephen Cameron, <[email protected]> > wrote: > > > 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 <[email protected]> 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 > > >> > > >> > > > > > >
