Re: Compuond objects

2015-11-09 Thread Jeroen van der Wal
We frequently use a viewmodel to import and export data to excel. The viewmodel is the intermediate between excel and the domain objects. You can find multiple examples in Estatio's app/services package [1], start with exploring turnover rent upload [2]. Notice that it's not in the dom project eg.

Re: ajax issue with Isis on Google Compute Cloud

2015-11-09 Thread Stephen Cameron
No luck with finding the source of this problem, startup seems fine now and nothing strange in logs. Just the ajax requests fail, whereas requests that initiate page (number) changes are fine. I don't know the Resful spec at all so cannot test the failing actions that way for comparison. On Tue,

Re: ajax issue with Isis on Google Compute Cloud

2015-11-09 Thread Stephen Cameron
I'll try another hosting provider On Tue, Nov 10, 2015 at 2:12 PM, Stephen Cameron wrote: > No luck with finding the source of this problem, startup seems fine now > and nothing strange in logs. Just the ajax requests fail, whereas requests > that initiate page

RE: Compuond objects

2015-11-09 Thread Cesar Lugo
Hello Jerome. Thank you for providing this sample, it will be useful for some purposes. In this case, because I want the view model to be updatable, I don't want to move that logic to the database, but keep it in the Java methods. Is there by any chance any sample you might think of where there

Re: Restful objects list action result with domain object representation instead of links

2015-11-09 Thread Willie Loyd Tandingan
I've just seen the ISIS-1232 branch and the screencast from kitchensink! I'll try this one out tomorrow. Cheers, Willie On Thu, Nov 5, 2015 at 5:34 AM, Dan Haywood wrote: > Hi Willie, > > I admit I haven't thought about any of this too much over and above

RE: Compuond objects

2015-11-09 Thread Cesar Lugo
Dan, this statement you made cached my attention, as it might help reduce foreign keys and make the application more maintainable: "I prefer to use a join table for unidirectional, but FK for bidirectional; that way the database tables model the domain classes quite nicely (in particular, with

Re: ajax issue with Isis on Google Compute Cloud

2015-11-09 Thread Martin Grigorov
Hi, Initially I thought that the load balancers in front of Tomcat are not configured with sticky sessions support. This is something normal for services like Google AppEngine, Heroku, and it seems Google Compute Cloud (I'm not sure whether GCC is a completely new service or just the new name of

Re: ajax issue with Isis on Google Compute Cloud

2015-11-09 Thread Stephen Cameron
Sorry, here is an error in catalina.out 23:03:39,587 [IsisLogOnExceptionFilter ajp-apr-8009-exec-17 ERROR] Request caused org.apache.catalina.connector.ClientAbortException:

Re: Compuond objects

2015-11-09 Thread Dan Haywood
On 9 November 2015 at 19:11, Cesar Lugo wrote: > Dan, this statement you made cached my attention, s/cached/caught > as it might help reduce foreign keys and make the application more > maintainable: > It doesn't reduce them, but it does move them out of the

ajax issue with Isis on Google Compute Cloud

2015-11-09 Thread Stephen Cameron
Hi all, I just installed my Isis app on Google Compute Cloud as a test system but have a problem with it in that many menu options are not working. Specifically those are actions that would require parameters and hence a pop-up window. So I am thinking these involve AJAX calls from Wicket to the