Modifying SimpleApp

2015-05-24 Thread Stephen Cameron
Hello, I am trying to modify the SimpleApp archetype in Eclipse, but I am not very familiar with Maven. When I modifiy the myapp-dom project, by copying the SimpleObject and renaming it I need to make the changes flow through to the webapp project. At the moment I am getting an Isis error message,

Re: Modifying SimpleApp

2015-05-25 Thread Stephen Cameron
ue of > this in your copy and try again. > > Cheers, Dan > On 25 May 2015 06:51, "Stephen Cameron" > wrote: > > > Hello, > > > > I am trying to modify the SimpleApp archetype in Eclipse, but I am not > very > > familiar with Maven. When I modif

Re: Modifying SimpleApp

2015-05-27 Thread Stephen Cameron
rse engineer the > .classpath and .project file for you. > > Also be aware that you need to set up the DataNucleus enhancer; there's div > on the Isis website. > > HTH > Dan > On 26 May 2015 02:36, "Stephen Cameron" > wrote: > > > Hi Dan, You ar

create new object with mandaory properties, best method

2015-06-05 Thread Stephen Cameron
Hi, *I am using the Isis Wicket viewer for a demo application.* I have a scenario where I wish to create a new object with mandatory properites, the simpleapp demo shows how to initialise an object via an action on the repository which is done with one form, then when you access the new object la

Re: create new object with mandaory properties, best method

2015-06-06 Thread Stephen Cameron
e body of your mail, perhaps give > you some ideas on how we would normally approach this... > > > > > On 5 June 2015 at 12:55, Stephen Cameron > wrote: > > > Hi, > > > > *I am using the Isis Wicket viewer for a demo application.* > > > > I hav

chats demo application - work in progress

2015-06-10 Thread Stephen Cameron
chine, and one user, is this normal? I guess maybe yes as there is no page compiling/caching? [1] https://github.com/Stephen-Cameron-Data-Services/isis-chats

Re: chats demo application - work in progress

2015-06-10 Thread Stephen Cameron
issue. On Wed, Jun 10, 2015 at 9:06 PM, Dan Haywood wrote: > 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?

Re: create new object with mandaory properties, best method

2015-06-10 Thread Stephen Cameron
've been consistently trying to simplify the framework, > > I've made some further remarks within the body of your mail, perhaps give > you some ideas on how we would normally approach this... > > > > > On 5 June 2015 at 12:55, Stephen Cameron > wrote: > > >

Re: chats demo application - work in progress

2015-06-10 Thread Stephen Cameron
the restful objects 'viewer' is very nippy! I can always build an XForms based client On Wed, Jun 10, 2015 at 9:06 PM, Dan Haywood wrote: > On 10 June 2015 at 11:51, Stephen Cameron > wrote: > > > > > > > One question, response does seem a bit slow to me,

Re: create new object with mandaory properties, best method

2015-06-11 Thread Stephen Cameron
Hi Dan See my inline comments On Thu, Jun 11, 2015 at 4:29 PM, Dan Haywood wrote: > On 11 June 2015 at 01:32, Stephen Cameron > wrote: > > > > > But there is still the issue of mandatory properties preventing an > instance > > from being persisted if they have b

tabs in Wicket Viewer?

2015-07-07 Thread Stephen Cameron
Hi, I am interested to know if there are tabbed panels sre available in Isis? I cannot see them in the current wicket viewer jar, but can find references to them being there in earlier versions maybe? Perhaps not sufficiently 'naked' and rejected? Thanks Steve Caneron

Re: tabs in Wicket Viewer?

2015-07-07 Thread Stephen Cameron
ter. > > Cheers > Dan > > > [1] > > http://isis.apache.org/guides/ug.html#_ug_extending_wicket-viewer_replacing-page-elements > [2] https://github.com/isisaddons/isis-wicket-gmap3 > [3] https://github.com/isisaddons/isis-wicket-fullcalendar2 > > > On 7 J

Re: tabs in Wicket Viewer?

