RE: maven-enforcer-plugin ?

2017-06-09 Thread Marianne Hagaseth
[exec] at org.simplericity.jettyconsole.DefaultJettyManager.startServer(DefaultJettyManager.java:114) [exec] at org.simplericity.jettyconsole.JettyConsole$5$1.run(JettyConsole.java:219) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Marianne Hagaseth Senior Research Scientist Marit

RE: maven-enforcer-plugin ?

2017-06-08 Thread Marianne Hagaseth
\target\isis-wicket-summernote-cpt-1.15.0-SNAPSHOT-tests.jar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Marianne Hagaseth Senior Research Scientist Maritime Transport Systems, SINTEF OCEAN Mobile: +47 90 95 64 69 Skype: marianne.hagas...@sintef.no     www.sintef.no

maven-enforcer-plugin ?

2017-06-08 Thread Marianne Hagaseth
? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Marianne Hagaseth Senior Research Scientist Maritime Transport Systems, SINTEF OCEAN Mobile: +47 90 95 64 69 Skype: marianne.hagas...@sintef.no<mailto:marianne.hagas...@sintef.no> www.sintef.no<http://www.sintef.no/> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

RE: Comparing numbers as string

2016-04-19 Thread Marianne Hagaseth
Thanks a lot! Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems   MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway Mobile:   +47 90 95 64 69

Comparing numbers as string

2016-04-19 Thread Marianne Hagaseth
} }; return byRegulationNumber .compound(Ordering.natural()) .compare(p, q); } } Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems MARINTEK (Norsk Ma

Sequence of a set of collections?

2016-04-12 Thread Marianne Hagaseth
Hi, I have got lost in how to set the sequence of a set of collections. It should work with @MemberOrder on each of the collections (3 altogether) that I want to list in the right-most column of the screen? Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime

RE: Any experiences of the Summernote add-on and problems with updating?

2016-04-07 Thread Marianne Hagaseth
great to hide columns in tables.) Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems   MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway Mob

Any experiences of the Summernote add-on and problems with updating?

2016-03-30 Thread Marianne Hagaseth
, and everything is shown OK. [cid:image001.png@01D183B9.3DF1F2F0] Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address: POB 4125 Valentinlys

FW: Summernote and list view

2016-03-23 Thread Marianne Hagaseth
is copied to the field value. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems   MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway Mobile:   +47 90 9

FW: Summernote and list view

2016-03-22 Thread Marianne Hagaseth
Also, It works OK when having a summernote-annotated field in a simple object, but not when this object is part of a collection. Then, the label of the field (the name) is copied to the field value. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer

FW: Summernote and list view

2016-03-22 Thread Marianne Hagaseth
-entityPropertiesAndCollections-entityProperties-entityCollections-collections-1-collectionGroup-selectorDropdown-views-viewList-viewItem-0-viewLink","e":"click","c":"viewLink304"});})();(function(){Wicket.Ajax.ajax({"u":"./entity?8-1.IBehaviorListene

Summernote and list view

2016-03-21 Thread Marianne Hagaseth
and then OK, even if no changes to the object has been done. [cid:image001.png@01D183B9.3DF1F2F0] Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS

Annotations for configuring collections?

2016-03-06 Thread Marianne Hagaseth
Hi! Which annotations can be used to: 1) Select which of the attributes of an object should be shown in a collection? 2) Select the sequence of the attributes in a collection? Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist

RE: How to create a new object at the same time when adding it to a list?

2016-03-04 Thread Marianne Hagaseth
Thanks a lot! Worked on first try! But what do I have to add to delete the domain object at the same time as I am removing it from the collection? Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems

RE: How to create a new object at the same time when adding it to a list?

2016-03-03 Thread Marianne Hagaseth
in a different window. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems   MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway Mobile:   +47 90 95

How to create a new object at the same time when adding it to a list?

2016-03-02 Thread Marianne Hagaseth
the SOLAS object (1:n between SOLAS and freetext). Are there an example out there on how to do that? Best, Marianne. [cid:image001.png@01D17524.2E312460] Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems

Summernote and Code view?

2016-01-25 Thread Marianne Hagaseth
ships have more than 12 passengers.". The result of this then should be that the words 'Passenger ships' are highlighted in yellow. 2) Is it possible to have more than one domain property annotated with summernote in one page/Domain object? Med vennlig hilsen / Best regard

RE: Datanucleus and IntelliJ?

2016-01-19 Thread Marianne Hagaseth
No, maven clean install runs OK. During running. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems   MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address:  POB 4125 Valentinlyst, NO-7450 Trondheim

