Re: POST response error: Expected a link (because this object's type is not a value) but found no 'href'

2017-09-11 Thread L Eder
:14 GMT-04:00, Stefano Cascarini : > I haven't used $resource but perhaps you want to do this ? > > https://stackoverflow.com/questions/16203646/send-request-body-on-resource > > On Mon, Sep 11, 2017 at 2:53 PM, L Eder wrote: > >> Dan, >> the version is 1.5.3

Re: POST response error: Expected a link (because this object's type is not a value) but found no 'href'

2017-09-11 Thread L Eder
as come back with a quick solution for you ... I guess we >> don't have too many Angular JS experts reading. >> >> To confirm, is this Angular JS (or v1.x) rather than Angular (V2+) ? >> >> If you could upload to github a simple example with Angular JS code that >

Re: POST response error: Expected a link (because this object's type is not a value) but found no 'href'

2017-09-08 Thread L Eder
jects/businessentities.Location/47\"}}";, "invalidReason": "Expected a link (because this object's type is not a value) but found no 'href'" }, "x-ro-invalidReason": "Mandatory" }, "status": 422,

POST response error: Expected a link (because this object's type is not a value) but found no 'href'

2017-09-01 Thread L Eder
Hello members: Could any one shed a light on this issue? I successful run this POST request using Postman: JSON body " { "location" : { "value" : { "href": "http://localhost:8080/restful/objects/businessentities.Location/46"; } },

How to pre-condition a column header in the excel module

2017-04-27 Thread L Eder
Hi members: An user excel file contains leading and trailing spaces in some of the column headers. Examples: " January ", " January" As consequence the resulting imported rows are set as 0. Is there any means in the excel module that alows me to pre-trim those headers before the row bind ha

Re: A dependency case in Isis

2017-04-27 Thread L Eder
ehne + Nagel / Ham GI-DP < > joerg.r...@kuehne-nagel.com> wrote: > >> Does you import section contain: >> {code} >> import javax.jdo.annotations.Column; >> {code} >> -j >> -Ursprüngliche Nachricht- >> Von: L Eder [mailto:eder200...@gma

Re: A dependency case in Isis

2017-04-27 Thread L Eder
alse). > > The @Property annotation is an Isis one, not recognised by DataNucleus. > > On Wed, 26 Apr 2017, 12:25 L Eder, wrote: > >> Hi Ahmed, i tried marking the column using this >> >>@Property(notPersisted=true) >> >> without effect.

Re: A dependency case in Isis

2017-04-26 Thread L Eder
not required. > > Sorry for the short reply. Sent from phone. > > Best Regards, > Ahmed > > On 25 Apr 2017, 15:43 +0200, L Eder , wrote: >> Hello members >> >> i have this use case, in that i need to extract some data from a >> repository object of the own

Re: Floating point value always rounded when rendered in a collection

2017-04-25 Thread L Eder
Hi Jeroen, it is against disk-based MySQL v5.7. It is Win64 x86_64 (if that is what you mean for scale). Do you a tip on this issue? - -webapp module's pom.xml jdbc driver portion: " jdbc-mysql

A dependency case in Isis

2017-04-25 Thread L Eder
Hello members i have this use case, in that i need to extract some data from a repository object of the own entity. Let me explain: In the creation of a new entity Scenario, i have to select a past scenario, via drop-down list of Scenario repository. Then i did this: i added a reference property

Floating point value always rounded when rendered in a collection

2017-04-18 Thread L Eder
Hi members: How can that be possible? A floating point value renders correctly if displayed in a toast, but undesired rounded up if displayed in a collection. See [1]. Anyone could point me what is wrong or missing in the below source code? Thanks, Eder [1] https://drive.google.com/file/d/0B9A

Re: Selective excel import columns

2017-04-13 Thread L Eder
user to specify > the desired months (I'm thinking of a wizard model here). But I have not > experimented enough with the UI. Do we support multi-select from a list...? > Would this even help...? > > Regards, > Kevin > > > On 13 April 2017 19:39:43 CEST, L Eder wrote:

Re: Selective excel import columns

2017-04-13 Thread L Eder
attribute(s) should i use for the control? Kevin, this excel import task happens many times in a month. Each file has plenty of rows, thus the user could not mark each target row as "import this", in risk of become tired and rejecting the application. Thanks 2017-04-13 13:28 GMT-04:

Re: Selective excel import columns

2017-04-13 Thread L Eder
f your handler to just ignore the rows that aren't >>important. There is no mechanism (currently, at least) to import rows >>1 >>thru 100 only, say. >> >>HTH >>Dan >> >> >>On Thu, 13 Apr 2017 at 02:41 L Eder wrote: >> >>>

Selective excel import columns

2017-04-12 Thread L Eder
Hi members: I have a sheet that includes the months of year as columns. I would like to import only a range of those columns, rather all at once. Anyone could point me as to do that using the excel isis module? Thanks, Eder

Re: M:N association refuses to work

2017-04-06 Thread L Eder
tance(Result.class); result.setDescription(description); result.setSimulationYear(simulationYear); result.setStatus(status); return result; } } " 2017-04-06 12:20 GMT-04:00, L Eder : > Hi members of this forum: > > I have this situation - a Scenario

M:N association refuses to work

2017-04-06 Thread L Eder
Hi members of this forum: I have this situation - a Scenario entity comprised of many Result entities. And vice-versa. I then add the first result to a sortedset, using Scenario.runScenario(). However when i add the second result object, in Scenario.adjustResult(), the first one is overwritten.

Unable to see ceated objects rendered in a collection

2017-03-24 Thread L Eder
Hi members: If i add existing child objects (Linha), that is ok. However what i want is to create new ones (Posto). Nothing is rendered, neither any errors is catched. Thanks for any light on this issue, Eder The source code is: Parent entity: Modelo.java " package domainapp.dom.osd; import jav

Re: Derived property rendered in a 1:1 association

2017-03-24 Thread L Eder
;public class Child { >>public String title() { >>return getProp1()+getProp2(); >>} >> >>} >> >>On 22 March 2017 at 15:53, L Eder wrote: >> >>> Hi members: >>> >>> i have this: >>> >>

How can i specify the property that is displyed in a 1:1 association

2017-03-22 Thread L Eder
Hi members: Child class In a parent-child object association, how could i have a derived property in the child class being rendered

Derived property rendered in a 1:1 association

2017-03-22 Thread L Eder
Hi members: i have this: Child class: String prop1; String prop2; and Parent class: private SortedSet collec = new TreeSet(); public Parent add (final Child child) {...} How can i have prop1 + prop2 rendered when add() is executed? Currently is prop1 the one being, by default,

Wrong behavior when I set the parent on the child, in an 1:m assoc

2017-03-14 Thread L Eder
Hi members: I have a Skills entity that has two instances. And i have Operador as its parent, and I created two instances of it. I then add skill1 to operador1. However when I add skill1 to operador2, then skill1 is moved to operador2 from operator1. I would like both operador instances has both

Re: Unable to import reference property columns when using isis-module-excel

2017-03-09 Thread L Eder
hen do the look up from the identifier of > the entity to the entity itself. > > See Estatio for some examples, eg > https://github.com/estatio/estatio/tree/master/estatioapp/impmgr/src/main/java/org/estatio/app/services/indexmaint > > HTH > Dan > > > > On Thu, 9 Mar

Re: Unable to import reference property columns when using isis-module-excel

2017-03-09 Thread L Eder
lowsNull = "true") @MemberOrder(name="Details", sequence="2") @Getter @Setter private ComponentOrigin origin; // endregion // region > associated models (property) // endregion //region > compareTo, toString @Override public int compareTo(final Component other) { return org.apache.isis.applib.util.ObjectContracts.compare(this, other, "description"); } @Override public String toString() { return org.apache.isis.applib.util.ObjectContracts.toString(this, "description"); } //endregion } " 2017-03-09 1:00 GMT-04:00, Stephen Cameron : > Code snippet? > > On Thu, Mar 9, 2017 at 2:04 PM, L Eder wrote: > >> Hi members: >> >> In this issue only the value property columns are imported. >> Except the reference property columns, who values appear wrongly as >> '(none)'. >> >> Has anyone experienced this issue? >> Thanks, eder >> >