2015-07-07 Thread Stephen Cameron
Will do thanks. It would be nice, at some point, that an Isis app will work in a mobile phone viewer without much additional layout configuration, if any. In know there is a GSOC project already. On Wed, Jul 8, 2015 at 4:13 PM, Dan Haywood wrote: > On 7 July 2015 at 11:24, Stephen Came

AuthorizationException

2015-07-08 Thread Stephen Cameron
the Participant without having a SocialFactors child. Maybe I need to use a ViewModel? I will look at that tomorrow. I'll push this into to Github if anyone is interested to take a look. https://github.com/Stephen-Cameron-Data-Services/isis-chats

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

2015-07-08 Thread Stephen Cameron
Hi, I have a DataNucleus error, with a not very informative message! Caused by: java.lang.IllegalArgumentException: out of field index :15 at au.com.scds.chats.dom.modules.participant.SocialFactors.jdoCopyField(SocialFactors.java) at au.com.scds.chats.dom.modules.participant.SocialFacto

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

2015-07-08 Thread Stephen Cameron
The DataNucleus Enhancement has been successful, the error message occurs when a user action causes a new SocialFactors object to be initialised. -- Forwarded message -- From: Stephen Cameron Date: Thu, Jul 9, 2015 at 1:32 PM Subject: java.lang.IllegalArgumentException: out of

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

2015-07-08 Thread Stephen Cameron
Reason was me trying to use: org.apache.isis.applib.value.Date -- Forwarded message -- From: Stephen Cameron Date: Thu, Jul 9, 2015 at 1:32 PM Subject: java.lang.IllegalArgumentException: out of field index :15 To: users@isis.apache.org Hi, I have a DataNucleus error, with a

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

2015-07-08 Thread Stephen Cameron
d then re-enhanced correctly. Try reverting back to > o.a.i.applib.value.Date and it'll probably still work. (If it doesn't, > then that'll be a useful test case for us to work from!) > > Thx > Dan > > > > > > > On 9 July 2015 at 05:45, Stephen Cameron

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

2015-07-09 Thread Stephen Cameron
the simple one Date property does have the same problem in Wicket viewer. I check this into Github: https://github.com/Stephen-Cameron-Data-Services/isis-chats/blob/master/dom/src/main/java/au/com/scds/chats/dom/modules/participant/DateTest.java There is an action in Participant to trigger the

setting table column widths

2015-07-09 Thread Stephen Cameron
Hi, I cannot find a way to set table column widths. Thanks for assistance. Steve Cameron

wicket page 'views'

2015-07-15 Thread Stephen Cameron
Hi, There are examples of use of different views in the todoapp (table,calendar etc.). I would like to implement tabs in the Wicket Viewer and am wondering if a similar views approach can be used at the top level? That is, to have some standard view layouts that can be switched, maybe by the user

property values not displayed in wicket

2015-07-15 Thread Stephen Cameron
Hi, I noticed that property values are not visible in the Wicket sandstone theme in my project. No errors are occurring and I cannot see a problem with css (thinking maybe color and backgroundcolor are the same). I just upgraded to Isis 1.9 by copying the maven pom files from the todoapp demo, no

Re: property values not displayed in wicket

