Re: Using Java 8 streaming API with DataNucleus Collections requires "datanucleus-java8" plugin

2016-04-10 Thread Dan Haywood
It might be worth adding a section on the "beyond the basics" guide, or maybe as an faq? Actually, we could probably do with much more material on jdo/datanucleus ; I wonder if it even warrants having its own separate user guide? Hi all. Simply for all to know about it, if somebody is using Apach

Re: Scheduling commands from background threads

2016-04-09 Thread Dan Haywood
roduce the > behaviour, hopefully it is clear enough. > > -- Best regards, Igor Lobanov > > > On Saturday, 9 April 2016, 16:21, Dan Haywood < > d...@haywood-associates.co.uk> wrote: > > > > Just use the simpleapp archetype and add in the minimal amount of stuff &g

Re: Scheduling commands from background threads

2016-04-09 Thread Dan Haywood
e app using HSQL or something > similar? > -- Best regards, Igor Lobanov > > On Saturday, 9 April 2016, 15:33, Dan Haywood < > d...@haywood-associates.co.uk> wrote: > > > > That does sound like an issue. Probably the issue is in the addons > implementation r

Re: Scheduling commands from background threads

2016-04-09 Thread Dan Haywood
That does sound like an issue. Probably the issue is in the addons implementation rather than in Isis "proper", so will a bit easier to release a fix if that is a problem. Could you put together a simple example on github that demonstrates the problem, and document on its README how to reproduce?

Re: New screencasts for v1.12.0

2016-04-08 Thread Dan Haywood
s, dynamic layouts, custom CSS and so on. Enjoy! Dan [1] http://isis.apache.org/screencasts.html [2] https://www.youtube.com/playlist?list=PLbRpnAmQ6xsA-m4d2iwAuWrX1icJz0SnM On 4 April 2016 at 09:49, Dan Haywood wrote: > Yes, that's on the todo list. > I'll post to user

Re: [ANN] Apache Isis version 1.12.0 Released

2016-04-04 Thread Dan Haywood
> > Erik > > On 03/29/2016 08:04 PM, Dan Haywood wrote: > >> The Apache Isis team is pleased to announce the release of Apache Isis >> v1.12.0. >> >> New features in this release include: >> >> * much enhanced support for custom layouts, using

Re: New screencasts for v1.12.0

2016-04-04 Thread Dan Haywood
t; El 3 abr 2016, a las 21:26, David Tildesley > escribió: > > > > Thanks Dan,Very useful. > > Cheers,David. > > > > Sent from Yahoo Mail on Android > > > > On Sat, 2 Apr, 2016 at 0:00, Dan Haywood > wrote: Hi folks, > > > > I've spent

Re: ISIS app on Google Cloud App Engine

2016-04-02 Thread Dan Haywood
; César. > > -----Original Message- > From: Dan Haywood [mailto:d...@haywood-associates.co.uk] > Sent: Friday, April 1, 2016 10:32 AM > To: users > Subject: Re: ISIS app on Google Cloud App Engine > > On 31 March 2016 at 21:19, Cesar Lugo wrote: > > > Hello, I h

Re: ISIS app on Google Cloud App Engine

2016-04-01 Thread Dan Haywood
On 31 March 2016 at 21:19, Cesar Lugo wrote: > Hello, I have installed our application using Apache Isis on a Google Cloud > App Engine instance. It is working for the most part J, only with some > issues. On the browser's console, I get which seems to be due to the fact > that google maps is ca

New screencasts for v1.12.0

2016-04-01 Thread Dan Haywood
Hi folks, I've spent a few evenings recording some new screencasts for v1.12.0 [1] Do take a look, you'll probably see something that you weren't aware of. I plan to do some more still ... there's still lots of functionality that hasn't covered. If there's anything particularly you'd like me to

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

