Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 99F7A200D4F for ; Wed, 22 Nov 2017 04:48:16 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 98897160C0E; Wed, 22 Nov 2017 03:48:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8FD9E160BFC for ; Wed, 22 Nov 2017 04:48:15 +0100 (CET) Received: (qmail 69630 invoked by uid 500); 22 Nov 2017 03:48:14 -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 69618 invoked by uid 99); 22 Nov 2017 03:48:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2017 03:48:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 29D6EC4DFF for ; Wed, 22 Nov 2017 03:48:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.33 X-Spam-Level: *** X-Spam-Status: No, score=3.33 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLY=1, HTML_MESSAGE=2, KB_WAM_FROM_NAME_SINGLEWORD=0.2, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id iOXhABD7zMZL for ; Wed, 22 Nov 2017 03:48:11 +0000 (UTC) Received: from mail-ot0-f171.google.com (mail-ot0-f171.google.com [74.125.82.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 165B55F4E5 for ; Wed, 22 Nov 2017 03:48:11 +0000 (UTC) Received: by mail-ot0-f171.google.com with SMTP id b49so12459660otj.5 for ; Tue, 21 Nov 2017 19:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=rHqIleiNaEK0xofKQGZt2oQaCES9BHorRXy50XIRGCY=; b=siDbdF+6nePjvjKIwxXiukOFvE2Mzniz2jnBfPPv8u9LRlM4fV13lOpLZpvU/erjSH De86hJxi4erz1/a5pPDUA/dVKh3x83zxBiJP6XBUhertp0baqfmr45/3/rIH1Es+3KrG kSwagdMRyM+uCnH1CkIpPEybNtuFxJ3fXT4cUf8pK0UNwdzEUMffY8CNfMNQ9M+UROLu 8SWG2SN2Tw0ztJDmF9w1M6QPqdHvCXnzeWjPcd0pBsv/phzKVOuyUOTrZHfb9+tG0DXa +b/3ldBpkgNp4F8Fir7YoqO2CWWRTsOeVJIQIHfl6jIbvTKA9ECfk+N/Qb5sofnDfUBR k0MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rHqIleiNaEK0xofKQGZt2oQaCES9BHorRXy50XIRGCY=; b=NoiDR58Dkf42qrs1knckYw6EZtPcuTcRLl2BzTZuMXvh6mks/aqFV9yusYveoQuEOt j649/lDcHPluODA+xfGfMJjW3K7surb4a/aTzMkW17GJAV8Mh2Vvv9+QrCkkZFlpzSmA 9tYWcJ4Wabkc0VyWMbL2NRDv0nykwNUUGoyHWgfpQjJKEfeSEuVcbGESehsn5HVEZgtG Nm3BqeBsnQDoz8+Ei1dCa2w3af3QQb5JDei6b5RxXynVI3A16cD42zpEm2Z++scWzqBM mQN7G2Iv5U+ej/ShEqG8BXHezqwkZX7yII2rukbVO7UZ29FjKmdavEqenhMcLM1SutGi sfYg== X-Gm-Message-State: AJaThX4rA1TO5s0VsUiQxyLjLwS7cMa8MaAjEBLpiU60r5qHx6AcMdbk WsyJ+4uk3O8VgYtW6T6B7PVaNg8Qs8K7kdNABP8XKA== X-Google-Smtp-Source: AGs4zMYf6RqGieqL4Gw+MLy5nly6sXvjY4eDtScujwP4bN+OGwrFwXfUa/vqLZpeGyV+hxcRoLjZYyNy3aUu+M7NpPs= X-Received: by 10.157.51.144 with SMTP id u16mr11842352otc.292.1511322490089; Tue, 21 Nov 2017 19:48:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.47.105 with HTTP; Tue, 21 Nov 2017 19:48:09 -0800 (PST) In-Reply-To: References: <9B5323A02AF8FC44ABA9883B957B35D6340C7F67@DCEEXMBX20.ger.win.int.kn> From: SE Song Date: Wed, 22 Nov 2017 10:48:09 +0700 Message-ID: Subject: Re: Customize UI behavior To: users@isis.apache.org Content-Type: multipart/alternative; boundary="f4030435360c29b5ef055e8a3055" archived-at: Wed, 22 Nov 2017 03:48:16 -0000 --f4030435360c29b5ef055e8a3055 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm building an business process application, we manage staff information and request form such as Leave Request, OT, IT Form... each form mush has at least employee info, and form detail... Auto generate UI is very good idea, e.s it's testable too. But Management are not developer, it's very difficult to convince them about changing their ideas, they always ask what they want. They always concern about look and feel at first. I will create a repository for integrate Apache Isis and ZK framework for UI, If everything go well, I will use ZK for Frontend Layer and Presentation Layer, and Apache Isis for Business Logic, Business Model and Data Layer. I also concern about integrating ZK VM to Isis Repository too, because ZK use Constructor out site container, so Inject Service maybe impossible or difficult. But I will try and post on Github On Wed, Nov 22, 2017 at 12:00 AM, Dan Haywood wrote: > If the behaviour of the text field in particular is problematic, then you > can develop and plug in a different implementation using the Wicket > framework. The Wicket viewer guide has details on how to do this > (fullcalendar2, gmap3 use this API). > > That said... > > You said your pages are form heavy, and are all view models. I wonder > therefore whether you are fighting the framework too much. Why are you > using view models rather than just surface entities? Why do your users ne= ed > so much information on a single page - what use cases are you trying to > support? Where is this app on the "problem solver Vs process follower" > axis? > > One option for you might be to use Isis as a development environment (to > build a good quality domain model) but then write a custom UI, eg in ZK o= n > top of it. Obviously this throws out one of the framework's key features, > but you get full flexibility to do whatever. Or, you could use the Rest a= pi > to accomplish the same. > > But, I do suggest you also try to work within the constraints of the > framework, and see what that gives you. We know of plenty of "problem > solver" type apps that are out there that work well enough without lots o= f > customisations. > > Hth, > Dan. > > > On Tue, 21 Nov 2017, 12:11 SE Song, wrote: > > > Yes, I am learning about it. And another option for me is using ZK > > framework for UI > > > > On Tue, Nov 21, 2017 at 6:27 PM, Rade, Joerg / Kuehne + Nagel / Ham > GI-DP < > > Joerg.Rade@kuehne-nagel.com> wrote: > > > > > Have you considered using the RestfulObjects interface [1] yet? > > > > > > -j > > > [1] https://isis.apache.org/guides/ugvro/ugvro.html > > > > > > -----Urspr=C3=BCngliche Nachricht----- > > > Von: SE Song [mailto:sesong11@gmail.com] > > > Gesendet: Dienstag, 21. November 2017 11:28 > > > An: users@isis.apache.org > > > Betreff: Re: Customize UI behavior > > > > > > My issue isn't just scrolling, but also behavior of Textbox. If it's > > > possible to change it behavior from clicking and show OK Button & > Cancel > > > Button to use ajax to bind it to VM without bother user to click > submit. > > > > > > > > > > > > On Tue, Nov 21, 2017 at 5:18 PM, Stephen Cameron < > > > steve.cameron.62@gmail.com > > > > wrote: > > > > > > > Ok, but using tabs via layout.xml is still an option. > > > > > > > > Maybe using a JAXB VM causes a full page reload? > > > > > > > > Do you have to use them? > > > > > > > > On Tue, Nov 21, 2017 at 9:13 PM, SE Song wrote= : > > > > > > > > > It always scroll like this. > > > > > > > > > > =E2=80=8B > > > > > > > > > > On Tue, Nov 21, 2017 at 5:10 PM, SE Song > wrote: > > > > > > > > > >> Sorry that I did not specified that I am using JAXB VM. It just > > > > >> submit > > > > to > > > > >> VM > > > > >> > > > > >> On Tue, Nov 21, 2017 at 4:48 PM, Stephen Cameron < > > > > >> steve.cameron.62@gmail.com> wrote: > > > > >> > > > > >>> More details here: https://www.youtube.com/watch?v=3DMxewC5Pve5= k > > > > >>> > > > > >>> On Tue, Nov 21, 2017 at 8:46 PM, Stephen Cameron < > > > > >>> steve.cameron.62@gmail.com > > > > >>> > wrote: > > > > >>> > > > > >>> > Have you tried using tabs via the xxx.layout.xml? > > > > >>> > > > > > >>> > My pages aren't more than one screen height and I've not had > the > > > > other > > > > >>> > problems that you indicate, Apache Isis doesn't submit a form > in > > > > >>> > the > > > > >>> sense > > > > >>> > of an HTML
element, each click of OK submits the updat= ed > > > > >>> > value > > > > >>> to > > > > >>> > the database. > > > > >>> > > > > > >>> > > > > > >>> > > > > > >>> > > > > > >>> > On Tue, Nov 21, 2017 at 8:36 PM, SE Song > > > wrote: > > > > >>> > > > > > >>> >> Dear All, > > > > >>> >> > > > > >>> >> After presentation Apache Isis to my manager, what he doesn'= t > > > > >>> >> like > > > > is > > > > >>> UI, > > > > >>> >> Because the application which I am developing is HR System, > > > > >>> >> which > > > > has > > > > >>> a > > > > >>> >> lot > > > > >>> >> of form, so UX is very important for us. > > > > >>> >> > > > > >>> >> After Using Apache Isis for a while I have some problem on U= I > > > > >>> behavior as > > > > >>> >> bellow: > > > > >>> >> 1. When I click on the control it always scroll to top, so i= f > > > > >>> >> my > > > > from > > > > >>> has > > > > >>> >> 2x of screen high, user will very difficult for input data. > > > > >>> >> 2. When user click on a textbox it always show "OK" and > "Cancel" > > > > >>> button, > > > > >>> >> OK > > > > >>> >> button use submit, this make my form refresh every time I > press > > > > Enter > > > > >>> or > > > > >>> >> Click "OK", so it always scroll back to top and destroy > another > > > > field > > > > >>> that > > > > >>> >> I did not submit. > > > > >>> >> 3. I want to change behavior of textbox from Clicking Submit > to > > > > >>> >> use > > > > >>> jQuery > > > > >>> >> (ZK like) to send data to my VM when user Lost Focus on > textbox. > > > > >>> >> > > > > >>> >> Please help to guide me what should I do/learn to solve this > > > > problem. > > > > >>> >> > > > > >>> >> > > > > >>> >> Another option for me is to integrate Apache Isis with ZK > > > Framework. > > > > >>> ZK > > > > >>> >> framework for implement presentation layer and fronted layer= . > > > > >>> >> Is > > > > this > > > > >>> >> option possible? > > > > >>> >> > > > > >>> > > > > > >>> > > > > > >>> > > > > >> > > > > >> > > > > > > > > > > > > > > > K=C3=BChne + Nagel (AG & Co.) KG > > > Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE > > > 812773878. > > > Gesch=C3=A4ftsleitung K=C3=BChne + Nagel (AG & Co.) KG: Dr. Hansj=C3= =B6rg Rodi (Vors. > ), > > > Martin Brinkmann, Holger Ketz, Jan-Hendrik K=C3=B6stergarten, Nichola= s > Minde, > > > Michael Nebel, Lars Wedel, Matthias Weiner. > > > Pers=C3=B6nlich haftende Gesellschafterin: K=C3=BChne & Nagel A.G., R= echtsform: > > > Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, > > > Gesch=C3=A4ftsf=C3=BChrendes Verwaltungsratsmitglied: Karl Gernandt. > > > Gesch=C3=A4ftsleitung Region Zentral- und Osteuropa: Dr. Hansj=C3=B6r= g Rodi > > (Vors.), > > > Thierry Held, Uwe H=C3=B6tt, Richard Huhn, Holger Ketz, Jan-Hendrik > > > K=C3=B6stergarten, Jan Kunze, Michael Nebel, Guillaume Sauzedde, Must= afa > > Sener. > > > > > > Wir arbeiten ausschlie=C3=9Flich auf Grundlage der Allgemeinen Deutsc= hen > > > Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen > in > > > Ziffer 23 hinsichtlich des Haftungsh=C3=B6chstbetrages f=C3=BCr G=C3= =BCtersch=C3=A4den (=C2=A7 > 431 > > > HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporte= n > > > unter Einschluss einer Seebef=C3=B6rderung und bei unbekanntem Schade= nort > auf > > 2 > > > SZR/kg und im =C3=9Cbrigen die Regelhaftung von 8,33 SZR/kg zus=C3=A4= tzlich auf > > 1,25 > > > Millionen Euro je Schadenfall sowie 2,5 Millionen Euro je > > Schadenereignis, > > > mindestens aber 2 SZR/kg, beschr=C3=A4nken. Die ADSp sind auf unserer > Webseite > > > als Download erh=C3=A4ltlich. Auf Anfrage senden wir Ihnen diese auch= gerne > > zu. > > > > > > --f4030435360c29b5ef055e8a3055--