Re: Invoking an Action Programmatically

2016-06-15 Thread Stephen Cameron
At the code level its just OO programming, so whatever your action 'method' returns is what Isis will display to the user, as long as it knows of that class in its metamodel (from which it builds the view) so the Doenca class needs to be annotated with @DomainObject. then: @DomainService(nature

Re: Invoking an Action Programmatically

2016-06-15 Thread Fabio Purcino
Hi Jeroen, Thanks for your reply. Following are some code snippets: First of all I have this Domain Service with an action buscarTransacao that shows an parameter screen. It works fine. My goal is call a method like this: manager.InvokeAction("Doenca","create") ; And the action be called

Re: Invoking an Action Programmatically

2016-06-15 Thread Jeroen van der Wal
Perhaps you can specify your question with some (pseudo) code? On 15 June 2016 at 16:41, Fabio Purcino wrote: > Hi all, > > Is it possible to invoke an action programmatically from another action? > > The called action has parameters and I'd like to show the same screen

Invoking an Action Programmatically

2016-06-15 Thread Fabio Purcino
Hi all, Is it possible to invoke an action programmatically from another action? The called action has parameters and I'd like to show the same screen as I click on the service menu. Thanks and best Regards, -- Fábio Purcino Aragão

Error saving Command after executing scheduled Quartz job

2016-06-15 Thread Erik de Hair
Hi, I have a lot of jobs scheduled with Quartz like described in the Apache Isis documentation [1] and they work perfectly. But now for a new job I get the following exception when it is finished: Caused by: javax.jdo.JDODataStoreException: Insert of object