2016-03-30 Thread Dan Haywood
Hi Marianne, Sorry no-one got back to you on this before now. To help us help you, could you provide a simple example app up on github which will demonstrate the problem? Do though be aware that none of the fields are editable when rendered in a list/collection. It might be (I'm guessing here)

Re: New collection view and suppressing default view

2016-03-30 Thread Dan Haywood
> > That works but then the table was rendered lazily. The release notes of > Apache Isis 1.12.0 mentioned CollectionLayout#defaultView(). Using that > property I was able to render the table eagerly again. > > Thanks, > Erik > > On 03/30/2016 09:06 AM, Dan Haywood

Re: New collection view and suppressing default view

2016-03-30 Thread Dan Haywood
Hi Erik, I think you could achieve this by also replacing the default table component [1] (as well as registering your own), with your replacement of the default returning DOES_NOT_APPLY for those domain objects that implement your sortable interface. HTH Dan [1] http://isis.apache.org/guides/ug

Re: Save image as blob

2016-03-29 Thread Dan Haywood
The format of the image doesn't look quite right. I just did a quick experiment with the kitchensink app ( https://github.com/isisaddons/isis-app-kitchensink, using the KitchensinkAppManifestWithFixtures); seemed to work ok: - in the Wicket viewer, Data Types > First BlobClob Object can

[ANN] Apache Isis version 1.12.0 Released

2016-03-29 Thread Dan Haywood
The Apache Isis team is pleased to announce the release of Apache Isis v1.12.0. New features in this release include: * much enhanced support for custom layouts, using an optional separate XML layout file "Xxx.layout.xml". This is similar in concept to the earlier support we have had for custom

[RESULT] [VOTE] Apache Isis Core 1.12.0

2016-03-28 Thread Dan Haywood
The vote has completed with the following result : +3 (binding): Jeroen van der Wal, Kevin Meyer, Dan Haywood The vote is SUCCESSFUL. I'll now go ahead and complete the release procedure.

Re: XMLHttpRequest cannot load

2016-03-28 Thread Dan Haywood
This is a CORS error ... a security precaution implemented by web browsers. It prevents your Javascript is attempting to make a RESTful call to a different URL (192.168.0.20) than it was served from (localhost). You either need to serve the Javascript itself from that same origin (192.168.0.20) o

Re: Use of Mixins

2016-03-20 Thread Dan Haywood
) { > > this.title = title ; > > } > > public TitleUiEvent() { > > > > } > > } > > > > } > > > > > > // Subscriber > > > > > > @DomainService(nature=NatureOfService.DOMAIN) > > public class MyclassTitle extends AbstractSubs

Re: Editing collections(tables)

2016-03-19 Thread Dan Haywood
ay 500px ) horizontal scrollbar appeared in the table.This > behavior is undesired. Please do give a guidance on the matter. Thank you > for the information. > > regards, > Dilshan. > > On Wed, Mar 9, 2016 at 1:53 PM, Dan Haywood > wrote: > > > Actually, the Propert

Re: Failed to execute goal org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger

2016-03-19 Thread Dan Haywood
Yes, I'm aware of this issue .. https://issues.apache.org/jira/browse/ISIS-1315 Hoping to have it fixed for 1.12.0. Meantime, workaround is to download the swagger spec from the prototyping menu while running the app. On 17 March 2016 at 23:46, Arturo Ulises Castañeda Estrada < arturo.castan..

Re: Writing audit entries after action/transaction complete?

2016-03-19 Thread Dan Haywood
ivemq is a bit to much effort for a small > improvement but it could be interesting in the future. > > Met vriendelijke groet, > > > *Erik de Hair* > > Software Engineer | Pocos bv > > > On 03/14/2016 10:30 AM, Dan Haywood wrote: > >> >> Hi Erik, >

Re: Editing collections(tables)

2016-03-19 Thread Dan Haywood
on. > > Best Regards, > Dilshan. > > On Thu, Mar 17, 2016 at 6:41 PM, Dan Haywood > > wrote: > > > Hi Dilshan, > > > > sorry not to get back to you on this before now. > > > > I wasn't able to just use CSS as things are in 1.11.1, but I&

Re: Problem with menu bars translation

2016-03-16 Thread Dan Haywood
es. The content of the pages is >> custom, so it is using Wicket's .properties.xml. >> >> The history of >> >> https://github.com/apache/isis/commits/master/core/viewer-wicket-impl/src/main/java/org/apache/isis/viewer/wicket/viewer/services/LocaleProviderWicket.java

Re: Writing audit entries after action/transaction complete?

2016-03-14 Thread Dan Haywood
Hi Erik, yes, the framework calls the auditing service within the transaction. The implementation of the auditing service is pluggable however, and in fact the framework did not itself provide an out-of-the-box implementation. I presume you are therefore referring to the Isis Addons implementatio

Re: Problem with menu bars translation

2016-03-14 Thread Dan Haywood
rowser. > > Not sure if it was an Isis or Wicket trick ... > > > > El 13 mar 2016, a las 20:03, Dan Haywood > escribió: > > > > Hi Roberto, > > > > which version of Apache Isis are you on? And can you provide a small > > example in github, base