Data grid style of data entry

2017-03-08 Thread L Eder
Is that multiline possible in the current Isis release, eg, an action that allows multiple rows of data to be entered? For example, in a case of an action that the user repeats a entry of same type, as in the update of the Quantity column of many rows at once in a collection.

Unable to import reference property columns when using isis-module-excel

2017-03-08 Thread L Eder
Hi members: In this issue only the value property columns are imported. Except the reference property columns, who values appear wrongly as '(none)'. Has anyone experienced this issue? Thanks, eder

Backend webconsole in contact app

2017-03-07 Thread L Eder
Hi Members: Anyone knows how to launch the backend wicket viewer? I am getting 404 error. Thanks in advance, Eder

Re: [ANN] Apache Isis version 1.14.0 Released

2017-03-03 Thread L Eder
The new feature - collection parameter - worked well in an action button. But refuses to work in a menu entry, for example Create. I tried the support methods, of course, and even the DomainObject alternative, without success. Error message: " Collection action parameter found without supporting

Multi object data entry

2017-03-03 Thread L Eder
Hi members: I got the new feature - collection in action parameters - in release 1.14, and was successfully able to run it. See [1]. In the depicted case i entered multiple Component objects at once. However there is another input parameter - Quantity. I would like to know if there is a way to e

Many-to-many association

