Re: 1:N Relationships aren't persisted on DB DN4

2015-05-22 Thread Dan Haywood
15 a las 14:08, Nacho Cánovas Rejón escribió: > >> Hi have same issue changing the code like you said >> (host.setHostContainer(this);) and with >> isis.persistor.datanucleus.impl.datanucleus.persistenceByReachabilityAtCommit=false >> , so next step is your sample app. &

Re: 1:N Relationships aren't persisted on DB DN4

2015-05-22 Thread Dan Haywood
here has been some > change in this aspect, because it always notified this case before, there > is some configuration for this?. > > Right now isn't working, but I assume it will be some other exception that > doesn't shows. > > I'll keep you posted. > > &g

Re: Modifying SimpleApp

2015-05-25 Thread Dan Haywood
My guess is that it isn't a Maven error, but instead is an Isis one. The @DomainObject(objectType=..) annotation defines an alias for the Class that is used in the Restful Objects REST API (as well as elsewhere); Isis requires that it is unique across all entities. So just change the value of this

Re: Modifying SimpleApp

2015-05-26 Thread Dan Haywood
pp > dependant on the myapp-dom project in Eclipse itself, rather than thinking > Maven does everything when I change the dom. > > I'm trying to get someone interested in Isis with a demo, but I am a bit > out of practice with Java :( > > > On Mon, May 25, 2015 at 5:22 PM,

Re: 10:56:36,548 [Datastore main ERROR] An exception was thrown while adding/validating class(es) : user lacks privilege or object not found: Owner java.sql.SQLSyntaxErrorException: user lacks privile

2015-05-26 Thread Dan Haywood
Just a random guess, but it's possible that "owner" might be a reserved weird in the dbms you are using? Dan On 26 May 2015 10:00, wrote: > Hi, > > > > Can anybody tell me what this problem can be? I cannot solve it. My code > is on [1]. It is part of a tutorial I am working on. > > > > 10:56:3

Re: create new object with mandaory properties, best method

2015-06-05 Thread Dan Haywood
Hi Steve, The short answer is that Isis does not support this use case. The longer answer is that earlier versions of Isis - going back to when it was Naked Objects for Java - did support the use case. But supporting it adds a lot of complexity into the framework for very little benefit. Since

Re: Validate method not working

2015-06-05 Thread Dan Haywood
Hi Gabriel, as Vladimir says, that validatePrice(...) is only fired when the property itself is edited. And, as he also says, one solution is to add a validateXxx method for the action, eg: public String validate1NewCategory() { return price >= 0? null : "The price must not be negative!"; }

Re: Accessing to two (or more) relational databases at the same time

2015-06-05 Thread Dan Haywood
Hi Vladimir, sorry no-one ever got back to you on this... did you come up with a solution? otherwise, I have some thoughts... Cheers Dan On 21 May 2015 at 05:51, Vladimir Nišević wrote: > Hi guys, we have a situation where we need to access to two(or more) oracle > and one ms-sql database an

Re: create new object with mandaory properties, best method

2015-06-07 Thread Dan Haywood
On 6 June 2015 at 23:56, Stephen Cameron wrote: > Thanks for the detailed response Dan, I will study and come back with > thoughts. sure, please do. > What I am building will be open-sourced so I will try to document > the issues encountered and choices made. I look forward to seeing more

Re: Error when building todoapp

2015-06-07 Thread Dan Haywood
Yes, need a bit more info to help you debug this. Perhaps you could upload your app (since it's based on the todoapp) to a github repo with instructions how to reorientation the issue? Thx, Dan On 7 Jun 2015 20:09, "Martin Grigorov" wrote: > Hi, > > Please paste the stacktrace so we can see whe

Re: Error when building todoapp

2015-06-07 Thread Dan Haywood
at org.hsqldb.error.Error.error(Unknown Source) > at org.hsqldb.error.Error.error(Unknown Source) > at org.hsqldb.SchemaObjectSet.checkAdd(Unknown Source) > at org.hsqldb.SchemaManager.checkSchemaObjectNotExists(Unknown Source) > at org.hsqldb.StatementSchema.setOrCheckObjectName(Unknow

Re: Property validation

2015-06-07 Thread Dan Haywood
I'm steadily working through the site and converting to use asciidoc... so this typo should be fixed soon. thx On 6 June 2015 at 19:22, James Agada wrote: > In the howto. I've fixed this. > > Sent from my iPhone > > > On Jun 6, 2015, at 5:45 PM, Martin Grigorov > wrote: > > > > Right. > > It

Re: Accessing to two (or more) relational databases at the same time

2015-06-07 Thread Dan Haywood
tories and the domain service > methods use appropriate Dao's creating the PersistenceManager and managing > the transactions manually as needed. > I can gladly share my code if you wish to review it or give me some > feedback. > > BR,Vladimir > > > > Am 05.06.2015 um

Re: Modifying SimpleApp

2015-06-08 Thread Dan Haywood
t(...); newClient.setTheOther(...); container.persist(newClient); return addParticipant(newClient); } } If you associate both the actions with the Participants collection it'll probably provide a "good-enough" UI. HTH Dan > Thanks > Steve Cameron &g