Re: Problem with menu bars translation

2016-03-13 Thread Dan Haywood
Hi Roberto, which version of Apache Isis are you on? And can you provide a small example in github, based on the simpleapp, and describe how to reproduce the issue? thx Dan On 9 March 2016 at 16:34, Roberto Lavalle de Juan < roberto.lava...@tellmegen.com> wrote: > Hi again :) > > if I have th

Re: Performing bulk operations on view models

2016-03-13 Thread Dan Haywood
Hi Vishma, yes, the question makes sense, but this capability isn't there yet. I think that there's a ticket requesting it, but it hasn't got to the top of the pile. The workaround is to have your view model provide an action that returns a standalone collection against which you can perform the

Re: Error with ObjectType Deprecated

2016-03-11 Thread Dan Haywood
in isis.properties you'll find: isis.reflector.validator.allowDeprecated=false change that to true. Or, replace the deprecated @ObjectType annotation with @DomainObject(objectType=...) HTH Dan On 11 March 2016 at 17:22, Angel Manuel Barrera Lugo < angel.barr...@sisorg.com.mx> wrote:

Re: JAXB annotated classes as domain objects

2016-03-10 Thread Dan Haywood
fyi, I've tackled ISIS-1299, so in 1.12.0 any JAXB view models will be implicitly editable. On 28 January 2016 at 23:13, Dan Haywood wrote: > Hi Vishma, > At the moment JAXB view models are immutable; only view models that > explicitly implement ViewModel.Cloneable are "

Re: Problem in petclinic tutorial // schema name incorrect

2016-03-09 Thread Dan Haywood
I'm trying to remember, is postgresql case sensitive? There's some code in Isis that applies some heuristics for this; is also puddings to use the raw underlying datanucleus properties to influence things. Could you spell out exactly what you did to create the error so I can try to replicate? Th

Re: Problem in petclinic tutorial // schema name incorrect

2016-03-09 Thread Dan Haywood
If you are using MySQL, then I think that it does not automatically create the schemas; as Stephen says, you may need to create them manually. if you check out the solution to step 5 ( https://github.com/johandoornenbal/petclinic_mynewcode/tree/tutorial02), does that work or not? On 9 March 2

Re: Editing collections(tables)

2016-03-09 Thread Dan Haywood
Actually, the PropertyLayout#typicalLength() is intended as a UI hint as to the size of the text box... how many characters would typically be in that field, and thence how wide to render the text field. That's where the name comes from, and why it's in the XxxLayout annotation. The Property#maxL

Re: Combo box or DropDown for a dynamic set of inputs

2016-03-07 Thread Dan Haywood
... but if you did want to follow Stephen's suggestion and use an object (rather than a value type), then that object can be annotated either with @DomainObject(bounded=true) ... for a simple drop-down or @DomainObject(autoCompleteRepository=..., autoCompleteAction=...) ... for an autocomplete

Re: New video showing the upcoming dynamic layout support

2016-03-07 Thread Dan Haywood
On 7 March 2016 at 10:18, Dan Haywood wrote: > Working on updating the website docs at the moment... > > docs updated http://isis.apache.org/guides/ugfun.html#_ugfun_object-layout_dynamic_xml http://isis.apache.org/guides/rgsvc.html#_rgsvc_api_LayoutService http://isis.apache.o

Re: Multiple build problems on simpleapp-archetype on Java 1.7

2016-03-07 Thread Dan Haywood
fixed. On 7 March 2016 at 12:52, Dan Haywood wrote: > Ah ok. I'll fix that this evening. > Thx, Dan > On 7 Mar 2016 12:50, "Nacho Cánovas Rejón" > wrote: > >> Hi everyone. >> >> I rescue this thread because I have some issue running with Java 1.

RE: Multiple build problems on simpleapp-archetype on Java 1.7

2016-03-07 Thread Dan Haywood
f that problem > and found the Maven Animal Sniffer Plugin [2] , but couldn't make it > intercept that specific problem (source and target on 1.7 should > suffice...) Anyway it looks interesting (other than specific jdks) for > other APIs too by means of scanning signatures... Ju

Re: New video showing the upcoming dynamic layout support

2016-03-07 Thread Dan Haywood
rom a layout.json file) will continue to be honoured... @MemberOrder is used to bind a property to a fieldset, and the @XxxLayout annotations provide UI hints for the object members themselves. Working on updating the website docs at the moment... Cheers, Dan > > Regards, > > Oscar

Re: Annotations for configuring collections?

