Yes I came to same conclusions, thanks On Sat, Dec 23, 2017 at 8:11 PM, Dan Haywood <[email protected]> wrote:
> Hi Steve, > > You are right, I don't think anything is exposed, but it should be easy > enough to implement. > > The BookmarkService probably isn't the right place for this functionality > though; that service is generic whereas functionality for clearing out the > Wicket bookmarks obviously is specific only to the Wicket viewer. I > imagine that the breadcrumbs also need clearing. > > I've raised a ticket [1] for this, should be able to put it into 1.16.0 I > think. > > Cheers, and Happy Christmas too! > > Dan > > > [1] https://issues.apache.org/jira/browse/ISIS-1801 > > On Fri, 22 Dec 2017 at 21:15 Stephen Cameron <[email protected]> > wrote: > > > Hi, > > > > I am wondering if there is a way to clear all bookmarks from inside an > > action? The BookmarkService doesn't provide for it. > > > > I'm experimenting with a contextual approach, where a basic user has > > limited menu options that all relate to a current organisation, and I > allow > > them to switch organisations (contexts, from a list of Organisations they > > have been given access to). > > > > I think this can work if in the process of switching organisations all > > current bookmarks are cleared from the 'Switch Organisation' menu option. > > > > Happy Christmas > > Steve > > >
