Return-Path: X-Original-To: apmail-isis-users-archive@www.apache.org Delivered-To: apmail-isis-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C75610DDE for ; Sat, 28 Dec 2013 23:02:45 +0000 (UTC) Received: (qmail 88013 invoked by uid 500); 28 Dec 2013 23:02:45 -0000 Delivered-To: apmail-isis-users-archive@isis.apache.org Received: (qmail 87980 invoked by uid 500); 28 Dec 2013 23:02:44 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 87972 invoked by uid 99); 28 Dec 2013 23:02:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Dec 2013 23:02:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Dec 2013 23:02:39 +0000 Received: by mail-qc0-f169.google.com with SMTP id r5so9903121qcx.28 for ; Sat, 28 Dec 2013 15:02:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=37F9GqylTGrNPAkzUSAO3maKZ1RDk8wehulNBRK3jj8=; b=ARKYsxagFADrrt08tFxJLc6OLkcyKFQK6Gok7GNmtmE61wMaRCQs9JWGbyf3J16Jtz CZoU9KJvUCNedk30b+ASFX006wsBlEdxldqQQp2+7XYIPKhfFbN3m0+aAHdIAEo9u1+F TH2WUUhriKp1QGMjWQW8qWLKoeO2Xfb5a+8LhPIczU74vAXvye08BbBuNH0DB5jTHyH/ 5yJ4PNeG17f7bHrFmf8pOfe0KC0T7pgNo/4PY0AQqyXfrXE/xjryZ4BgprmuYV1Lk85Q 6iqZp12nxxXVdusw5I3t+E8dOhRZP5mmR67cuCUOgue19XTJAjRxi0+LqgTtAnVeOqQ7 BzPg== X-Gm-Message-State: ALoCoQkWzsTlmc2kY2zO3buu5FLQ+A0QcBuNVUgKO5clJUrX6hyoRJEk1Ws1RBEYJkWv3h2zvPWA X-Received: by 10.229.29.1 with SMTP id o1mr92428382qcc.14.1388271738355; Sat, 28 Dec 2013 15:02:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.223.225 with HTTP; Sat, 28 Dec 2013 15:01:57 -0800 (PST) X-Originating-IP: [81.129.57.102] In-Reply-To: <24796235A2F23E4DABCBF8D28DD0B612014F83E6@DEERLM99EX1MSX.ww931.my-it-solutions.net> References: <24796235A2F23E4DABCBF8D28DD0B612014F82AA@DEERLM99EX1MSX.ww931.my-it-solutions.net> <24796235A2F23E4DABCBF8D28DD0B612014F83E6@DEERLM99EX1MSX.ww931.my-it-solutions.net> From: Dan Haywood Date: Sat, 28 Dec 2013 23:01:57 +0000 Message-ID: Subject: Re: ISIS Newbie To: "Chohan, Dharmesh" Cc: users Content-Type: multipart/related; boundary=001a1134b198d1a24204eea03352 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134b198d1a24204eea03352 Content-Type: multipart/alternative; boundary=001a1134b198d1a23104eea03351 --001a1134b198d1a23104eea03351 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Dharmesh, ... just to say again, I've replied to your questions below, but also have cc'ed the users@isis.apache.org mailing list. However, in the future could you please subscribe to the users mailing list (send blank email to users-subscribe@isis.apache.org) and ask questions that way rather than mailing me directly. Thanks Dan On 24 December 2013 10:23, Chohan, Dharmesh wrote= : > Hi Dan > > > > Thanks for your email. I have gone through the relevant links you > provided and am still struggling to start prototyping a project. Here ar= e > my specific questions. > > > > 1. Starting a clean project what is the Maven command to create a > template. I have run the quick start and the simple app. > > mvn archetype:generate -D archetypeGroupId=3Dorg.apache.isis.archetype -D > archetypeArtifactId=3D??? -D archetypeVersion=3D1.3.1 -D groupId=3Dmy.com= pany -D > artifactId=3DTopUp -D version=3D1.0-SNAPSHOT =96B > > > > 2. What is the minimum implementation requirement to create a > domain object. > The dom.simple.SimpleObject class *is* an example of a domain class. Try renaming this class (eg to Customer), renaming its properties, and then adding in new properties as you require. To instantiate and persist and instance of this class, you can use dom.simple.SimpleObjects, which is the registered domain service that acts as a factory and repository for the SimpleObject entity. Try renaming this class to match the entity name (eg to Customers). (If you do rename, then also change isis.properties config file in WEB-INF). > 3. This is what I am trying to achieve, > > Show a text label > Show a fixed value field non editable > Show a text input field > > > Example > > > > Enter your card number* (the last 12 digits only) > > > > > > Fixed > > Isis' viewers provide a default representation of every property, and at the moment this renders the label to the left of the field. I suggest you focus on the domain entity's properties, and worry less about how it represented. Later on, we can get into how to customize the viewer if required. > > > > > I am also trying to disable the integration tests but they seem to be > running when I do the =93mvn clean install=94. I have closed the integra= tion > project and renamed the myapp-dom > src/test/java to /src/test/javaMOVED > > What you've done will disable the unit tests. To disable/ignore the integration tests, you need to exclude the myapp-integtests module. You can do this by opening up the parent pom.xml (myapp/pom.xml), locate the section, and remove/comment out the integtests line. Cheers Dan > > > Thanks > > Dharmesh > > > > > > > > *From:* Dan Haywood [mailto:dan@haywood-associates.co.uk] > *Sent:* Monday, December 23, 2013 12:49 PM > *To:* users; Chohan, Dharmesh > *Subject:* Re: ISIS Newbie > > > > Hi Dharmesh, > > > > Thanks for trying out Isis. Before you go any further, could you > subscribe to the users ML (send blank email to > users-subscribe@isis.apache.org)? I'm replying here directly to you as > well, but otherwise you'll miss any other replies. > > > > To answer your questions... > > > > On 23 December 2013 12:02, Chohan, Dharmesh > wrote: > > > Is there a documentation or > > > > The documentation is all on [1], which - if you've gone through the > quickstart - you've probably gone discovered already. > > > > > > step by step guide for ISIS? > > > > Lots of places you can look. (These are all linked from the documentatio= n > page [1]): > > * the screenshots tutorial [2] > > * the tutorial app I presented at a conference [3] (this is in github, ha= s > 22 separate tags for each of the steps, so is possibly closest to what yo= u > are after) > > * the applib programmers guide [4] > > * the Estatio app [5,6] ... this is an open source app that Jeroen (one o= f > the other Isis committers) and I are working on; shows you what an Isis a= pp > looks like "in real life". > > > > HTH > > Dan > > > > > > [1] http://isis.apache.org/documentation.html > > [2] http://isis.apache.org/getting-started/screenshots.html > > [3] https://github.com/danhaywood/rrraddd-isis-131 > > [4] http://isis.apache.org/applib-guide/about.html > > [5] http://isis.apache.org/getting-started/powered-by.html > > [6] https://github.com/estatio/estatio > > > > > > > > Thanks > Dharmesh > > > --001a1134b198d1a23104eea03351 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi Dharmesh,
... just to say again, I've replied t= o your questions below, but also have cc'ed the users@isis.apache.org mailing list. =A0However, in th= e future could you please subscribe to the users mailing list (send blank e= mail to users-subscribe@= isis.apache.org) and ask questions that way rather than mailing me dire= ctly.
Thanks
Dan