2016-03-07 Thread Dan Haywood
Rather than hidden: EVERYWHERE, you can also use ALL_TABLES, PARENTED_TABLES and (often very useful) REFERENCES_PARENT. There is a ticket somewhere to provide more control in this area, but it hasn't got to the top of the todo list yet, I'm afraid. HTH, Dan On 7 Mar 2016 4:00 am, "Vishma Senadhi

New video showing the upcoming dynamic layout support

2016-03-05 Thread Dan Haywood
at https://youtu.be/MxewC5Pve5k this feature will be available in Apache v1.12.0, which I expect to be released by the end of this month (March 2016) at the latest. The code is in 1.12.0-SNAPSHOT master branch if you want to try it out before then. I didn't mention it in the video, but the featu

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

2016-03-04 Thread Dan Haywood
ple: I want to create the FreeText object and then add this > >> FreeText object to the collection/set that is linked to the parent > object. > >> All in one operation. I do not want to first enter the FreeText > >> object in a different window. > >> > >>

Re: View Models -----> on screen editing

2016-03-04 Thread Dan Haywood
Stephen is correct. There is, though, a ticket [1] opened to see if this can be fixed. By the way, in 1.12.0 the domain object editing will change to use prompts, one field at a time. The primary reason is that 1.12.0 will also introduce much more flexible customizable layouts (tabs!!!) as per I

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

2016-03-03 Thread Dan Haywood
I'm struggling to follow. Can you show us some code (abbreviated if possible ) to explain what you have already. Thx, Dan On 3 Mar 2016 7:11 am, "Marianne Hagaseth" < marianne.hagas...@marintek.sintef.no> wrote: > Hi, > > How can I add new FreeTexts to the SOLAS object that currently does not > ex

Re: "invalidReason":"Expected a link (because this object's type is not a value)

2016-03-02 Thread Dan Haywood
.168.0.20:8080/restful/objects/simple.BusinessLocation/1" } > }, > quantity: 1 > } > > in quantity parameter has been the mistake, should be: > > quantity: { > value: 1 > } > > thanks for all... > >

Re: "invalidReason":"Expected a link (because this object's type is not a value)

2016-03-01 Thread Dan Haywood
It does look correct to me, what you are doing. Dia it written on when you use Postman or similar from Chrome? If you could provide a test app on github demonstrating the problem, then I'll take a deeper look. I'll also record a screencast tomorrow to show how to use the API from chrome, at leas

Re: Use of Mixins

2016-03-01 Thread Dan Haywood
The easiest approach is probably to use the UiEvent classes defined in @DomainObjectLayout, and then set up a subscriber of these events. HTH, Dan On 2 Mar 2016 07:03, "Shan Wijesinghe" wrote: > Hi all, > >I have a JAXB annotated view model. I want to change "title" and > "iconName" using a

Re: Multiple build problems on simpleapp-archetype on Java 1.7

2016-02-28 Thread Dan Haywood
Hi Diego, OK, so I just tried this out, and you are right that there is a slight issue trying to compile the code under JDK 1.7, but it's easy enough to work around. basically, where you are getting the compile exceptions, change the code to cast to the raw type, eg: @Override public Li

Re: "invalidReason":"Expected a link (because this object's type is not a value)

2016-02-26 Thread Dan Haywood
Use: shoppingCart:{ value: { href: " http://192.168.0.20:8080/restful/objects/simple.ShoppingCart/140"} } ie, the "href" is within a "value". The error message you received is actually showing the structure required. HTH Dan On 26 February 2016 at 19:16, Arturo Ulises Castañeda Estrada < ar

Re: Build error during org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger

2016-02-26 Thread Dan Haywood
The workaround, in the meantime, is to generate the swagger specs from within the app. These are under the Prototyping menu. Meanwhile, I've raised ISIS-1315 [1] for the issue. Thx Dan [1] https://issues.apache.org/jira/browse/ISIS-1315 On 26 February 2016 at 19:22, Dan Haywood

Re: Build error during org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger

2016-02-26 Thread Dan Haywood
Hi Paulo, okay, have taken a look, and it is an issue for sure. Need to think about how to resolve it, not yet got a plan. Will definitely look to fix for 1.12.0, though. Thanks for reporting Dan On 25 February 2016 at 13:51, Paolo Panconi wrote: > Hi all, > I have an error during the bui

Re: Overriding a field in a view model