2015-07-16 Thread Stephen Cameron
not just me :( > > Martin Grigorov > Freelancer. Available for hire! > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Jul 16, 2015 at 9:53 AM, Stephen Cameron < > steve.cameron...@gmail.com > > wrote: > > > Hi, > > > > I n

Re: wicket page 'views'

2015-07-16 Thread Stephen Cameron
;s > content. > - you say "top level", so may be you want to provide a custom header for > the page with a tabbed panel under the menu. This is possible too. > > Martin Grigorov > Freelancer. Available for hire! > Wicket Training and Consulting > https://twitter

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

2015-07-16 Thread Stephen Cameron
Hi, I want to create a fixture script and am copying the todoitems examples. However I get the following error when I replace a FixtureScript that worked (modified from the simpleapp demo) with my new one. The org.isisaddons.module.togglz.glue.seed.TogglzModuleAdminRole seems to be present in the

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

2015-07-16 Thread Stephen Cameron
Second thoughts, it probably did not have ever work with Isis 1.9. On Thu, Jul 16, 2015 at 10:12 PM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Hi, > > I want to create a fixture script and am copying the todoitems examples. > However I get the following erro

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

2015-07-16 Thread Stephen Cameron
ithub.com/isisaddons/isis-module-togglz if you want to > use it. If you don't need it then remove it from isis.properties. > > Martin Grigorov > Freelancer. Available for hire! > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Jul 16, 2015 at 3

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

2015-07-16 Thread Stephen Cameron
Changing to Java version 1.8 has fixed the problem, sorry to have distracted you. On Thu, Jul 16, 2015 at 11:02 PM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Agreed its apparently not in the classpath, but I can see that the jar is > present, namely > > C

Apache Isis vs Grails

2015-07-16 Thread Stephen Cameron
Hi, Anyone care to share their thoughts on this comparison: Apache Isis vs Grails? Relative strengths and weaknesses. Maybe some main things to look at myself, I am committed to Isis for the current project, but should know more about Grails I now see. Thanks Steve Cameron

Re: Apache Isis vs Grails

2015-07-17 Thread Stephen Cameron
work such as Gails. > > Very interested in other opinions, but I hope that helps. > > Cheers > Dan > > [1] > > http://isis.apache.org/guides/ug.html#_ug_core-concepts_principles_apache-isis-vs > [2] https://my.tellmegen.com > > On 17 July 2015 at 03:14, Stephen C

Re: tabs in Wicket Viewer?

2015-07-23 Thread Stephen Cameron
et Viewer). If so my project is here: https://github.com/Stephen-Cameron-Data-Services/isis-chats. <https://github.com/Stephen-Cameron-Data-Services/isis-chats> I can explain further where I am at with it, but starting here is ideal: https://github.com/Stephen-Cameron-Data-Services/isis-chats/blob/m

Re: tabs in Wicket Viewer?

2015-07-24 Thread Stephen Cameron
cknowledge that I appreciate you're > giving it a go. If you are still struggling once I have 1.9.0 out the > door, and lend a hand. > > Dan > > > > On 23 July 2015 at 13:26, Stephen Cameron > wrote: > > > Hi, > > > > I've made a litt

Re: Ideas for online forms application.

2015-07-28 Thread Stephen Cameron
Hi David, My two bits worth, I think Apache Isis is the last thing i would use for this kind of a task. If the information collected is that complex, then trying to fit in into a relational database via an object model makes no sense. Just use an XML database and XForms. There are server-side imp

code-lists and administration thereof

2015-07-29 Thread Stephen Cameron
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 single Administration menu item for admin users. For most users

Re: code-lists and administration thereof

2015-07-29 Thread Stephen Cameron
:47 PM, Dan Haywood wrote: > 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 > > vocabular

Re: code-lists and administration thereof

2015-07-29 Thread Stephen Cameron
aise a ticket. > OK https://issues.apache.org/jira/browse/ISIS-1180 > > Thx > Dan > > PS: these entities wouldn't be value types, rather regular entities. But > you are right... what we really want is full-class support for value types. > We're just not there y

Re: code-lists and administration thereof

2015-07-29 Thread Stephen Cameron
{...} > > public void setMyProperty(...) {...} > > public String getMyPropertyName() { > getMyProperty.getName(); > } > > On 29 July 2015 at 13:18, Stephen Cameron > wrote: > > > On Wed, Jul 29, 2015 at 6:38 PM, Dan Haywood < > d...@haywood-associat

Re: code-lists and administration thereof

2015-07-29 Thread Stephen Cameron
could have been in the explicit link. In the explicit case you might want to warn the user they are navigating outside the Isis domain application. Perhaps all this could be done simply if there was a URI type in Isis, that would allow it to create 'smart links' automatically.

Re: code-lists and administration thereof

