Decorators for use with the webstart application.
Bases: omeroweb.webclient.decorators.login_required
webstart specific extension of the OMERO.web login_required() decorator.
Bases: omeroweb.webclient.decorators.render_response
Subclass for adding additional data to the ‘context’ dict passed to templates
This allows templates to access the current eventContext and user from the L{omero.gateway.BlitzGateway}. E.g. <h1>{{ ome.user.getFullName }}</h1> If these are not required by the template, then they will not need to be loaded by the Blitz Gateway. The results are cached by Blitz Gateway, so repeated calls have no additional cost. We also process some values from settings and add these to the context.