Datanucleus and IntelliJ?

2016-01-19 Thread Marianne Hagaseth
.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) at org.codehaus.classworlds.Launcher.main(Launcher.java:47) [ERROR] Using mysql and JDO. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer R

Spell check of the text added to a text field?

2015-12-17 Thread Marianne Hagaseth
Hi! What is the easiest way to add a spell checker to the text written in a field in a domain object, for instance to check English syntax? Best, Marianne Hagaseth. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport

Formatting text inside a text field.

2015-09-20 Thread Marianne Hagaseth
Hagaseth. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address: POB 4125 Valentinlyst, NO-7450 Trondheim, Norway Mobile: +47 90 95 64 69 - Phone: +47 464

RE: IntelliJ and DataNucleus.

2015-08-27 Thread Marianne Hagaseth
Thanks, it works OK now! Best, Marianne. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems -Original Message- From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: 23. august 2015 15:48 To

RE: IntelliJ and DataNucleus.

2015-08-20 Thread Marianne Hagaseth
Thanks for the reply! Seems like things go better when I first disable and then enable Datanucleus Enhancer support again in IntelliJ. So, happy for now... Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems

IntelliJ and DataNucleus.

2015-08-20 Thread Marianne Hagaseth
: InvocationTargetException: Duplicate method name&signature in class file dom/regulation/Regulation -> [Help 1] How do I handle this? (I know some hints from eclipse, but I have just moved to IntelliJ to avoid this trouble with DN). Best, Marianne. Med vennlig hilsen / Best regards, Marianne H

IntelliJ:

2015-05-22 Thread Marianne Hagaseth
] Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address: POB 4125 Valentinlyst, NO-7450 Trondheim, Norway Mobile: +47 90 95 64 69 - Phone: +47 464

RE: Workaround for Eclipse? getting java.lang.ClassFormatError: Duplicate method name&signature in class file dom/... out of the blue...

2015-05-21 Thread Marianne Hagaseth
So this manual enhancement must be done outside eclipse, then? Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems -Original Message- From: johandoornen...@filternet.nl [mailto:johandoornen

RE: Workaround for Eclipse? getting java.lang.ClassFormatError: Duplicate method name&signature in class file dom/... out of the blue...

2015-05-21 Thread Marianne Hagaseth
Ok, just when Eclipse has become my best friend :-) I will try with Intellij, But could not find these settings: http://isis.staging.apache.org/docs/user-guide/resources/appendices/dev-env/intellij/isis-settings.jar ? Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime

RE: RE: JAX-RS client from ISIS: What is missing/wrong?

2015-05-21 Thread Marianne Hagaseth
libraries or? [cid:image001.png@01D093EF.79839E00] Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems -Original Message- From: johandoornen...@filternet.nl [mailto:johandoornen...@filternet.nl

RE: Workaround for Eclipse? getting java.lang.ClassFormatError: Duplicate method name&signature in class file dom/... out of the blue...

2015-05-21 Thread Marianne Hagaseth
Thanks, It also seems to work (mostly) to remove the data nucleus support, then add it again.. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems -Original Message- From: johandoornen

RE: JAX-RS client from ISIS: What is missing/wrong?

2015-05-21 Thread Marianne Hagaseth
Yes, I get a response. Thank you for the link, I will have a look at it! Best, Marianne. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems -Original Message- From: johandoornen...@filternet.nl

JAX-RS client from ISIS: What is missing/wrong?

2015-05-21 Thread Marianne Hagaseth
ain/java/dom/regulation/?at=master Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address: POB 4125 Valentinlyst, NO-7450 Trondheim, Norwa

Workaround for Eclipse? getting java.lang.ClassFormatError: Duplicate method name&signature in class file dom/... out of the blue...

2015-05-20 Thread Marianne Hagaseth
lang-classformaterror-duplicate-field-name-signature-in-class-file Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS) Address: POB 4125 Valentinlyst, NO-7450 Trond

RE: FW: Setting up REST client ISIS 1.9.0: Guideline?

2015-05-19 Thread Marianne Hagaseth
REST with XML :-) Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent: 19. mai 2015 09:07 To: Marianne Hagaseth Cc: users@isis.apache.org Subject

RE: FW: Setting up REST client ISIS 1.9.0: Guideline?

2015-05-18 Thread Marianne Hagaseth
Any idea of which one of these that goes best with ISIS? [cid:image001.png@01D091AC.1BB40750] Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker – Maritime transportsystemer Research Scientist – Maritime Transport Systems From: Dan Haywood [mailto:d...@haywood-associates.co.uk] Sent