2015-07-29 Thread Stephen Cameron
Its officially called a 'derived' property. On Thu, Jul 30, 2015 at 12:17 PM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Not so simple, as now the property cannot be updated. > > I have the following (@Hidden is deprecated) > > @Column(allowsNu

Re: code-lists and administration thereof

2015-07-30 Thread Stephen Cameron
Given a color, you'll know the kind of attributes, links, > methods, and int... | > | | > | View on www.amazon.com | Preview by Yahoo | > | | > | | > > > > > On Thursday, 30 July 2015 2:17 PM, Stephen Cameron < > steve.cameron...@gmail.com

Re: code-lists and administration thereof

2015-07-30 Thread Stephen Cameron
ode sketch as to how you'd like this information > specified? > > Thanks > Dan > > > > > > On 30 July 2015 at 03:17, Stephen Cameron > wrote: > > > Not so simple, as now the property cannot be updated. > > > > I have the follo

copying a property value to clipboard

2015-07-30 Thread Stephen Cameron
Hi, A smallish point, when an object is in view mode I cannot select a property value to copy it. I get the red circle with line across it to say 'off limits' and it does seem truly untouchable! Is this by design, or am I missing something? Steve C

Re: code-lists and administration thereof

2015-07-30 Thread Stephen Cameron
dRegion", "name", name)); 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 I couldn't use deprecate

Re: code-lists and administration thereof

2015-07-30 Thread Stephen Cameron
; looks right to me, so I'll take a look at in this eve or tomorrow. > > thx > Dan > > > On 30 July 2015 at 13:12, Stephen Cameron > wrote: > > > Still no luck with this one. > > > > The derived RegionName appears as a non-editable property, so not sure

faster development in eclipse

2015-07-30 Thread Stephen Cameron
Hi, I would greatly appreciate some advice on speeding up development in Eclipse. Using the simpleapp project with separate dom, fixture, integtest and webapp subprojects. I'd at least like the webserver (jetty,tomcat) to restart when I modify a dom class. This is what I am used to with Dynamic W

Re: copying a property value to clipboard

2015-07-30 Thread Stephen Cameron
> In view mode all input fields are disabled. Bootstrap shows this banned > > > icon for them. > > > > > > I am not able to try it now but I think you should be able to select > the > > > value with the mouse and copy it. > > > > > >

Re: faster development in eclipse

2015-07-30 Thread Stephen Cameron
stall on the dom project when I change a dom class. That should have been apparent sooner :( Bottomline: the webapp takes some time to start, but that is fine. On Fri, Jul 31, 2015 at 11:27 AM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Hi, > > I would greatly appre

Re: code-lists and administration thereof

2015-07-30 Thread Stephen Cameron
ld have had far > stronger influence on software development of business systems than it has. > > Regards, > David. > > > > > > On Thursday, 30 July 2015 9:49 PM, Stephen Cameron < > steve.cameron...@gmail.com> wrote: > > > Hi David, I was speaking of t

Re: copying a property value to clipboard

2015-07-31 Thread Stephen Cameron
k de Hair wrote: > > > On 07/31/2015 04:57 AM, Stephen Cameron wrote: > > > >> Hi Martin, > >> > >> I simply cannot select and copy the text, any other element on the page > I > >> can. > >> > > Hi, > > > > This looks

datanucleus issue, maybe

2015-07-31 Thread Stephen Cameron
Hi folks I have a problem that I cannot solve and hoping someone might have seen similar. When I create a new entity the server freezes, its just the one kind of entity. In the server console I see the following output. 22:13:26,989 [Schema 455726379@qtp-1318209130-0 DEBUG] ALTER

Re: datanucleus issue, maybe

2015-07-31 Thread Stephen Cameron
/ }} @javax.inject.Inject @SuppressWarnings("unused") private DomainObjectContainer container; // endregion } On Fri, Jul 31, 2015 at 10:38 PM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Hi folks > > I have a problem that I cannot solve a

Re: faster development in eclipse

2015-07-31 Thread Stephen Cameron
ebel-plugin > > > > On 31 July 2015 at 09:03, Martin Grigorov wrote: > > > Hi, > > > > I use DCEVM for code reloading. It is free and there is nothing to learn. > > But it doesn't help with updating Isis meta model. > > It would be nice if Isis e