Re: Order of (vetoing) permissions

2015-06-09 Thread Dan Haywood
On 9 June 2015 at 13:17, Erik de Hair wrote: > Hi, > > Does it matter in what order vetoing permissions are defined? Are you talking about the isisaddons module security? If so, it's discussed in [1] > So first vetoing permissions and then positive permissions, or the other > way around?

Re: chats demo application - work in progress

2015-06-10 Thread Dan Haywood
On 10 June 2015 at 11:51, Stephen Cameron wrote: > > > One question, response does seem a bit slow to me, given that all tiers are > on the same machine, and one user, is this normal? I guess maybe yes as > there is no page compiling/caching? > We have noticed that Isis has slowed down over the

Re: rounding issue bigdecimal import using excel add-on

2015-06-10 Thread Dan Haywood
In the import, are you hitting this line [2]? If so, then I imagine that that is your issue. Cheers Dan [2] https://github.com/estatio/estatio/blob/EST-501/estatioapp/dom/src/main/java/org/estatio/dom/budget/BudgetKeyItem.java#L116 On 10 June 2015 at 11:10, wrote: > Hi, > > > > I run into a

Re: Order of (vetoing) permissions

2015-06-10 Thread Dan Haywood
ok, well good. Must admit I'd more or less forgotten about this way of defining permissions. Dan On 10 June 2015 at 09:35, Erik de Hair wrote: > > On 06/09/2015 02:30 PM, Dan Haywood wrote: > >> On 9 June 2015 at 13:17, Erik de Hair wrote: >> >> Hi, >

Re: create new object with mandaory properties, best method

2015-06-10 Thread Dan Haywood
ht be needed. Thanks again for the conversation Cheers Dan > Cheers > Steve Cameron > > > > > > On Fri, Jun 5, 2015 at 11:00 PM, Dan Haywood > > wrote: > > > Hi Steve, > > > > The short answer is that Isis does not support this use case. >

Reworked website, with new user guide and reference guide

2015-06-15 Thread Dan Haywood
Hi folks, Over the last month or so I've been reworking the Isis website, to: - consolidate our "how-to" documentation into a comprehensive user guide [1] - provide a corresponding reference guide [2] - rework from Markdown to Asciidoctor I've pushed the updated site this morning. The home pag

Re: chats demo application - work in progress

2015-06-15 Thread Dan Haywood
Now we have the Isis UI in reasonable state, we do intend to spend some time on the internals of Isis... we could simplify many areas significantly. Performance will be one of those areas I'll be looking into. Thx Dan On 16 June 2015 at 07:46, Michael Lynch wrote: > Stephen Cameron writes: >

Re: Reworked website, with new user guide and reference guide

2015-06-16 Thread Dan Haywood
cessibility very > much. > > Additionally I would love to see the documentation in a downloadable (PDF) > format, perhaps we can set up a build pipeline for that? > > Cheers, > > Jeroen > > > On 16 June 2015 at 08:48, Dan Haywood > wrote: > > > Hi folks, > &

Re: how to translate group title of UI ?

2015-06-16 Thread Dan Haywood
I suspect tthat might be hardcoded, I'm afraid. As a workaround, try specifying a value for every member group, ie @MemberOrder(name="My group", sequence="...") or the equivalent .layout.json. If that doesn't work, please raise a ticket Thx Dan On 16 June 2015 at 11:09, Chuangyu wrote: > Hi,

Re: Headless access