Setting up REST client ISIS 1.9.0: Guideline?

2015-05-13 Thread Marianne Hagaseth
xsd fetched from the REST web service? Apache axis2? cxf? Using Eclipse, ISIS 1.9.0, and wicket viewer. Best, Marianne. Med vennlig hilsen / Best regards, Marianne Hagaseth Forsker - Maritime transportsystemer Research Scientist - Maritime Transport Systems MARINTEK (Norsk Marinteknisk

Error in dataNucleus enhancer

2015-04-20 Thread Marianne Hagaseth
H! How to fix this? In persistence.xml:Same is set in the DataNucleus defaults in eclipse. Enable auto-enhancement on dom-project is set. Changes made from kitchensink-demo. Best, Marianne. 14:26:45,819 (main) INFO [DataNucleus.Enhancer] - DataNucleus Enhancer (version 3.2.11) for API "JD

How to set correct type on index field? (Mysql)

2015-04-20 Thread Marianne Hagaseth
Hi! The code at the end of this mail creates the following tables (for mysql), and the following error: 10:53:34,420 [Schema main DEBUG] Check of existence of regulation_dependency returned no table 10:53:34,420 [Schema main DEBUG] Creating table regu

RE: MySQL and "Specified key was too long"

2015-04-15 Thread Marianne Hagaseth
ise you wouldn't have seen any DDL for the "create table rule". I was going to say that I thought that the DataNuclues enhancer hasn't correctly run, but I think that usually manifests itself as some other problem. Even so, I do think that, somehow, DN is trying to serialize

RE: MySQL and "Specified key was too long"

2015-04-14 Thread Marianne Hagaseth
atastore.Schema=DEBUG, Console in WEB-INF/logging.properties . You could also set: log4j.logger.DataNucleus.Datastore.Native=DEBUG, Console in order to inspect the SQL INSERT statement. Let us know how you get on. Cheers Dan On 20 March 2015 at 09:35, Marianne Hagaseth < marianne.hagas...@

RE: MySQL and "Specified key was too long"

2015-04-13 Thread Marianne Hagaseth
could also set: log4j.logger.DataNucleus.Datastore.Native=DEBUG, Console in order to inspect the SQL INSERT statement. Let us know how you get on. Cheers Dan On 20 March 2015 at 09:35, Marianne Hagaseth < marianne.hagas...@marintek.sintef.no> wrote: > Hi there, > I am trying to add this property (see

MySQL and "Specified key was too long"

2015-03-20 Thread Marianne Hagaseth
Hi there, I am trying to add this property (see code further down) and then using mySQL for the persistence. However, it fails with a MySQL error: "Specified key was too long; max key length is 767 bytes" Anyone who have ideas for where to start searching for the error? Best, Mariann

Collection of values, not only of entities?

2015-03-09 Thread Marianne Hagaseth
Dear you! From http://isis.apache.org/config/metamodel-finetuning-the-programming-model.html , it looks like it is not possible to have collection of values. Is this still true? Is there a (simple) walk-around for this? Best regards, Marianne Hagaseth.

FW: Not able to add 1:m bidirectional relationship

2015-03-06 Thread Marianne Hagaseth
Thanks Martin, you sent me in the right direction: I had to drop the tables and the database, then things works OK when starting all over again with the creation of tables! Thanks a lot! Best, Marianne. -Original Message- From: Marianne Hagaseth [mailto:marianne.hagas

RE: Not able to add 1:m bidirectional relationship

2015-03-06 Thread Marianne Hagaseth
ining and Consulting https://twitter.com/mtgrigorov On Fri, Mar 6, 2015 at 4:06 PM, Marianne Hagaseth < marianne.hagas...@marintek.sintef.no> wrote: > Yes, a lot. See below. > It seems like the values are not picked up, and then the insert into > the database tables fails because t

RE: Not able to add 1:m bidirectional relationship

2015-03-06 Thread Marianne Hagaseth
store.rdbms.scostore.JoinSetStore.doInternalAdd(JoinSetStore.java:754) at org.datanucleus.store.rdbms.scostore.JoinSetStore.internalAdd(JoinSetStore.java:502) <<<<<<<<<<<<<<<<<<<<<<<<<<< And more: <<<<

Not able to add 1:m bidirectional relationship

2015-03-06 Thread Marianne Hagaseth
.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) etc.etc... Best regards, Marianne Hagaseth