Re: datanucleus issue, maybe

2015-07-31 Thread Stephen Cameron
.org/migration-notes.html#_migration-notes_1.8.0-to-1.9.0_specify-all-dom-packages > > > > > > > > > > On 31 July 2015 at 14:35, Stephen Cameron > wrote: > > > More info, yes it seems the Volunteer table is not created at the same > time > > as the other

Re: datanucleus issue, maybe

2015-07-31 Thread Stephen Cameron
That warning is for 1.9 obviously. On Sat, Aug 1, 2015 at 9:49 AM, Stephen Cameron wrote: > Hi Dan > > Thanks for the feedback, I was going to try using 1.8 again today and will > do so. > > If I do a clean install on the whole project now I get an warning on the > webap

Re: code-lists and administration thereof

2015-08-02 Thread Stephen Cameron
eturn new Predicate() { > @Override public boolean apply(final OtherObject input) { > return Objects.equal(input.getName(), name); > } > }; > } > > > > > > On 30 July 2015 at 13:16, Dan Haywood > wrote: > > > lo

Re: datanucleus issue, maybe

2015-08-02 Thread Stephen Cameron
ted a release v0.0.1 in github for the project, using Isis 1.9. I want to use 1.9 but till I get this one sorted I am staying with 1.8. https://github.com/Stephen-Cameron-Data-Services/isis-chats/releases To see the issue just try creating a new Volunteer from the menu, it will hang after you s

Re: code-lists and administration thereof

2015-08-03 Thread Stephen Cameron
This works nicely in my application. Thanks Dan On Mon, Aug 3, 2015 at 6:54 AM, Stephen Cameron wrote: > Hi, > > Just trying this now, with current version of kitchen sink I got an error > message starting the webapp, saying that no persistable classes could be > found and to

Re: code-lists and administration thereof

2015-08-03 Thread Stephen Cameron
hing, in fact). > I am enjoying Isis, thinking of a project that I can make to sell as a customisable ERP type system, somewhat like Estatio. Just have to finish this one first, I have first demo for users on Friday, then hopefully into use by end of next week. > > > > On 2 August

Re: datanucleus issue, maybe

2015-08-03 Thread Stephen Cameron
e then you'll see that all the tables - including Volunteer - > are created eagerly before start-up, and the deadlock does not arise. > > Cheers > Dan > > [1] > > http://isis.apache.org/migration-notes.html#_in_the_webapp_s_code_persistor_datanucleus_properties_code

add-on ideas

2015-08-19 Thread Stephen Cameron
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 a Client Relationshp Management (CRM) system. A big part of it is to schedule interactions (mainly just phone calls) to cli

Re: add-on ideas

2015-08-23 Thread Stephen Cameron
.. > > 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

Datanucleus issues

2015-09-01 Thread Stephen Cameron
Hi, I've been trying today to find solutions to what seem to be Datanucleus issues, but without much success. So rather than solve the problems created in my refactoring of my application, which has been too hard frankly, I'm trying to start afresh with some simple test cases, show these work, the

Re: Datanucleus issues

2015-09-01 Thread Stephen Cameron
s? Tomorrow is another day. Steve On Tue, Sep 1, 2015 at 8:39 PM, Stephen Cameron wrote: > Hi, > > I've been trying today to find solutions to what seem to be Datanucleus > issues, but without much success. So rather than solve the problems created > in my refactoring of

Re: Datanucleus issues

2015-09-01 Thread Stephen Cameron
Hi Jeroen, just noticed this after sending second update (winge). I'll send a test case now. On Tue, Sep 1, 2015 at 10:29 PM, Jeroen van der Wal wrote: > Hi Stephen, > > Can you share some code to support your case? > > Cheers, > > Jeroen > > On 1 Septembe

Re: Datanucleus issues

2015-09-01 Thread Stephen Cameron
peOfAbstractParentType"); childType.setDescription("something descriptive"); container.persistIfNotAlready(childType); } catch (Exception e) { e.printStackTrace(); } return childType; } @javax.inject.Inject Do