On 24 December 2013 10:23, Chohan, Dharmesh <= dharmesh.chohan@atos.net> wrote:

Hi Dan

=A0<= /p>

Thanks for your email.=A0= I have gone through the relevant links you provided and am still strugglin= g to start prototyping a project.=A0 Here are my specific questions.=

=A0<= /p>

1.=A0=A0=A0=A0=A0=A0 Starting a clean pro= ject what is the Maven command to create a template.=A0 I have run the quic= k start and the simple app.=A0=A0

mvn archetype:generate -D archetypeGroupId=3Dorg.apache.isis.archetype = -D archetypeArtifactId=3D??? -D archetypeVersion=3D1.3.1 -D groupId=3Dmy.co= mpany -D artifactId=3DTopUp -D version=3D1.0-SNAPSHOT =96B<= /p>

=A0

2.=A0=A0=A0=A0=A0=A0 What is the minimum = implementation requirement to create a domain object.


The dom.simple.SimpleObject class *is* an = example of a domain class. =A0 =A0Try renaming this class (eg to Customer),= renaming its properties, and then adding in new properties as you require.=

To instantiate and persist and instance of this class, = you can use dom.simple.SimpleObjects, which is the registered domain servic= e that acts as a factory and repository for the SimpleObject entity. =A0Try= renaming this class to match the entity name (eg to Customers). =A0(If you= do rename, then also change isis.properties config file in WEB-INF).
=A0

