Return-Path: X-Original-To: apmail-wicket-users-archive@minotaur.apache.org Delivered-To: apmail-wicket-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72D3B172F1 for ; Tue, 24 Feb 2015 07:11:24 +0000 (UTC) Received: (qmail 66136 invoked by uid 500); 24 Feb 2015 07:11:17 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 66092 invoked by uid 500); 24 Feb 2015 07:11:17 -0000 Mailing-List: contact users-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@wicket.apache.org Delivered-To: mailing list users@wicket.apache.org Received: (qmail 66079 invoked by uid 99); 24 Feb 2015 07:11:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 07:11:16 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rozkovec.wl@email.cz designates 77.75.76.26 as permitted sender) Received: from [77.75.76.26] (HELO mxh2.seznam.cz) (77.75.76.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 07:11:11 +0000 Received: from email.seznam.cz by email-smtpc15b.ng.seznam.cz (email-smtpc15b.ng.seznam.cz [10.2.92.61]) id 41586873dbaf698840ddca16; Tue, 24 Feb 2015 08:10:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=email.cz; s=beta; t=1424761848; bh=ZSw5trdM5pBW1VzdSHjGy1hGn0bmwCBguX19MqbsMi4=; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=TJLDuwiSybbDh06JcRBxNnYjafCmoTNX+Gbugs4cF0uZPlsxbkTzV4E/Sb5A7sFU5 eb1YM4wn1OkL+1wHpiMXCBahm37j51A2qtZ69E7hotjvm7bXNIa2Ajvi1oKR6+6ZCh NpsTLEVCmtvfXpZMZ93wNcmgKCblGZYxj/iVZKGU= Received: from [10.8.0.6] (test.rozkovec.name [94.23.169.254]) by email-relay7.ng.seznam.cz (Seznam SMTPD 1.2.99) with ESMTP; Tue, 24 Feb 2015 08:10:47 +0100 (CET) Message-ID: <54EC23F5.5090308@email.cz> Date: Tue, 24 Feb 2015 08:10:45 +0100 From: Vit Rozkovec User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: users@wicket.apache.org Subject: Re: Large forms References: <1424707815645-4669718.post@n4.nabble.com> In-Reply-To: <1424707815645-4669718.post@n4.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have solved it by creating a code generator, that for each POJO passed, it makes physical html, java and properties files at given package path. According to the template you pass to the generator, it can generate any code for you. Drawbacks Once generated, there is no link between POJO and generated files, if you change POJO, you have to run the generator again, overwrtiting existing files at given path. Therefore it is necessary to move your files to another package and once you add your custom code, transfer new generated changes by hand. May not be the best approach, but this way you can fully customize generated files, they are the same files you woud prepare by hand, only automatically generated. Would you be interested in using such a tool? So far I have used it just for me, but can make it available at Github if you would like. Regards Vit Rozkovec Dne 23.2.2015 v 17:10 ChambreNoire napsal(a): > Hey there, > > In the case of large forms with 20+ fields, how should one go about coding > the wicket components? I have a large form of over 300 fields divided into > 20 pages to code. Instantiating and wiring up each of these one by one would > take an age. > > Any ideas? > > Many thanks, > > CN > > -- > View this message in context: http://apache-wicket.1842946.n4.nabble.com/Large-forms-tp4669718.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org > For additional commands, e-mail: users-help@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org For additional commands, e-mail: users-help@wicket.apache.org