Re: Datanucleus issues

2015-09-01 Thread Stephen Cameron
ine ;-) > > Cheers, > > Jeroen > > On 1 September 2015 at 15:12, Stephen Cameron > wrote: > > > Here a two scenarios each with a Parent and Child Type, they should give > > the same result > > > > 1. Concrete Parent Type > > >

Re: Datanucleus issues

2015-09-01 Thread Stephen Cameron
me; > } > > public void setName(final String name) { > this.name = name; > } > > } > > Hth > > On 1 September 2015 at 20:44, Jeroen van der Wal > wrote: > > > If you make your abstract class public it should work fine ;-) > > > > Cheer

Re: [ANN] Apache Isis version 1.9.0 Released

2015-09-01 Thread Stephen Cameron
Thanks to all the team. On Wed, Sep 2, 2015 at 7:45 AM, Dan Haywood wrote: > The Apache Isis team is pleased to announce the release of Apache Isis > v1.9.0. > > New release includes 18 new features, 50 improvements and 25 bug fixes. > The new features include: > - upgrading dependency on DataN

Re: [ANN] Apache Isis version 1.9.0 Released

2015-09-01 Thread Stephen Cameron
org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:71) at org.apache.wicket.Component.internalRenderComponent(Component.java:2514) ... 48 more On Wed, Sep 2, 2015 at 11:03 AM, Stephen Cameron wrote: > Thanks to all the team. > > > On Wed, Sep 2, 2015 at 7:45 AM, Dan Haywood >

Re: [ANN] Apache Isis version 1.9.0 Released

2015-09-01 Thread Stephen Cameron
I'll merge my code with the new 1.9.0 version of simpleapp to resolve this, hopefully. On Wed, Sep 2, 2015 at 11:12 AM, Stephen Cameron wrote: > Hi Dan, > > I am now seeing many errors of this kind at runtime startup. Is this > perhaps due to the release? > > Ste

Re: Datanucleus issues

2015-09-02 Thread Stephen Cameron
at org.hsqldb.StatementSchema.getResult(Unknown Source) at org.hsqldb.StatementSchema.execute(Unknown Source) at org.hsqldb.Session.executeCompiledStatement(Unknown Source) at org.hsqldb.Session.executeDirectStatement(Unknown Source) at org.hsqldb.Session.execute(Unknown Source) ... 81 more

Re: Datanucleus issues