3.=A0=A0=A0=A0=A0=A0 This is what I am tr= ying to achieve,

Show a text label=A0

<= /span>

Show a fixed value field non editable

Show a text input field

=A0<= /p>

Example

=A0

Enter your card number* (the last = 12 digits only)

=A0

=A0


Fixed

<= /div>


Isis' viewers prov= ide a default representation of every property, and at the moment this rend= ers the label to the left of the field.

I suggest you focus on the domain entity's properti= es, and worry less about how it represented. =A0Later on, we can get into h= ow to customize the viewer if required.


=A0

=A0

=A0<= /p>

I am also trying to disab= le the integration tests but they seem to be running when I do the =93mvn c= lean install=94.=A0 I have closed the integration project and renamed the myapp-dom > src/test/java to /src/test/javaMOVED<= /u>

<= /div>


What you've done w= ill disable the unit tests. =A0To disable/ignore the integration tests, you= need to exclude the myapp-integtests module. =A0You can do this by opening= up the parent pom.xml (myapp/pom.xml), locate the <modules> section,= and remove/comment out the <module>integtests</module> line.

Cheers
Dan

=A0
=

=A0

Thanks

Dharmesh

=A0

=A0<= /p>

=A0<= /p>

From: Dan Haywood [mailto:dan@haywood-associates.co.uk]
Sent: Monday, December 23, 2013 12:49 PM
To: users; Chohan, Dharmesh
Subject: Re: ISIS Newbie

=A0

Hi Dharmesh,

=A0

Thanks for trying out Isis. =A0Before you go any fur= ther, could you subscribe to the users ML (send blank email to users-= subscribe@isis.apache.org)? =A0I'm replying here directly to you as= well, but otherwise you'll miss any other replies.

=A0

To answer your questions...

=A0

On 23 December 2013 12:02, Chohan, Dharmesh <dharmesh.chohan@a= tos.net> wrote:


Is there a documentation or

=A0

The documentation is all on [1], which - if you'= ve gone through the quickstart - you've probably gone discovered alread= y.

=A0

=A0

step by step guide fo= r ISIS?

=A0

Lots of places you can look. =A0(These are all linke= d from the documentation page [1]):

* the screenshots tutorial [2]=A0

* the tutorial app I presented at a conference [3] (= this is in github, has 22 separate tags for each of the steps, so is possib= ly closest to what you are after)

* the applib programmers guide [4]

* the Estatio app [5,6] ... this is an open source a= pp that Jeroen (one of the other Isis committers) and I are working on; sho= ws you what an Isis app looks like "in real life".<= /p>

=A0

HTH

Dan

=A0

=A0

=A0

=A0

=A0

Thanks
Dharmesh

=A0


--001a1134b198d1a23104eea03351-- --001a1134b198d1a24204eea03352--