2017-03-01 Thread L Eder
Hi members: I have two entities - Product, Component. A product is made of a list of components, each one with its respective quantities. At the same time a same component is use in different products. It is sort of a bill of materials, but as a simple, one-level. Anyone could suggest a way to

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-27 Thread L Eder
pplication? >> Best regards, >> Johan Doornenbal+31 6 227 666 28 >> [1] https://github.com/estatio/estatio/blob/master/pom-jdo-enhan >> ce-all.xml >> >> >> >> >> >> On Wed, Feb 22, 2017 3:54 PM, L Eder eder200...@gmail.com wrote: >>

Re: One-to-many association fails to work

2017-02-24 Thread L Eder
bject(bounded=true) on the referenced type, or supporting > choicesNXxx() or autoCompleteNXxx() methods fir the relevant actions. > > HTH, > Dan > > On Fri, 24 Feb 2017, 18:30 L Eder, wrote: > > > Hi members: > > > > Could someone point me out in the belo

One-to-many association fails to work

2017-02-24 Thread L Eder
Hi members: Could someone point me out in the below source code what is wrong or missing? I want to depict: Scenario 1-* Components The problem is I am unable to see a drop-down list of scenarios in the Component's create UI. It is only read '(none)' there. The same symptom is seen i

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-22 Thread L Eder
Johan, i configured the DataNucleus enhancer only for the dom module. Should i add another one for the fixture module, where the problem class lives in? 2017-02-22 10:20 GMT-04:00, L Eder : > That is the class. And it already carries @PersistenceCapable: > > &q

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-22 Thread L Eder
"unused") private DomainObjectContainer container; //endregion } " 2017-02-22 9:23 GMT-04:00, Johan Doornenbal : > Hi Eder, > This is a datanucleus issue. Make sure the classes are enhanced … > Best regards, > Johan Doornenbal+31 6 227 666 28 > > > &

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-22 Thread L Eder
I got this same error when running the own Addon Template. 2017-02-22 8:12 GMT-04:00, L Eder : > I tried the IDEA import as well, but i am fighting errors there, after > i run the created configuration. Any help is thankful. > > > “ > [IsisWicketApplication main ERROR] Fa

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-22 Thread L Eder
I tried the IDEA import as well, but i am fighting errors there, after i run the created configuration. Any help is thankful. “ [IsisWicketApplication main ERROR] Failed to initialize com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error in custom pr

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-21 Thread L Eder
m2e m2e.version target-ide app dom fixture integtests webapp "

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-21 Thread L Eder
0, Stephen Cameron : > Previously the idea of an object builder object has been suggested, it > would seem a simple approach that could work in each tab is a step. > > On Tuesday, February 21, 2017, L Eder wrote: > >> Cool Erik, thanks for your time. I browsed your code and perce

Re: Wizard-style user interface for when entering data for a new domain object

2017-02-20 Thread L Eder
sing some concepts form the Apache Isis wizard add on [1] and >> added some things like a bread crumb. Also use layout-xml files for the >> pages and buttons instead of using the fixed buttons. Didn't have the time >> yet to share this. I will try to do that this week, so you ca

Wizard-style user interface for when entering data for a new domain object

2017-02-20 Thread L Eder
Hi members: Anyone having a tip to share on how to build such a type of form? Idea is to have one form with Back and Next buttons, navigating through screens related to layout groups, say General, Details, Misc, etc. Regards, Eder

How to persist the objects imported by Excel module

2017-02-16 Thread L Eder
Hi Dan: Could you give suggestion on how to persist, from inside a *Repository class, the objects imported by the excel module? Regards, Eder