2015-06-19 Thread Dan Haywood
2015-06-19 14:46 GMT+01:00 Rade, Joerg / Kuehne + Nagel / Ham GI-PS < joerg.r...@kuehne-nagel.com>: > Hi, > > I would like to execute domain logic from a Jenkins job. > > Are there any examples available for [1]? > The background module uses it (as shown in the docs, also in the isis addons comma

Re: Providing Data From A Custom Backend Other Than Database

2015-06-23 Thread Dan Haywood
On 23 June 2015 at 07:22, Reza Rasouli wrote: > Hi, > > Is it possible to provide data for apache isis from custom sources other > than Database? > > > for example a data provider class which calls various REST services in it's > implementation of CRUD functions, and make apache isis to use thes

Re: List Objects

2015-06-28 Thread Dan Haywood
If I understand you correctly, you can obtain a drop-down of available objects for a reference property (or action) use either autoComplete [1], or choices [2], or @DomainObject(bounded=true) [3] HTH Dan [1] http://isis.apache.org/guides/rg.html#_rg_methods_prefixes_manpage-autoComplete [2] http:

Re: Problems during web application startup after adding the org.isisaddons.module.security module

2015-06-29 Thread Dan Haywood
Hi Max, Looks like the root cause is: Caused by: java.lang.NullPointerException at org.isisaddons.module.security.seed.SeedSecurityModuleService.init( SeedSecurityModuleService.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(

PublishingService using ActiveMQ and Camel

2015-06-30 Thread Dan Haywood
Hi folks, Just to let you know, I've just completed a new implementation of PublishingService on isisaddons, using ActiveMQ and Camel. The implementation of the service is actually rather simple, but the example app on the other hand is quite full-featured, showing how to enrich a published actio

Re: List Objects

2015-07-01 Thread Dan Haywood
iLuciano/Test > Link Class with fullCalendar2: > > https://github.com/KomjatiLuciano/Test/tree/master/dom/src/main/java/dom/turnos > > > Thanks! > > > 2015-06-29 3:01 GMT-03:00 Dan Haywood : > > > If I understand you correctly, you can obtain a drop-down of available >

Re: Problems during web application startup after adding the org.isisaddons.module.security module

2015-07-01 Thread Dan Haywood
e to resolve this problems... It's works with the > > 1.9.0-SNAPSHOT framework version... I'll try to work with 1.8.1 framework > > version ... > > > > Regards, > > > > Max > > > > > > On Tue, Jun 30, 2015 at 3:14 AM, Dan H

Isis script - a DSL for DDD apps

2015-07-06 Thread Dan Haywood
Hi folks, A while back someone (I forget who) brought my attention to sculptor [1], a tool that uses an XText DSL to target "conventional" DDD apps. I raised a ticket [2] to see if the author (Torsten Juergeleit) would be interested in targetting Isis also. A few months on, and Torsten's come ba

Re: Running Isis on Jetty with PostgreSQL

2015-07-06 Thread Dan Haywood
Hi Sebastian, I did a commit this morning (now reverted) that caused this issue... so it might just have been bad luck/timing. What's meant to happen is that Isis installs a DataNuclues MetadataListener, and then uses this to create the DB schema object. This doesn't work if though if the classe

Re: Problems during web application startup after adding the org.isisaddons.module.security module

2015-07-07 Thread Dan Haywood
hx Dan [1] http://isis.apache.org/migration-notes.html#_migration-notes_1.8.0-to-1.9.0_war-packaging On 2 July 2015 at 01:03, Maximillian Arruda wrote: > Dan > > Sorry to bother you and thanks in advance again. > > Regards > Max > On Jul 1, 2015 9:32 AM, "Dan Haywood&qu

Neo4j and Apache Isis

2015-07-07 Thread Dan Haywood
Hi folks, in case you're interested in such things, we now have a functioning example of Apache Isis running against neo4j (using 1.9.0-SNAPSHOT). Take a look at the screenshots, if nothing else [1] Cheers Dan [1] https://github.com/isisaddons/isis-app-neoapp/

Re: tabs in Wicket Viewer?

2015-07-07 Thread Dan Haywood
A very early version of the Wicket viewer had tabs, to separate out the properties from the collections; but this predates all the member groups/layout stuff we have now. Even so, the architecture of the Wicket viewer would support this [1], and it is something that we intend to introduce, in some

Re: Re: Isis script - a DSL for DDD apps

2015-07-07 Thread Dan Haywood
gt; > Seems really easy to begin with and as powerful as full Java > implementation ... > > > > Just need to try if it. > > > > Also not clear to me if it has any predefined DDL for Repositories for > defined entities and/or services. > > > > Thanks!!! &g

Re: tabs in Wicket Viewer?

2015-07-07 Thread Dan Haywood
On 7 July 2015 at 11:24, Stephen Cameron wrote: > > > > > > > Interested in your thoughts... > > > > I like the OpenCRX use of tabs, one horizontal level only with a vertical > 'menu' on the left as a primary object navigation: > http://demo.opencrx.org > > Thanks for providing this. If I under

Calling any IntelliJ users

2015-07-08 Thread Dan Haywood
Hi folks, for those of you using IntelliJ, I just updated our website to reference the new and improved maven helper plugin that you can install [1].This now has a nice dependency tree view, as well as some other useful features. The dependency tree view was the one feature that I missed from

Re: AuthorizationException

2015-07-08 Thread Dan Haywood
I think the exception is because that SocialFactors class had no properties (there is no getter nor setter for the back reference, and so is triggering the same eccentric that we throw when a user attempts to view an object that _does_ have properties but because of security all are hidden from the

Re: Headless access

2015-07-08 Thread Dan Haywood
of the json response (reintroduces NewLines > removed by curl), extracts the node 'value', and unquotes NewLines and > Tabs. > > This isn't really headless but does what I need. > > Best regards > Jörg > -Ursprüngliche Nachricht- > Von: Dan H

Re: java.lang.IllegalArgumentException: out of field index :15

2015-07-08 Thread Dan Haywood
I'm not completely sure the issue is from using o.a.i.applib.value.Date (though in any case you probably should be using one of the Joda date classes instead). Rather, when I've seen this DN issue it's because it has attempted - through a race condition or for some other hard-to-replicate reason -

Re: java.lang.IllegalArgumentException: out of field index :15

2015-07-09 Thread Dan Haywood
am using Eclipse too! > > > > For interest I'll try a class with just one date field and see what > > happens. > > > > Then I'll try the Joda library instead. > > > > > > > > On Thu, Jul 9, 2015 at 2:51 PM, Dan Haywood < > d...@haywood-associat

Re: setting table column widths

2015-07-09 Thread Dan Haywood
There is no Java API, but you should be able to use some custom CSS; see [1] and [2] [1] http://isis.apache.org/guides/ug.html#_ug_wicket-viewer_customisation_tweaking-css-classes [2] http://isis.apache.org/guides/rg.html#_rg_runtime_application-specific_application-css On 9 July 2015 at 12:53,

Re: Session already open and context not configured for autoclose

2015-07-09 Thread Dan Haywood
this modification I had same message, but only one time, because > thread releases session and like I said, the inconsistency doesn't arrive > too often and problem is remaining in this threat when isn't closed. > > I don't know if this would help, but I'll tell y

Re: Calling any IntelliJ users

2015-07-13 Thread Dan Haywood
source code (refer to your documentation later > https://isis.apache.org/guides/cg.html#7.1.-recommended-workflow-(github) > > > > Regs,Vladimir > > 2015-07-08 9:56 GMT+02:00 Dan Haywood : > > > Hi folks, > > > > for those of you using IntelliJ, I just updated our w

Re: SimpleApp archetype and Java 8

2015-07-13 Thread Dan Haywood
I'm hoping to push 1.9.0 out as a release later this month. (Though saying this I'm acutely aware that I said the same in Apr, and May, and Jun... ) I'll double check that 1.9.0-SNAPSHOT version of the archetype works from the cmd line (but it should, as Martin says). Thx Dan On 13 July 2015

Re: Neo4j and Apache Isis

2015-07-14 Thread Dan Haywood
:7474/ > > I've started the app thru webapp -> Run maven -> jetty:run and Isis starts > fine. > > Run Fixture scripts works as well, I see sample Hosts entites created.. > > Do I have to start the neo4j server separately? > > Regs,Vladimir > > 2015-07-07

Re: missing type org.isisaddons.module.togglz.glue.seed.TogglzModuleAdminRole

2015-07-16 Thread Dan Haywood
Glad you sorted it out, Stephen. Now that Java 7 is EOL, all the isisaddons are being built with 1.8. Cheers Dan On 16 July 2015 at 14:28, Stephen Cameron wrote: > Changing to Java version 1.8 has fixed the problem, sorry to have > distracted you. > > On Thu, Jul 16, 2015 at 11:02 PM, Stephe

Re: isis-module-security - Configuration alternative way?

2015-07-17 Thread Dan Haywood
Hi Nacho, thanks for this write-up and feedback. I can understand why you went down the path you did, though I think you have gone about solving the issue the wrong way. Because of that, I think it would be worth changing the framework to make this area easier to work with. To explain, we shoul

Re: POSTing to an /objects/{domainType} resource

2015-07-17 Thread Dan Haywood
Hi Kambiz, as Jorg says, welcome to the list. Nice to hear that you are looking to Apache Isis and RO for your project. I took a look at the code, and it turns out it's not suprising you were having difficulties ... that bit of the code was actually broken. I've raised a ticket [1] and just pus

Re: POSTing to an /objects/{domainType} resource

2015-07-17 Thread Dan Haywood
On 17 July 2015 at 11:38, Martin Grigorov wrote: > Hi Dan, > > > > > [1] https://issues.apache.org/jira/browse/ISIS-1174 > > [2] http://localhost:4000/screencasts.html#_restful_objects_viewer > > > It took me a bit to get access to your machine (localhost). To save some > time to the others I'd s

Re: Apache Isis vs Grails

2015-07-17 Thread Dan Haywood
It's a good question, Steve, and - having not used Grails - one I'd be grateful for insight into myself; something to go in our docs [1] FWIW, my own view is that Apache Isis sits at a higher level of abstraction than Grails (or pretty much every other web framework out there). That brings with i

Re: isis-module-security - Configuration alternative way?

2015-07-18 Thread Dan Haywood
OK, so this has been implemented in ISIS-1173 [1] Cheers Dan [1] https://issues.apache.org/jira/browse/ISIS-1173 [2] http://isis.apache.org/guides/ug.html#_ug_testing_fixture-scripts_api-and-usage [3] http://isis.apache.org/guides/rg.html#_rg_services-api_manpage-FixtureScriptsDefault [4] http://

Re: Running tests in tck-viewer-restful-objects

2015-07-20 Thread Dan Haywood
Hi Kambiz, I'll try to take a look this evening if I get a chance and give some pointers. Thx Dan On 20 July 2015 at 09:21, Kambiz Darabi wrote: > Hi, > > I'm not sure whether it was a good idea to post the below message to the > dev mailing list. > > Sorry for cross-posting but maybe someon

Re: Accessing ISIS Domain Services via EJB

2015-07-24 Thread Dan Haywood
Hi David and Ashwin and welcome to the users@isis.a.o mailing list. Is the intention for the EJBs to be part of the same webapp as the Isis application itself? If so, then it should be easy enough to access the Isis runtime as a "headless" application, as per [1] In other words, you just need t

Re: Accessing ISIS Domain Services via EJB

2015-07-24 Thread Dan Haywood
These are good questions, David T., and I should have thought to ask them myself. David H. probably does mean accessing Isis "remotely" rather than my guess, accessing from a co-located EJB... On 24 July 2015 at 10:37, David Tildesley wrote: > Hi David, > When you say "via EJB" do you mean tha

Re: tabs in Wicket Viewer?

2015-07-24 Thread Dan Haywood
i/components/entity/properties/MyEntityPropertiesForm.java > line 144 > > Regards > Steve C > > > > > > On Tue, Jul 7, 2015 at 7:34 PM, Dan Haywood > wrote: > > > A very early version of the Wicket viewer had tabs, to separate out the > > properties

Re: Running tests in tck-viewer-restful-objects

2015-07-25 Thread Dan Haywood
b.com/isisaddons/isis-app-kitchensink [4] https://issues.apache.org/jira/browse/ISIS-1178 On 20 July 2015 at 12:16, Dan Haywood wrote: > Hi Kambiz, > > I'll try to take a look this evening if I get a chance and give some > pointers. > > Thx > Dan > > > > On

Re: problem with isis-module-publishmq

2015-07-28 Thread Dan Haywood
I'll take a look this evening, Johan. cheers Dan On 28 July 2015 at 15:26, wrote: > Hi Dan, > > > > I tried to checkout isis-module-publishmq and am running into two issues: > when building and then running 'mvn antrun:run -P self-host' I get: > > > > > [ERROR] Failed to execute goal >

Re: Feedback - ISIS-1171: if missing, default datanucleus.schema.autoCreateAll to false, not true (to avoid accidental modification of a target database).

2015-07-28 Thread Dan Haywood
Just to comment on this, Nacho. I don't think the code was going into an infinite loop; more likely that each and every test was failing to bootstrap the app, and producing very similar stack traces that (unless you looked very closely) probably gave the appearance of an infinite loop. If that pr

Re: How to avoid a method to be called multi times

2015-07-28 Thread Dan Haywood
Apologies for not replying sooner on this one. I was going to reply that you shouldn't make any assumptions about how many times the supporting methods are called, and in general that's true... they should have no side-effects. After all, the user could hit cancel, in which case (in your original

Re: code-lists and administration thereof

2015-07-29 Thread Dan Haywood
On 29 July 2015 at 08:08, Stephen Cameron wrote: > Hi, > > I want to do have some properties that are essentially String types, but > which have a limited range of values (code-lists or restricted > vocabularies). I want to allow these lists to be administered centrally, so > to add them to a sin

Re: code-lists and administration thereof

2015-07-29 Thread Dan Haywood
o such an object page is meaningless, as > it only has one name property, that was displayed in the link. Can I > disable that default behaviour for value types? > > > > On Wed, Jul 29, 2015 at 5:47 PM, Dan Haywood > > wrote: > > > On 29 July 2015 at 08:08, Stephen C

Re: code-lists and administration thereof

2015-07-30 Thread Dan Haywood
at 9:28 PM, Jeroen van der Wal > > > wrote: > > > >> You could also hide the property and create a separate getter for > display > >> purposes only: > >> > >> private MyProperty myProperty; > >> > >> @Hidden > >> public MyPro

Re: datanucleus error when upgrading regarding PreserveCase

2015-07-30 Thread Dan Haywood
In the migration notes, Johan. http://isis.apache.org/migration-notes.html cheers Dan On 30 July 2015 at 12:49, wrote: > When upgrading to ISIS 1.9.0 and DataNucleus 4.0.0. I get: > > > > > 1) Error in custom provider, javax.jdo.JDOFatalUserException: > Exception thrown setting persis

Re: code-lists and administration thereof

2015-07-30 Thread Dan Haywood
)); > return region; > } > > } > > Just maybe I there is something missing still? > > I added a @Property annotation to the getRegionName() method, but that gave > me a message saying it expected @javax.jdo.persistence.Column too. > > Note

Re: datanucleus error when upgrading regarding PreserveCase

2015-07-30 Thread Dan Haywood
Know it well. That error means that the dom classes haven't been enhanced. Cheers Dan On 30 July 2015 at 13:38, wrote: > Thank you Dan, > > > > I overlooked the persistor_datanucleus.properties. > > But still I am struggling - I cleaned all .m2 caches etc... > > I keep getting: > > > > >

Re: How to shutdown application

2015-07-30 Thread Dan Haywood
Hi Nirbhay, and welcome to the mailing list. Interesting question you've raised; I'm not sure if there's an "official" way to do a shutdown. Actually, because we are still in the init, I guess really the question is: how does one stop the app from starting. Obviously if you thrown an exception

Re: faster development in eclipse

2015-07-31 Thread Dan Haywood
I've been meaning to do add some docs and a quick screencast about DCEVM for a while; maybe this weekend.. To answer Martin's question: in fact, if running in prototype mode, then the Wicket viewer automatically invalidates the metamodel of the (class of the) displayed object... this is why editin

Re: datanucleus issue, maybe

2015-07-31 Thread Dan Haywood
Hi Steve, funny, hit almost the same issue just today while implementing ISIS-1182 [1]. It's fixed on 1.9.0-SNAPSHOT but might also work fine on 1.8.0. As you've discovered, DN can sometimes trip up if we rely on it to lazily build its metamodel. In the past we've seen issues this occur with it

Re: faster development in eclipse

2015-07-31 Thread Dan Haywood
rovements and better control here. Thx anyway Dan > Just a thought, datanucleus obviously has good and not so good aspects in > the context of Isis. > > Regards > Steve C > > On Fri, Jul 31, 2015 at 9:13 PM, Dan Haywood > > wrote: > > > I've been meaning

Re: code-lists and administration thereof

2015-08-02 Thread Dan Haywood
ublic boolean apply(final OtherObject input) { return Objects.equal(input.getName(), name); } }; } On 30 July 2015 at 13:16, Dan Haywood wrote: > looks right to me, so I'll take a look at in this eve or tomorrow. > > thx > Dan > > > On 30 July

