Re: Module setting addon customization

2014-11-19 Thread Dan Haywood
Not yet, I'm afraid. One reason we factored out the modules into isisaddons is to make it easier for contributors to add without necessarily having to understand the rest of the framework. In other words: pull requests accepted! That said, although I know how the settings could store a

Audit addon web interface

2014-11-19 Thread Nobby Knox
Hi all, I'm trying to implement the audit addon to my project and have followed the How to Configure/Use section on the addon page [1]. So far I was able to get the addon to record all changes to the IsisAuditEntry table, but the web interface part is missing. The documentation seems quite

suppress contributed action in one of the related entities only

2014-11-19 Thread Erik de Hair
Hi, In a service I have an action with a few parameters. I don't want this action to show up in the entity page for only of these parameters. I tried to add to action to the json-layout file and hide it there with no effect. Is it possible to suppress a contributed action in only one of the

Isis Security Addon Custom ApplicationUser

2014-11-19 Thread Martin Balmaceda
Hola I see there are two options to working with the security addon: 1. Out of the box = add maven dependency and change shiro.ini 2. Base your project on the security addon example application I would like to know if there is a way to use my own ApplicationUser domain object to extend the

Re: suppress contributed action in one of the related entities only

2014-11-19 Thread Martin Grigorov
Hi, I think you need to add method hideXyz() as explained at http://isis.apache.org/how-tos/how-to-02-030-How-to-hide-an-action.html and http://isis.apache.org/more-advanced-topics/how-to-08-010-Hiding,-disabling-or-validating-for-specific-users-or-roles.html Martin Grigorov Wicket Training and

Re: suppress contributed action in one of the related entities only

2014-11-19 Thread Erik de Hair
Hi Martin, I think you need to add method hideXyz() as explained at http://isis.apache.org/how-tos/how-to-02-030-How-to-hide-an-action.html By adding a hide to the repository I can only hide it everywhere or nowhere but I can't choose to pop up at certain entities only. At least, I don't

Re: suppress contributed action in one of the related entities only

2014-11-19 Thread Martin Grigorov
Hi, On Wed, Nov 19, 2014 at 4:20 PM, Erik de Hair e...@pocos.nl wrote: Hi Martin, I think you need to add method hideXyz() as explained at http://isis.apache.org/how-tos/how-to-02-030-How-to-hide-an-action.html By adding a hide to the repository I can only hide it everywhere or nowhere

Re: suppress contributed action in one of the related entities only

2014-11-19 Thread Jeroen van der Wal
Hi Erik, You have to repeat the same parameters on the hideXxx method as the method that you're trying to hide. HTH On Wed, Nov 19, 2014 at 4:09 PM, Erik de Hair e...@pocos.nl wrote: Hi, The method in my entity class is as follows: public boolean hideAddPhoneNumbers(PortalCompany

Re: suppress contributed action in one of the related entities only

2014-11-19 Thread Martin Grigorov
On Nov 19, 2014 5:12 PM, Erik de Hair e...@pocos.nl wrote: Hi, The method in my entity class is as follows: The signature looks fine. I think the problem is that both methods are in different classes. Try by moving the hide method in the service. public boolean

Re: suppress contributed action in one of the related entities only

2014-11-19 Thread Jeroen van der Wal
As to your question if you prevent something being contributed on only one of the parameter classes: In the metamodel there's no way to specify that but you could try to hide the contribution in the layout.json file. something like actions:{ yourAction: { hidden:{} } } or actions:{

Re: Isis Security Addon Custom ApplicationUser

2014-11-19 Thread Jeroen van der Wal
Hi Martin, I would advice against option 2 because you lose an easy update path to newer versions of the security module. Tell us more about your use-case so we can see what the options are. Cheers, Jeroen On Wed, Nov 19, 2014 at 2:24 PM, Martin Balmaceda martin.balmac...@gmail.com wrote:

Could you please unsubscribe me?

2014-11-19 Thread Sumit Vairagar
Hi, ISIS is really great, however I am planning to develope applications in Android. Could you please unsubscribe me? ~Sumit

Re: Could you please unsubscribe me?

2014-11-19 Thread Dan Haywood
Hi Sumit, Just follow the instructions on [1] Cheers Dan [1] http://isis.apache.org/support.html On 20 November 2014 06:06, Sumit Vairagar sumitvaira...@gmail.com wrote: Hi, ISIS is really great, however I am planning to develope applications in Android. Could you please unsubscribe me?

Re: Isis Security Addon Custom ApplicationUser

2014-11-19 Thread Martin Balmaceda
Thanks I agree, option 1 is much better. As for my user case: I have a system that hosts a number or organizations orthogonally. What I need to do is associate each user to exactly 1 org so that he/she can only see and modify information belonging to that org. After looking at the problem, I

Re: Could you please unsubscribe me?

2014-11-19 Thread Sumit Vairagar
Thanks Dan! Good luck with the framework! On Thu, Nov 20, 2014 at 12:37 PM, Dan Haywood d...@haywood-associates.co.uk wrote: Hi Sumit, Just follow the instructions on [1] Cheers Dan [1] http://isis.apache.org/support.html On 20 November 2014 06:06, Sumit Vairagar