2015-09-02 Thread Stephen Cameron
log "" schema "" 22:16:33,763 [Schema 275150920@qtp-1846345504-0 DEBUG] ALTER TABLE "activity" ADD CONSTRAINT "activity_FK6" FOREIGN KEY ("parentActivity_RecurringActivity_ID_OID") REFERENCES "RecurringActivity" ("RecurringActi

Re: Datanucleus issues

2015-09-02 Thread Stephen Cameron
OK, I pushed the current versions to Github. https://github.com/Stephen-Cameron-Data-Services/isis-chats.git If you start the app and create a new Activity (an ActivityEvent object) from the main menu you will see the error. I have no tests independant of the webapp sorry. I'll have to ca

Re: Datanucleus issues

2015-09-02 Thread Stephen Cameron
Its obvious now, sorry for wasting your time. getProvider is in parent and child. On Wed, Sep 2, 2015 at 11:01 PM, Stephen Cameron wrote: > OK, I pushed the current versions to Github. > > https://github.com/Stephen-Cameron-Data-Services/isis-chats.git > > If you start the app a

Re: Datanucleus issues

2015-09-02 Thread Stephen Cameron
;ve pushed my changes into Github for the foreign key issue. On Wed, Sep 2, 2015 at 11:18 PM, Stephen Cameron wrote: > Its obvious now, sorry for wasting your time. getProvider is in parent and > child. > > On Wed, Sep 2, 2015 at 11:01 PM, Stephen Cameron < > steve.cameron...@

Re: Datanucleus issues

2015-09-02 Thread Stephen Cameron
d write > integration tests for each of it's members! > > HTH > > Cheers, > Jeroen > > [1] https://github.com/jcvanderwal/isis-chats/tree/fixup > [2] https://github.com/estatio/estatio > [3] > > https://github.com/Stephen-Cameron-Data-Services/isis-chats/blob/ma

Re: Datanucleus issues

2015-09-02 Thread Stephen Cameron
ented Software Guided by Tests', that is the immediate priority, to start using TDD. I have looked at Estatio but its too different to what I am used to, I need more hand-holding, so will work with those books for a week and come back to it. On Thu, Sep 3, 2015 at 9:32 AM, Stephen Cameron wrot

Re: Datanucleus issues

2015-09-03 Thread Stephen Cameron
just a few quick observations. On Thu, Sep 3, 2015 at 7:22 PM, Jeroen van der Wal wrote: > Hi Stephen, > > See inline: > > On 3 September 2015 at 07:23, Stephen Cameron > wrote: > > > I'll take stock before doing any more. I'm just burying myself the

integration testing

2015-09-03 Thread Stephen Cameron
Hi All, I am trying to make a start with integration testing, not much success so far. I am getting an NullPointerException in the metamodel creation phase I think. I tried to set a breakpoint in Eclipse to see what is being translated, but that does not happen for this exception, do I need to h

Re: integration testing

2015-09-04 Thread Stephen Cameron
end, as I read. On Fri, Sep 4, 2015 at 6:27 PM, Dan Haywood wrote: > Hi Steve, > > I've taken a quick look, and found one issue: > > > https://github.com/Stephen-Cameron-Data-Services/isis-chats/blob/master/integtests/src/test/java/au/com/scds/isis/integtests/bootstrap/Si

Re: integration testing

2015-09-04 Thread Stephen Cameron
ed values still get saved as key:value pairs. This is not that far removed from what happens in the audit module I am guessing. This is simply to allow the forms to evolve under the control of the users, on a different cycle to the Java domain model. So the bones of it are there already. > >

Automatic created-by and modified-by property updates

2015-09-15 Thread Stephen Cameron
Hi, Could someone please assist me in adding this capability, to automate the creation and update of values in these standard fields created_by created_on modified_by modified_on That is I need to set the first two on creating a new object, and the last two on modifying an object. Thanks Steve

Re: Automatic created-by and modified-by property updates

2015-09-15 Thread Stephen Cameron
nceLifecycleEvent event) { > > // no-op > > } > > > > @Inject > > private DomainObjectContainer container; > > > > @Inject > > private ClockService clockService; > > > > @Inject > > private IsisJdo

schema exception running integtests.

2015-09-17 Thread Stephen Cameron
Hi, I am getting an datanucleus exception relating to a missing table when that table as InheritanceStrategy.SUBCLASS_TABLE, so no table is correct. I don't get the error when running the webapp, only the integtests, so wondering if its something relating to use of wrap()? 17:10:54,412 [Schema

Re: schema exception running integtests.

2015-09-17 Thread Stephen Cameron
g toString() { return this.getClass().getName() + ":" + this.getName(); } } On Thu, Sep 17, 2015 at 5:23 PM, Stephen Cameron wrote: > Hi, > > I am getting an datanucleus exception relating to a missing table when > that table as InheritanceStrategy.SUBCLASS_TABLE, so no table

Re: schema exception running integtests.

2015-09-17 Thread Stephen Cameron
blic void DataNucleusWorkaround { > @Hidden public void register(SimpleNamedEntity e) {} > } > > This forces the SimpleNamedEntity to be added to Isis' metamodel, and thus > ends up telling DN about it. > > > ~~~ > HTH > > > Thanks > Dan > > >

Re: schema exception running integtests.

2015-09-17 Thread Stephen Cameron
rclass entity could be changed... eg > "CodeTable" or "ReferenceData" or "StandingData" or whatever... > > > > On 17 September 2015 at 09:19, Stephen Cameron > > wrote: > > > Thanks Dan, > > > > I'll look at suggesions, but