Re: code-lists and administration thereof

2015-08-03 Thread Dan Haywood
rvletHandler.java:1212) > >- > org.mortbay.jetty.servlet.ServletHandler#handle(ServletHandler.java:399) > >- > org.mortbay.jetty.security.SecurityHandler#handle(SecurityHandler.java:216) > >- > org.mortbay.jetty.servlet.SessionHandler#handle(SessionHandler.java

Re: problem with isis-module-publishmq

2015-08-03 Thread Dan Haywood
Sorry, Johan... this fell off the radar. Are you still blocked? cheers Dan On 28 July 2015 at 16:35, Dan Haywood wrote: > I'll take a look this evening, Johan. > > cheers > Dan > > On 28 July 2015 at 15:26, wrote: > >> Hi Dan, >> >> >> &

Re: code-lists and administration thereof

2015-08-03 Thread Dan Haywood
On 3 August 2015 at 10:51, Stephen Cameron wrote: > On Mon, Aug 3, 2015 at 7:32 PM, Dan Haywood > wrote: > > > Glad you got this working for your own app. > > > > Re: kitchensink, did you pull down the latest? I fixed the issues for > the > > fixture

Re: datanucleus issue, maybe

2015-08-03 Thread Dan Haywood
on the > >> webapp project: > >> [WARNING] The POM for > >> > org.apache.isis.core:isis-core-viewer-restfulobjects-rendering:jar:1.9.0-20150731.110526-139 > >> is missing, no dependency information available. > >> > >> Will provide more

