Hi Martin,
Sorry, I wasn't very clear about what I need...
I already have the run as items in the menu and it does work. I want to
inform the user that he's in 'run as' mode and show the 'running as'
username. So I want to show this in the secondaryMenu after the username
like for example:
/erikdehair (as dummyusername)/
instead of just
/erikdehair/
Thanks,
Erik
<mailto:serviced...@pocos.nl>
On 12/24/2014 02:37 PM, Martin Grigorov wrote:
Hi,
I am not sure I understand your question correctly but you can add "Run as"
to the menu on the most right by using @DomainServiceLayout(menuBar =
MenuBar.TERTIARY). The domain service action should be named "runAs" and
additionally you may add "choicesRunAs()" method to select the user for
this action.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Dec 24, 2014 at 3:30 PM, Erik de Hair <e.deh...@pocos.nl> wrote:
Hi,
Is it possible to extend PageAbstract without building Isis from scratch
myself? I added Run As functions to my app and I want to show both the
username of the real user and the 'run as' user.
Thanks,
Erik
<mailto:serviced...@pocos.nl>