updating entities with a poly contribution

2015-09-17 Thread Stephen Cameron
Hi, I modified the poly module code for my notes functionality, specifically the case content demo. I added a field to allow entry of note content to my note type, which was a case, but when I do a global update of the record, I get an error related to the linked primary object, the message is:

Re: updating entities with a poly contribution

2015-09-17 Thread Stephen Cameron
ull; } //endregion Sometimes a good nights sleep is the real answer On Thu, Sep 17, 2015 at 10:22 PM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Hi, > > I modified the poly module code for my notes functionality, specifically > the case content demo. > > I added a field to

bulk updates

2015-09-24 Thread Stephen Cameron
Hi, I am trying to copy the 'bulk' action example in the kitchen sink app, but I don't see the check boxes on the left hand column in my collection. What can I be missing? I am assuming that the annotation as follows is what gives the magic! @Action(invokeOn = InvokeOn.OBJECT_AND_COLLECTION) bu

Re: bulk updates

2015-09-24 Thread Stephen Cameron
Yes, that is the problem :( Thanks On Thu, Sep 24, 2015 at 6:09 PM, Jeroen van der Wal wrote: > Did you use it in a parented collection? It currently only works in > standalone collections [1]. > > [1] https://issues.apache.org/jira/browse/ISIS-1035 > > On 24 September 2015

problems merging code

2015-09-24 Thread Stephen Cameron
version. Hoping that someone might be able to help sort it out. repository url is: https://github.com/Stephen-Cameron-Data-Services/isis-chats.git Steve

Re: problems merging code

2015-09-24 Thread Stephen Cameron
Impl.java:73) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:60) ... 56 more On Fri, Sep 25, 2015 at 11:20 AM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Hi, > > I am trying to effectivelly replace a old version of my project in Git

Re: problems merging code

2015-09-24 Thread Stephen Cameron
Just removed everything and replaced with new, so ignore my first message. On Fri, Sep 25, 2015 at 11:28 AM, Stephen Cameron < steve.cameron...@gmail.com> wrote: > Errors are like this: > > 11:07:19,919 [IsisWicketApplication main ERROR] Failed

security module questions

2015-09-26 Thread Stephen Cameron
Hi, I am making use of the Apache Isis security module addon. I've configured it using the new App Manifest means, but have one issue, which is how is the home page being created now? I have the home page as it appears in the security demo, rather than the one that I created in my app. Its not c

Re: security module questions

2015-09-26 Thread Stephen Cameron
.java>. For more details, see the Apache Isis website <http://isis.apache.org/documentation.html>. On Sun, Sep 27, 2015 at 3:40 PM, Stephen Cameron wrote: > Hi, > > I am making use of the Apache Isis security module addon. I've configured > it using the new App Manif

Re: security module questions

2015-09-27 Thread Stephen Cameron
d from the module package names. As > a quick check, you could add the service class itself to the list returned > from getModules() and see what happens. > > With respect to the marker classes you've added for security module, there > is a class called simply SecurityModule

Re: security module questions

2015-09-27 Thread Stephen Cameron
sure enough, when I gave package access to domainapp.app.services.homepage to my general user - Voila! On Sun, Sep 27, 2015 at 6:09 PM, Stephen Cameron wrote: > re " I have the home page as it appears in the security demo" > > sorry, that is not so, its the right 'we

title() value appears in table

2015-09-27 Thread Stephen Cameron
Hi, I am not sure if this is correct, that a title() value appears in a collection table column? In my Note class I have: // region > identificatiom @PropertyLayout(hidden = Where.ALL_TABLES) public String title() { return "Note: " + getSubject(); } // endregion

Re: title() value appears in table

2015-09-27 Thread Stephen Cameron
This is in my polymorphic linked Note object, so suspect that is the reason for the behaviour. On Sun, Sep 27, 2015 at 8:36 PM, Stephen Cameron wrote: > Hi, > > I am not sure if this is correct, that a title() value appears in a > collection table column? > > In my

  1   2   3   4   5   >