2016-02-25 Thread Dan Haywood
ic boolean Field2Decoded() { > ... > } > > > ... > } > > > Can you suggest me a way to fix this and how to edit the JSON to customize > the layout. > > > > > > On 2/23/2016 12:15 PM, Dan Haywood wrote: > >> Hi Vishma, >>

Re: Overriding a field in a view model

2016-02-22 Thread Dan Haywood
Hi Vishma, It you can't change the original class - because it was written for some other purpose - then perhaps it might be better to wrap it in a view model of your own control. I'm not certain that overriding getBookType() is going to work, because it would impact any other users of that view

Re: instanceId

2016-02-19 Thread Dan Haywood
CartId = > autoNumberRepository.nextAutoNumber("SHOPPING CART ID" , null); > obj.setShoppingCartId(shoppingCartId); > obj.setCustomerSubscription(customerSubscription); > obj.setCreationTime(clockService.nowAsDateTime()); > obj.setStatus(ShoppingC

Re: instanceId

2016-02-19 Thread Dan Haywood
I suspect that's actually the instanceId of a domain object that's neither a view model nor a persistent entity, ie is a "transient" entity (not yet persisted to the DB). The RO viewer doesn't support such things (in fact, nor does the Wicket viewer anymore; they are a legacy of an earlier time).

Re: why a GET method would store value to database?

2016-02-17 Thread Dan Haywood
Hi, Dan, > > Thank you for your work. > > You are right , I call GET method without prefix "s_" originally. Now it > works fine with "s_" + id. > > But this information doesn't documented, would you please put this into > document ? > > Th

Re: why a GET method would store value to database?

2016-02-17 Thread Dan Haywood
lumn(name="updated_at",allowsNull="true") > public Long getUpdatedAt(){ > return this.updatedAt; > } > public void setUpdatedAt(Long time){ > this.updatedAt=time; > } > > public void persisting(){ > this.createdAt=clockService.nowAsMillis(); > } >

Re: Production questions

2016-02-17 Thread Dan Haywood
Hi David, Nice to hear you're enjoying using Apache Isis; and welcome to the mailing list. Not much to add to Jorg's answer, just a few clarifications: - re DB migration, we have thought of integrating with flyway [1], but actually I think you could just use it "as is", perhaps wrap it in a simp

Re: Collection argument for service

2016-02-15 Thread Dan Haywood
Hi Kambiz, sorry not to reply sooner. The framework doesn't currently provide any mechanism to plug-in alternative mechanisms for parsing inbound arguments; the REST API supports only the format defined in the Restful Objects spec [1] However, there's nothing to prevent you from defining your ow

Re: URL encoding issue ---> HttpParser full

2016-02-15 Thread Dan Haywood
s. > Best Regards, > Vishma. > > > On 2/15/2016 7:58 PM, Dan Haywood wrote: > >> Hi Vishma, >> >> You should just be able to implement your own version of the >> UrlEncodingService, using @DomainServiceLayout#menuOrder to ensure that >> your version is

Re: About how to consume a ws with angular

2016-02-15 Thread Dan Haywood
On 15 February 2016 at 22:40, Arturo Ulises Castañeda Estrada < arturo.castan...@sisorg.com.mx> wrote: > > Hi, all. > > > I using isis with angularJS so I have a web service with three variables > but does not get hrefs like the video. > > https://youtu.be/_-TOvVYWCHc?t=3m28s > > In the video thos

Re: URL encoding issue ---> HttpParser full

2016-02-15 Thread Dan Haywood
Hi Vishma, You should just be able to implement your own version of the UrlEncodingService, using @DomainServiceLayout#menuOrder to ensure that your version is picked up in preference to the framework-provided default [1]. For example, you could start with the demo implementation in the todoapp [

Re: 'Generating' User Help Documentation

2016-02-12 Thread Dan Haywood
Hi Stephen, I'm not certain about the idea of using Javadoc; I think that documentation tends to be more focussed for developers reading the code rather than end-users. My own thoughts on the idea was - rather as we have the supplementary Xxx.layout.json file - to also have an optional Xxx.md or

Re: Hot to use up a web service restfull

2016-02-10 Thread Dan Haywood
Can you explain in more detail what you want to do: - Is the Isis app calling the web service (is a client of the web service)? or - is the Isis app acting as the web services (to be called by other clients) My guess is that you're asking about the second of these. In which case, you probably

Re: Rename the project to better describe its values and purpose

2016-02-03 Thread Dan Haywood
3 On 3 February 2016 at 08:18, Dan Haywood wrote: > OK, so now it's my turn to re-raise this topic Actually, Jeroen and I > were discussing this at length off-list, but it is of course for the > community to decide. > > I've raised a JIRA [1], comments requested either on tha

Rename the project to better describe its values and purpose

2016-02-03 Thread Dan Haywood
OK, so now it's my turn to re-raise this topic Actually, Jeroen and I were discussing this at length off-list, but it is of course for the community to decide. I've raised a JIRA [1], comments requested either on that ticket or as a response to this mail (and I'll transpose them over). Thx Dan

Re: why a GET method would store value to database?

2016-02-01 Thread Dan Haywood
nslatableString.tr("Exclamation mark > is not allowed"): null; > } > > > > public static class DeleteDomainEvent extends > ActionDomainEvent {} > @Action( > domainEvent = DeleteDomainEvent.class, > semantics = SemanticsOf.NON_IDEMPOTENT_ARE

Re: JAXB annotated classes as domain objects

2016-01-28 Thread Dan Haywood
Dan [1] https://issues.apache.org/jira/browse/ISIS-1299 On 26 January 2016 at 05:14, Vishma Senadhi Dias wrote: > Hi Dan, > > Can you please tell me a way to enter data into a view model? I cannot > find a way to update contents of the view model created via JAXB > annotations.

Re: Emulating left outer joins with JDOQL

2016-01-28 Thread Dan Haywood
Could you copy all the relevant code so that I can write this up as an faq ? On 28 Jan 2016 17:17, "Willie Loyd Tandingan" wrote: > It worked! "datanucleus.query.jdoql.{varName}.join" had to be set to > OUTERJOIN for both pt and t. Thanks! > > On Sun, Jan 24, 2016 at 2:45 AM, Willie Loyd Tandinga

Re: Issue with custom domain object : Exception --> Resolve state

2016-01-27 Thread Dan Haywood
Hi Vishma, I think you said you would upload a simple example to a github repo? If you can do that then I'll take a look this evening. In the meantime, from the stacktrace numbers it looks like the domain object that you are getting to render isn't actually a view model, which means it doesn't ha

Apache Isis releases are now tagged under "rel/"

2016-01-25 Thread Dan Haywood
Hi folks, [this mail is for those that build Apache Isis from source code; ignore otherwise] The ASF board recently gave guidance that git release tags should be held under "refs/tags/rel" branch, with any tags pushed to this path unmodifiable. This provides appropriate traceability/provenance of

Re: JAXB annotated classes as domain objects

2016-01-25 Thread Dan Haywood
Hi Vishma, What's the objective here... what do you want the end user to be able to do, and what do you want to be shown in the app? What's are the domain concepts involved? Perhaps you could share some of the code you've written thus far to help us understand. If you can upload what you have a

Re: why a GET method would store value to database?

2016-01-25 Thread Dan Haywood
As Martin says, the DN error is perhaps a bit misleading ... I believe the "store" action here is DN repopulating the pojo with data from the database, rather than the other way around. In Isis the JdoObjectIdSerializer class [1] is responsible for converting between the Isis RootOid and the DN Ob

Re: In-memory domain objects

2016-01-24 Thread Dan Haywood
Hi Willie, ... within On 19 January 2016 at 06:27, Willie Loyd Tandingan wrote: > > Is it possible to remove the deprecated @Hidden annotation on > ViewModel.Cloneable#clone? It currently causes metamodel validation to fail > and we don't want to set isis.reflector.validator.allowDeprecated. > >

Re: Integration with Keycloak?

2016-01-24 Thread Dan Haywood
Following on, I've raised ISIS-1297 for this feature request. https://issues.apache.org/jira/browse/ISIS-1297 On 24 January 2016 at 12:31, Dan Haywood wrote: > Hi Anton, > > and welcome to the users mailing list. > > Yes, it should be possible to integrate keycloak, a

Re: Integration with Keycloak?

2016-01-24 Thread Dan Haywood
Hi Anton, and welcome to the users mailing list. Yes, it should be possible to integrate keycloak, and there are several approaches you could take. As described in our security guide [1] Apache Isis has a pluggable API for both authentication and authorization, so at the lowest level one could t

Re: Estatio Updates

2016-01-24 Thread Dan Haywood
This should now be fixed (CI just passed on Travis, running through on the cloudbees service as I write this). I've moved the toolchains plugin under the "apache-release" profile, so will only be activated when the "release manager" (ahem, me) does a release. Cheers Dan On 21 January 2016 at 08

[REPOST] Meet you at Fosdem 2016, 30 & 31 January, Brussels?

2016-01-24 Thread Dan Haywood
Jeroen and I will be attending Fosdem 2016, a free event for software developers to meet, share ideas and collaborate [1]. And drink some Belgian beers. We expect to mostly be hanging out in the Java Developer room, so please do try to find us if you are there. I believe there's at least one oth

Re: Documentation contribute

2016-01-20 Thread Dan Haywood
Hi Paul, Take a look at the contributors guide, specifically chapters 7 and 9, also the appendix 11 The docs are written in as Asciidoc and so (as Martin had said) you can raise pull requests on them, same as any other file in our repo. Let us know if you get stuck. Cheers, Dan On 20 Jan 2016 3

Re: AW: Datanucleus and IntelliJ?

2016-01-20 Thread Dan Haywood
Hi Marianne, Can you explain in more detail how to reproduce the problem, and what has changed since it worked. Also, if you run the simpleapp archetype and configure for MySQL, does that cause the same issue? Done screenshots uploaded to imgur.com or similar might also help. Thx, Dan On 20 Jan

Re: GUI resizing

2016-01-17 Thread Dan Haywood
Hi Paul, Yes, well, you're right... it doesn't render well on small devicecs. As we say, it's not been a priority for us to support this use case yet. The good news, though, is that we're doing some work on layouts for this next release, to provide far more control in layouts (also including th

[ANN] Apache Isis version 1.11.1 Released

2016-01-17 Thread Dan Haywood
The Apache Isis team is pleased to announce the release of Apache Isis v1.11.1 This is a bug-fix release that re-releases v1.11.0 compiled to run under Java 7 (the previous release incorrectly used some Java 8 APIs). The release also includes two minor updates to the simpleapp archetype: a minor

Re: Very slow column validation

2016-01-12 Thread Dan Haywood
echnology Architect - Sprint > O: +1 (972) 405-2970 | M: +1 (817) 791-1627 | **DotNet > jeremy.d.bran...@sprint.com > #gettingbettereveryday > > > > -Original Message- > From: Dan Haywood [mailto:d...@haywood-associates.co.uk] > Sent: Tuesday, January 12, 2016 6:54

Re: Very slow column validation

2016-01-12 Thread Dan Haywood
nitor to see. (I don't know if Oracle provides such a tool; worst comes to worse you could use the log4jdbc driver that we have commented out in persistor.properties. I did also notice that in the DN docs there is a remark about "validateColumns" being buggy for some JDBC driv

Re: Very slow column validation

2016-01-12 Thread Dan Haywood
Hi Jeremy, Is this JDO/Datanucleus' column validation we are talking about here, where it is verifying its in-memory metamodel of the persistent entities against the RDBMS? Or is it some other sort of query occuring in your code? I'm guessing the former. Just to narrow this down, if you disable

Re: Output Stream - Stream Writer, how to use?

2016-01-11 Thread Dan Haywood
Hi Torsten, and welcome to the users list. We do our best to be friendly here :-) Although I'm not sure what why your exact error is occurring, you are in fact going about this the wrong way. Apache Isis works at a higher level of abstraction than Wicket. For this particular use case we provid

Re: Apache Isis version 1.11.0 JAVA 1.7 Error

2016-01-10 Thread Dan Haywood
t; Thx > > Dan > > > > > > > > > > > > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > https://twitter.com/mtgrigorov > > > > > > On Fri, Jan 8, 2016 at 12:35 PM, Dan Haywood < > > d...@ha

Re: Load Data from Files at Startup

2016-01-10 Thread Dan Haywood
; that reads in files/resources as they become available? > Integrating with Apache Camel? > > Yes, or maybe using Quartz Scheduler. But I think you are moving out of the realm of fixture management and more into general application integration. HTH Dan > Best regards > Jörg >

Re: ignore eclipse lauch files

2016-01-10 Thread Dan Haywood
Hi Paul, We've not released these files for a while now, but I guess some documentation stlll refers to them. As it happens, (a) I still have those files around and (b) we have to re-release 1.11.0 due to a separate issue. So, in 1.11.1 I've reinstated these files. (Assuming the voting passes),

Re: Apache Isis version 1.11.0 JAVA 1.7 Error

2016-01-10 Thread Dan Haywood
list. This vote will stay open for min 72 hours, but if it passes then we should be able to release 1.11.1 on Wed pm or Thu am. Thx Dan > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Jan 8, 2016 at 12:35 PM, Dan Haywood > >

Re: Apache Isis version 1.11.0 JAVA 1.7 Error

2016-01-08 Thread Dan Haywood
Hi Nacho, Thanks for reporting this, which is obviously a problem. I think we should issue a patch (1.11.1) to fix that. And obviously I need to look at the release procedures so that this error doesn't occur in the future. I'll try to get a vote out this weekend. Thx Dan On 8 January 2

Re: Problems running Isis from Quartz Jobs

2016-01-04 Thread Dan Haywood
Hi Oscar, If I understand correctly, you are running integration tests (I see the beginning of the stack trace being junit) and at the same time there is a Quartz background job running? When the Isis runtime is bootstrapped for testing it uses the DeploymentType#UNIT_TESTING [1], which basically

Re: How should we handle void and null results

2016-01-04 Thread Dan Haywood
he OP (Yuri) was original after... Thx Dan [1] http://isis.apache.org/guides/ugfun.html#_ugfun_faqs_how-to-handle-void-and-null-results On 23 December 2015 at 14:55, Dan Haywood wrote: > I've raised ISIS-1282 [1] for this idea. > > Thx > Dan > > [1] https://issues.apache.org/

Re: [ANN] Apache Isis version 1.11.0 Released

2016-01-03 Thread Dan Haywood
e.org/jira/browse/ISIS-1289 [2] https://github.com/apache/isis/blob/isis-1.11.0/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSession.java#L1619 > > > > > On Sat, Jan 2, 2016 at 5:46 PM, Dan Haywood > wrote: > > > The Apache Isis t

[ANN] Apache Isis version 1.11.0 Released

2016-01-01 Thread Dan Haywood
The Apache Isis team is pleased to announce the release of Apache Isis v1.11.0. The main focus for this release is on the REST API and on view models using JAXB: * the Restful Objects viewer now supports simplified representations intended to make it easier to write custom Javascript (and other)

Re: Gmaps addon

2015-12-28 Thread Dan Haywood
to 1.10.0 in that demos parent project, not > 1.11.0-SNAPSHOT as it is in the repository, in case that matters. > > On Wed, Nov 18, 2015 at 7:31 AM, Dan Haywood > > wrote: > > > Interesting. OK, then, will look at that first. > > > > On 17 November 2015 at

Re: Data Transfer Object and View Models usage clarification

2015-12-28 Thread Dan Haywood
Hi Steve, ... and a merry Christmas to you also. Comments within... On 28 December 2015 at 09:23, Stephen Cameron wrote: > Hi, > > Merry Christmas to all and best wishes for 2016. > > I have to implement a 'bulk upload' monthly report in XML format to a > funding organisation. > > After readi

Re: AW: Unable to find component with id 'entityIconAndTitle'

2015-12-23 Thread Dan Haywood
> Hi Joerg, > > Please share just the sources, preferably in .zip/.tar format or github > repo. > The shared folder in GDrive is ~150Mb. I guess there are a lot of jars > inside it. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > >

Re: Wicket page session?

2015-12-23 Thread Dan Haywood
On 23 December 2015 at 16:42, Erik de Hair wrote: > On 12/23/2015 05:37 PM, Dan Haywood wrote: > >> try either: >> >> - domainapp-admin/pass >> - isis-module-security-admin/pass >> >> Dan >> > Both result in an exception. Does it matter how to start

Re: Wicket page session?

2015-12-23 Thread Dan Haywood
try either: - domainapp-admin/pass - isis-module-security-admin/pass Dan On 23 December 2015 at 16:35, Erik de Hair wrote: > Hi Martin, > > I tried to use the quickstart-app to reproduce the issue but I can't login > with the provided username/password combination. I looks like the > credenti

Re: How should we handle void and null results

2015-12-23 Thread Dan Haywood
when returning void or null, would > it be annotated with something like ”routeUsing=ThisRouter.class”. > > Perhaps something clearer would be to have a complementary one like > “routeTo=THIS” or similar. > > Cheers, > > Oscar > > > > > > El 22 dic 2015, a l

Re: Returning results of Wicket search component

2015-12-23 Thread Dan Haywood
OK, +1 on that. For updating of the ElasticSearch data, you could use the 1.10.0 lifecycle events. On 23 December 2015 at 13:56, Erik de Hair wrote: > Hi Dan, > > On 12/23/2015 02:04 PM, Dan Haywood wrote: > >> Hi Erik, >> >> Sorry not to get back to you before

<    2   3   4   5   6   7   8   9   10   11   >