1.9.0-SNAPSHOT now on DN 4.1

2015-08-03 Thread Dan Haywood
Hi folks, Just a heads-up that (per ISIS-1153) I've updated our dependency on DataNucleus from 4.0.x to the latest, ie 4.1.2. The only change to your dom code is that the datanucleus-maven-plugin version has changed from 4.0.0-release to 4.0.1. This is updated in the migration notes, see [1] als

Re: Autocomplete options

2015-08-10 Thread Dan Haywood
Hi Jean, If it's an action then the naming convention is autoCompleteNXxx where N is the parameter number. But take a look at the todoapp and the kitchensinkapp, both linked to from the isisaddons site. Cheers, Dan http://www.isisaddons.org On 10 Aug 2015 18:10, "Jean Duarte" wrote: > Hi guys

Re: Autocomplete options

2015-08-11 Thread Dan Haywood
ed instead of the class of > entity creating the association. Now I got it! > > BTW, congratulations for the project. > > Cheers. > > 2015-08-10 14:37 GMT-03:00 Dan Haywood : > > > Hi Jean, > > > > If it's an action then the naming convention is autoComple

ISIS-848: a simpler way to bootstrap Isis applications

2015-08-11 Thread Dan Haywood
Hi folks, Just a heads-up that we now have a simpler way of bootstrapping Isis applications, such that configuration is shared between integration tests and the webapps, and moreover allows the configuration to be specified programmatically (so is typesafe). This particular change is optional - t