Re: Missing class WorksheetSpec in excel module

2017-02-16 Thread L Eder
Just fixed, after updated the module version (to 1.13.6, from 1.13.0). 2017-02-16 11:07 GMT-04:00, L Eder : > Hi group members: > > I am having a "Cannot resolve symbol" issue in > org.isisaddons.module.excel.dom. > > My module version is 1.1.3.0 > > Any one solved this issue? thanks, Eder >

Missing class WorksheetSpec in excel module

2017-02-16 Thread L Eder
Hi group members: I am having a "Cannot resolve symbol" issue in org.isisaddons.module.excel.dom. My module version is 1.1.3.0 Any one solved this issue? thanks, Eder

Re: How to hide a menu obejct

2017-02-15 Thread L Eder
n module. > > HTH, > > Oscar > > > [1] https://github.com/isisaddons/isis-app-todoapp/blob/master/README.md > > [2] https://github.com/isisaddons/isis-app-todoapp/tree/master/ > app/src/main/java/todoapp/app > > > > Disculpa que sea breve. > Enviado desde mi

Re: How to hide a menu obejct

2017-02-15 Thread L Eder
> > work. >> > >> > In this case, if you don't need a menu then just delete >> > QuickObjectsMenu. >> > It doesn't have any behaviour other than delegating to >> > QuickObjectRepository. >> > >> > You are corre

Re: How to hide a menu obejct

2017-02-15 Thread L Eder
ickObjectRepository.create(name); } //endregion //region > injected services @javax.inject.Inject QuickObjectRepository quickObjectRepository; //endregion } " 2017-02-15 10:35 GMT-04:00, Dan Haywood : > Should be easy ... can you post the code of the domain service that

How to hide a menu obejct

2017-02-15 Thread L Eder
Hi Dan: I browsed the documentation for a way to hide a menu object but properties and actions. The closest thing found was @NotInServiceMenu. I tried some combinations, even using the NatureOfService enum, but no success so far. Idea is to omit, eg, prevent QuickObjects entity from being rendere

Unable to layout a object page

2017-02-14 Thread L Eder
Hi Dan: I would like help in two things: 1- to have two groups - General, and Details - of properties for my object Component, using @MemberOrder, however what i am getting is all them under the single default group General. 2- Would like to fill-in all the properties, when creating, however onl

Re: Error "The application failed to start due to a number of metamodel validation errors..."

2017-02-14 Thread L Eder
, it infers the > backing field from the getter ... so getDescription() is expected to be > backed by "description", not "Description". > > Hope that makes sense. Raise a ticket in JIRA if you can think of a better > way for us to handle this > >

Re: Error "The application failed to start due to a number of metamodel validation errors..."

2017-02-14 Thread L Eder
DomainEvents = n PropertyType = String template Domain Service (Repository) EntityName = Component Property = Description PropertyType = String 2017-02-14 10:10 GMT-04:00, L Eder : > The intact template-generated source code was: > > Component.java: > " > package domainapp

Fwd: Error "The application failed to start due to a number of metamodel validation errors..."

2017-02-14 Thread L Eder
IfNotAlready(component); return component; } @Programmatic public Component findOrCreate( final String Description ) { Component component = findByDescription(Description); if (component == null) { component = create(Description); } return component; }

Error "The application failed to start due to a number of metamodel validation errors..."

2017-02-14 Thread L Eder
Hello isis users: I tried to create my first domain object, called Component, using the file templates. I created a package under the dom module, and created the files Component. java, ComponentMenu.java, and ComponentRepository.java. I then ran the project, without build errors. However, openi

Re: UnavailableClassException when running isis-app-quickstart

2017-02-07 Thread L Eder
rks. And if it does work, then pull requests gladly accepted. > > Thx, > Dan > > On Tue, 7 Feb 2017, 12:08 L Eder, wrote: > >> Hi Johan: >> >> The error was gone thanks the program argument value you suggested. >> In my configuration, i followed the dev

Re: UnavailableClassException when running isis-app-quickstart

2017-02-07 Thread L Eder
Hi Johan: The error was gone thanks the program argument value you suggested. In my configuration, i followed the dev guide (letting that field empty). How could i have that one not mandatory? Thanks, 2017-02-06 16:41 GMT-04:00, Johan Doornenbal : > Hi Eder, > Welcome to the Apache Isis userlist