Ready for a 1.9.0 release?

2015-08-15 Thread Dan Haywood
Hi folks (send this to dev ML, cc'ing the users ML) Just to say that we're well overdue for a release - and I've well aware that Ive semi-promised to cut a release for several of the last months and then not done so. So this is to say that I'm intending to cut a release next weekend (ie 22/23rd A

Re: Ready for a 1.9.0 release?

2015-08-16 Thread Dan Haywood
On 16 August 2015 at 08:16, Kevin Meyer wrote: > > Question: Given the changes, shouldn't we release a major release (2.0.0) > [1]? The API certainly has changed since 1.7 (I call annotations part of > the API). > > As you say, we aim to follow semantic versioning. But although we've deprecated

Re: Ready for a 1.9.0 release?

2015-08-17 Thread Dan Haywood
from holidays, but perhaps that’s not needed. > > > Regards, > > Oscar > > > > > El 16/8/2015, a las 9:50, Dan Haywood > escribió: > > On 16 August 2015 at 08:16, Kevin Meyer wrote: > > > Question: Given the changes, shouldn't we release a major

Re: Spiro support in Isis

2015-08-17 Thread Dan Haywood
Hi Kambiz, No, there isn't support at the moment. I would imagine it would probably take a couple of days to implement for me, perhaps less. For someone less familiar with the code, perhaps double that. Once I have 1.9.0 released (in the next week hopefully) I'll spend a couple of evenings lookin

Re: ISIS-1044 issue with Collections

2015-08-20 Thread Dan Haywood
Hi Nacho, Thanks for checking this out, and you are right, of course... the code should take the return type of the getter into account. I'll tidy up your code by way of a fix. Thanks again, Dan On 20 Aug 2015 09:40, "Nacho Cánovas Rejón" wrote: > Hi Dan. > > In order to test new changes on 1.

Re: IntelliJ and DataNucleus.

2015-08-23 Thread Dan Haywood
Hi Marianne, We don't use the DN enhancer plugin for IntelliJ ... we found it somewhat unreliable. Instead we use mvn to run the datanucleus:enhance goal as part of our launch configuration. Further details in the contributors guide [1]. And this screencast shows a variation on the approach [2

Re: add-on ideas

2015-08-23 Thread Dan Haywood
Hi Steve, thanks for these thoughts, comments within... On 19 August 2015 at 23:05, Stephen Cameron wrote: > Hello Isis users, > > Just want to mention some ideas that have come up via discussions with > client. > > Sticky Notes / Reminders > > The small application I am building is essentially

Re: ISIS-1044 issue with Collections

2015-08-23 Thread Dan Haywood
ut a release. Thanks Dan [1] https://github.com/apache/isis/commit/9417a0d01608ba640b881e391be8c8b0529b1321 On 20 August 2015 at 10:15, Dan Haywood wrote: > Hi Nacho, > > Thanks for checking this out, and you are right, of course... the code > should take the return type of the g

Re: ISIS-1044 issue with Collections

2015-08-24 Thread Dan Haywood
re_filterVisibility On 23 August 2015 at 18:24, Dan Haywood wrote: > Hi Nacho (and Oscar)... > > OK, I've pushed a commit... [1] could you retest? > > You'll see that I didn't got with your design... doing a clear() and > addAll() on the collection returned by

Re: ISIS-1044 issue with Collections

2015-08-24 Thread Dan Haywood
Many thanks, Nacho. Cheers Dan On 25 August 2015 at 07:05, Nacho Cánovas Rejón wrote: > Hi Dan. > > I ran my tests and all are going well, so you can close this subject. > > Thanks very much. > > Best regards. > > > El 25/08/2015 a las 7:21, Dan Haywood escribi

Re: Exception while deploying application using (1.9.0-SNAPSHOT)

2015-08-25 Thread Dan Haywood
Hi Erik, hmm... not sure. Just looking at the history of that class (ServiceInjectorDefault) and it's had an init(): void method for a long time (several years). So the stacktrace doesn't seem very helpful. Is there any more to it (eg underlying cause?) Does the app run okay from the cmd line

Re: Exception while deploying application using (1.9.0-SNAPSHOT)

2015-08-26 Thread Dan Haywood
On 26 August 2015 at 13:12, Erik de Hair wrote: > > On 08/25/2015 04:36 PM, Dan Haywood wrote: > >> Hi Erik, >> >> hmm... not sure. Just looking at the history of that class >> (ServiceInjectorDefault) and it's had an init(): void method for a long >&

Re: Exception while deploying application using (1.9.0-SNAPSHOT)

2015-08-26 Thread Dan Haywood
On 26 August 2015 at 10:01, Erik de Hair wrote: > Tried this but have no AppManifest setup yet. Will do that. > >> When you say you are running via embedded Tomcat, what do you mean exactly >> (is this mvn tomcat:run or similar?) >> > I was using mvn tomcat7:run-war. We do this is because we have

Re: Exception while deploying application using (1.9.0-SNAPSHOT)

2015-08-26 Thread Dan Haywood
On 26 August 2015 at 14:21, Erik de Hair wrote: > >> I've got a file isis-core-runtime-1.9.0-SNAPSHOT.jar in my local mvn > repo. The corresponding source file shows the same content as in [1] but > when decompiling the class it shows an old version containing the default > constructor. There's a

Re: IntelliJ and DataNucleus.

2015-08-27 Thread Dan Haywood
Scientist – Maritime Transport Systems > > > -Original Message- > From: Dan Haywood [mailto:d...@haywood-associates.co.uk] > Sent: 23. august 2015 15:48 > To: users > Subject: Re: IntelliJ and DataNucleus. > > Hi Marianne, > > We don't use the DN enhancer

Re: ISIS-848 Problem with not Wicket Viewer

2015-08-28 Thread Dan Haywood
Many thanks, Nacho... apologies for missing this one. I'll apply this change "as is". 2015-08-28 7:41 GMT+01:00 Nacho Cánovas Rejón : > Hi Dan. > > I think this is my last problem with new ISIS version because it's working > right now on my application. > > In this case is a problem with IsisWeb

Re: HiddenFacet wrong behavior

2015-08-28 Thread Dan Haywood
Hi Nacho, thanks for this, though I'm having trouble trying to replicate. For example, in the todoapp [1] there's a contributed action on ToDoItem: @DomainService(nature = NatureOfService.VIEW_CONTRIBUTIONS_ONLY) public class ToDoItemAnalysisContributions { @ActionLayout(contributed = Cont

Re: Too much taken away ...

2015-08-28 Thread Dan Haywood
Hi Jorg, I think that's the pattern you have for log4j that's truncating the logger name. Looks to be a different format than I see when I run up the simpleapp, say, so perhaps you customized it (in logging.properties?): 17:55:21,331 [IsisWicketApplication main INFO ] priming configurati

Re: Isis validation error because of optional property on Isis 1.8.0

2015-08-28 Thread Dan Haywood
Hi Erik, I suspect the issue is because the datatype is a primitive (int), for which nullable/optional doesn't make sense. Perhaps change it to Integer? Also: if you want a property to be always hidden, I generally use @Programmatic rather than @Property(hidden=Where.EVERYWHERE). The difference

Re: HiddenFacet wrong behavior

2015-08-28 Thread Dan Haywood
; final String entityParamName, final Object object) { > . > } > > > If you can't reproduce with this information, I'll try one case on > SimpleApp more specific. > > Thanks > > El 28/08/2015 a las 18:48, Dan Haywood escribió: > >> Hi Nacho, >> >>

  1   2   3   4   5   6   7   8   9   10   >