From click-user-returncarrricky@example.org Tue Sep 01 09:21:02 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 99402 invoked from network); 1 Sep 2009 09:21:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2009 09:21:01 -0000 Received: (qmail 16215 invoked by uid 500); 1 Sep 2009 09:21:01 -0000 Delivered-To: carrricky@example.org Received: (qmail 16116 invoked by uid 500); 1 Sep 2009 09:21:01 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 16095 invoked by uid 99); 1 Sep 2009 09:21:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 09:21:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f209.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 09:20:52 +0000 Received: by ewy5 with SMTP id 5so2169417ewy.27 for <carrricky@example.org>; Tue, 01 Sep 2009 02:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=UG5nZQTf5YJ8nApejfGl5NQrlEnly9b1xG5G7a7w0s0=; b=qiRIkDVXKZxj5V6ZYu6aSKxu8aL50dAT9CkW7TY3hyrsJxubqgMwe74HzSMEfqzUWn uEk+2B4ZJh0/09R5x6x8sAe0YUxjkVbwtpPTocELN4xwJB96KiPZZBrEYAueK4wmrARG 9J39MZwQClYZKcWhfWsx9lqFEZi9HiYV47A+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JEbxwboIIsmZ6BFDoLL4dHDavi48bcAGca7q42qrLnOVP52FUNJj5sZP234qL8KsGz E/kd3wCYqBPjoCfmPF29Uddh8TWjW289EC3Zz7xZY63zqtz0pt/njJxhWn9KOlaIYsif QkswNFN6uZyjjiFt4BVNnOzsHo7Z4K0+i0YVs= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id v20mr6880394ebn.76.1251796832178; Tue, 01 Sep 2009 02:20:32 -0700 (PDT) In-Reply-To: <carrricky@example.org> References: <carrricky@example.org> <carrricky@example.org> <carrricky@example.org> Date: Tue, 1 Sep 2009 11:20:32 +0200 Message-ID: <carrricky@example.org> Subject: Re: Creating forward pages with new instead of context.createPage(). From: Finn Bock <carrricky@example.org> To: carrricky@example.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Bob Schellink <carrricky@example.org>: > Guess it comes down to a preference of constructor vs setter injection. > > I don't see a big problem with exposing the initPage(Page) method on > Context. Perhaps the name initPage might be confused with onInit, so we > should think about whether initPage is the right name. How about > configurePage? We should also give some thought on what will happen if a > user accidentally invokes configurePage after a createPage call. > > Keep in mind that a no-arg Page constructor is still needed if the Page is > to be accessed from the browser, since Click won't know how to construct a > Page which accepts arguments in its constructor. > > Finn, perhaps you can open a JIRA and attach your patch? Added as CLK-581. It also includes some unit test, but I'm far from certain that the test is done right. Please review and comment. regards, Finn From click-user-returncarrricky@example.org Tue Sep 01 10:20:05 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 19440 invoked from network); 1 Sep 2009 10:20:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2009 10:20:05 -0000 Received: (qmail 94263 invoked by uid 500); 1 Sep 2009 10:20:05 -0000 Delivered-To: carrricky@example.org Received: (qmail 94243 invoked by uid 500); 1 Sep 2009 10:20:05 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 94234 invoked by uid 99); 1 Sep 2009 10:20:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 10:20:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f209.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2009 10:19:57 +0000 Received: by ewy5 with SMTP id 5so2196599ewy.27 for <carrricky@example.org>; Tue, 01 Sep 2009 03:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=QLAx/g6huD0XUawzNHV/G4xOev8ZqMP328O+HFSaUaU=; b=dvtm8VWJ1VxytXKT/tW4iXvB0Tq+dQtBgzl8OVEl6sI9kNzi240rqg/JKx/yxFytCF TrzNyE8eKmQc2ZEx2nzV9JJotA77UsQN/RPcpNjg7bSMXElZqelISJajCPjbiGekckZT owlQjSgzN1rdcJLvZpvwNHIM2YrP8eE2kN04I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=be+pdYg212+XwqbxsR9PLgCOkWEqw4HZtRtm7DQbjgTUtX+oU3xgPAdg5NoSlpfLMD EHtzZhIE/7Yulf36qKKvHmWk+cQDq4RZT3KHssBvOrzKMV0fJekepAzzfKAyXh+pokMV juONlvOk0wjBXdlmBqCADCUhYp7XuO2ySqHnU= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id l2mr6915917ebo.56.1251800370095; Tue, 01 Sep 2009 03:19:30 -0700 (PDT) Date: Tue, 1 Sep 2009 12:19:30 +0200 Message-ID: <carrricky@example.org> Subject: Make request parameters available in page constructors. From: Finn Bock <carrricky@example.org> To: carrricky@example.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Is there a reason that the constructor in Page does not call processPageRequestParams(this) in ClickServlet? If it did, request parameters would be assigned to the @Bindable/public fields in Page subclasses and would be available for the constructors in page subclasses. The drawback is that initial values for @Bindable fields will override the request parameters: public class MyPage extends Page { @Bindable public String param1; @Bindable public String param2 = "default"; public class MyPage() { // here param1 will have the value from the request, but param2 will always be "default". } } If the current call to processPageRequestParams() in ClickServlet.initPage() is kept, the correct value will be set and available for onInit(), so it could be made backward compatible. Or perhaps the processPageRequestParams() method could be made available for explicit call: public class MyPage() { getContext().processPageRequestParams(this) // here both param1 and param2 will have values from the request. } regards, Finn From click-user-returncarrricky@example.org Wed Sep 02 16:43:16 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 28024 invoked from network); 2 Sep 2009 16:43:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2009 16:43:16 -0000 Received: (qmail 98371 invoked by uid 500); 2 Sep 2009 16:43:16 -0000 Delivered-To: carrricky@example.org Received: (qmail 98355 invoked by uid 500); 2 Sep 2009 16:43:16 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 98314 invoked by uid 99); 2 Sep 2009 16:43:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 16:43:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 16:43:07 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1Misuy-000644-8m for carrricky@example.org; Wed, 02 Sep 2009 18:42:44 +0200 Received: from portal.valdoise.fr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Wed, 02 Sep 2009 18:42:44 +0200 Received: from christophe.foiret by portal.valdoise.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Wed, 02 Sep 2009 18:42:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: easydoor <carrricky@example.org> Subject: Dynamic Select list in a FormTable Date: Wed, 2 Sep 2009 16:42:22 +0000 (UTC) Lines: 6 Message-ID: <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Your FormTable example includes a select list InvestmentSelect which is static, but how can i build a dynamic Select List in a FormTable ? I tried with the renderTableDate method but it's not clear, could you help me please ? Thanks From click-user-returncarrricky@example.org Thu Sep 03 07:47:02 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 78818 invoked from network); 3 Sep 2009 07:47:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Sep 2009 07:47:02 -0000 Received: (qmail 69275 invoked by uid 500); 3 Sep 2009 07:47:02 -0000 Delivered-To: carrricky@example.org Received: (qmail 69253 invoked by uid 500); 3 Sep 2009 07:47:02 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 69244 invoked by uid 99); 3 Sep 2009 07:47:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 07:47:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO h1049079.serverkompetenz.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 07:46:52 +0000 Received: (qmail 20133 invoked from network); 3 Sep 2009 09:46:29 +0200 Received: from et-1-4.gw-nat.bs.ka.oneandone.net (HELO ?83.161.120.155?) (83.161.120.155) by sven-pfeiffer.de with SMTP; 3 Sep 2009 09:46:29 +0200 Message-ID: <carrricky@example.org> Date: Thu, 03 Sep 2009 09:45:40 +0200 From: Sven Pfeiffer <carrricky@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: carrricky@example.org Subject: Re: Dynamic Select list in a FormTable References: <carrricky@example.org> In-Reply-To: <carrricky@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi easydoor, I'm not sure what "dynamic Select List" means to you. For my "dynamic Select" (dynamic because I get the options from a database using hibernate) I do something similar to: Select select = new Select(); for(int i = 0;i<20;i++) { select.add(new Option(i, "Label for " + i)); } hth SVen easydoor wrote: > Your FormTable example includes a select list InvestmentSelect which is > static, but how can i build a dynamic Select List in a FormTable ? > I tried with the renderTableDate method but it's not clear, could you help me > please ? > > Thanks > > > From click-user-returncarrricky@example.org Thu Sep 03 15:02:51 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 21544 invoked from network); 3 Sep 2009 15:02:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Sep 2009 15:02:51 -0000 Received: (qmail 50483 invoked by uid 500); 3 Sep 2009 15:02:51 -0000 Delivered-To: carrricky@example.org Received: (qmail 50461 invoked by uid 500); 3 Sep 2009 15:02:51 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 50452 invoked by uid 99); 3 Sep 2009 15:02:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 15:02:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 15:02:41 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MjDpF-0000zh-Qo for carrricky@example.org; Thu, 03 Sep 2009 17:02:14 +0200 Received: from promedica147-85.promedica.org ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 03 Sep 2009 17:02:13 +0200 Received: from thooper1 by promedica147-85.promedica.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 03 Sep 2009 17:02:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: Tim Hooper <carrricky@example.org> Subject: Re: Make request parameters available in page constructors. Date: Thu, 3 Sep 2009 15:01:50 +0000 (UTC) Lines: 1 Message-ID: <carrricky@example.org> References: <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org There's been many times i've wished Click had this feature! From click-user-returncarrricky@example.org Fri Sep 04 15:42:20 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 6146 invoked from network); 4 Sep 2009 15:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2009 15:42:20 -0000 Received: (qmail 14156 invoked by uid 500); 4 Sep 2009 15:42:20 -0000 Delivered-To: carrricky@example.org Received: (qmail 14138 invoked by uid 500); 4 Sep 2009 15:42:20 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 14129 invoked by uid 99); 4 Sep 2009 15:42:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 15:42:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 15:42:11 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mjav6-0001WU-Gz for carrricky@example.org; Fri, 04 Sep 2009 17:41:48 +0200 Received: from portal.valdoise.fr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Fri, 04 Sep 2009 17:41:48 +0200 Received: from christophe.foiret by portal.valdoise.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Fri, 04 Sep 2009 17:41:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: easydoor <carrricky@example.org> Subject: No control on required fields on TableForm Date: Fri, 4 Sep 2009 15:41:26 +0000 (UTC) Lines: 207 Message-ID: <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org I built a page with a search Form and two FormTable When i select a value in the SelectList of the search Form, i fill the two FormTable Each FormTable contains a required Field When i click on the Valid Button, there is no control and the required fields which are not filled are not yellow (like in your example), the page is refreshed and the two FormTable are empty ... I tried this case without search Form and the control is well done ... Could you give me quickly an answer to this issue, i think that the search Form disturbs the Form Table behavior See the code below : .htm code file <br> <h2>$title</h2> <br> $formSearch $tableInterv $tableTps .java code file package vdo.actedu.page; import java.util.List; import net.sf.click.control.Form; import net.sf.click.control.Option; import net.sf.click.control.Select; import net.sf.click.control.Submit; import net.sf.click.control.TextField; import net.sf.click.extras.control.FieldColumn; import net.sf.click.extras.control.FormTable; import vdo.actedu.hibernate.Atelier; import vdo.actedu.hibernate.AtelierDAO; import vdo.actedu.hibernate.AtelierIntervenant; import vdo.actedu.hibernate.AtelierIntervenantDAO; import vdo.actedu.hibernate.AtelierTemps; import vdo.actedu.hibernate.AtelierTempsDAO; public class MoveInscriptionPage extends BorderPage { public String title = "Transfert d'inscriptions"; public String atelierId = ""; public Form formSearch = new Form(); public FormTable tableInterv = new FormTable(); public FormTable tableTps = new FormTable(); Atelier atelier = new Atelier(); //Déclaration listes de sélection private Select atelierSceSelect = new Select("atelier.libelle","Atelier Source"); private Select atelierSelect = new Select("atelier.id","Atelier Cible"); private Select intervSceSelect = new Select("intervenant.nom"); private Select intervSelect = new Select("intervenant.id"); private Select tempsSceSelect = new Select("temps.libelle"); private Select tempsSelect = new Select("temps.id"); List<Atelier> ateliers = new AtelierDAO().findAll(); List<AtelierIntervenant> intervenantsSce = null; List<AtelierIntervenant> intervenantsCible = null; List<AtelierTemps> tempsSce = null; List<AtelierTemps> tempsCible = null; public MoveInscriptionPage() { //Formulaire intégrant la liste de sélection Atelier Cible formSearch.setErrorsPosition("middle"); formSearch.setLabelAlign("right"); atelierSceSelect.setReadonly(true); formSearch.add(atelierSceSelect); atelierSelect.add(new Option(0,"")); atelierSelect.addAll(ateliers,"id","libelle"); atelierSelect.setListener(this,"onChangeAtelier"); atelierSelect.setAttribute("onChange","form.submit()"); formSearch.add(atelierSelect); //Tableau listant les Intervenants de l'atelier Cible tableInterv.setClass("cgvo"); tableInterv.setHoverRows(true); tableInterv.getForm().setErrorsPosition("middle"); tableInterv.getForm().setButtonAlign("center"); tableInterv.getForm().setLabelAlign("right"); FieldColumn column = new FieldColumn("intervenant.id", "Intervenant Source", intervSceSelect); column.getField().setReadonly(true); tableInterv.addColumn(column); column = new FieldColumn("intervenant.nom", "Intervenant Cible", intervSelect); column.getField().setRequired(true); tableInterv.addColumn(column); //Tableau listant les Temps de l'atelier Cible tableTps.setClass("cgvo"); tableTps.setHoverRows(true); tableTps.getForm().setErrorsPosition("middle"); tableTps.getForm().setButtonAlign("center"); tableTps.getForm().setLabelAlign("right"); column = new FieldColumn("temps.id", "Temps Source", tempsSceSelect); column.getField().setReadonly(true); tableTps.addColumn(column); column = new FieldColumn("temps.libelle", "Temps Cible", tempsSelect); column.getField().setRequired(true); tableTps.addColumn(column); //Boutons Valider et Retour liés aux TableForm Submit validButton = new Submit(" Valider ", this, "onValid"); validButton.setAttribute("class","button1"); Submit cancelButton = new Submit(" Retour ", this, "onCancel"); cancelButton.setAttribute("class","button1"); tableTps.getForm().add(validButton); tableTps.getForm().add(cancelButton); } public boolean onChangeAtelier() { //Peuplement de la table des Intervenants de l'Atelier Source intervenantsSce = new AtelierIntervenantDAO().findByAtelierString (atelierSceSelect.getValue()); intervSceSelect.addAll (intervenantsSce,"intervenant.id","intervenant.nom"); tableInterv.setRowList(intervenantsSce); //Peuplement de la liste de sélection des Intervenants Cible intervenantsCible = new AtelierIntervenantDAO().findByAtelier(new Integer (atelierSelect.getValue())); intervSelect.add(new Option(0,"")); intervSelect.addAll (intervenantsCible,"intervenant.id","intervenant.nom"); //Peuplement de la table des Temps de l'Atelier Source tempsSce = new AtelierTempsDAO().findByAtelierString (atelierSceSelect.getValue()); tempsSceSelect.addAll(tempsSce,"temps.id","temps.libelle"); tableTps.setRowList(tempsSce); //Peuplement de la liste de sélection des Temps Cible tempsCible = new AtelierTempsDAO().findByAtelier(new Integer (atelierSelect.getValue())); tempsSelect.add(new Option(0,"")); tempsSelect.addAll(tempsCible,"temps.id","temps.libelle"); return true; } public void onInit() { atelierId = getContext().getRequestParameter("id"); //Si l'id de l'atelier est renseigné et que l'on n'est pas en Post (Bouton Enregistrer) if (atelierId != null && !getContext().isPost()) { //On récupère l'atelier passé en paramètre atelier = new AtelierDAO().findById(new Integer(atelierId)); //Mise en session de l'Atelier getContext().setSessionAttribute("atelier",atelier); } else //On récupère l'atelier de la session atelier = (Atelier)getContext().getSessionAttribute("atelier"); //Mise à jour du libellé de l'Atelier Source atelierSceSelect.add(atelier.getLibelle()); } public boolean onValid() { if (tableInterv.getForm().isValid() && tableTps.getForm().isValid()) { //Transfert des Inscriptions } return true; } public boolean onCancel() { setRedirect(AdmAtelierPage.class); return true; } public boolean onSecurityCheck() { if (getContext().hasSession()) { return true; } else { setRedirect(LoginPage.class); return false; } } } From click-user-returncarrricky@example.org Fri Sep 04 15:45:37 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 7672 invoked from network); 4 Sep 2009 15:45:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2009 15:45:37 -0000 Received: (qmail 20760 invoked by uid 500); 4 Sep 2009 15:45:37 -0000 Delivered-To: carrricky@example.org Received: (qmail 20727 invoked by uid 500); 4 Sep 2009 15:45:37 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 20717 invoked by uid 99); 4 Sep 2009 15:45:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 15:45:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 15:45:26 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MjayG-0002ct-0t for carrricky@example.org; Fri, 04 Sep 2009 17:45:04 +0200 Received: from portal.valdoise.fr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Fri, 04 Sep 2009 17:45:04 +0200 Received: from christophe.foiret by portal.valdoise.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Fri, 04 Sep 2009 17:45:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: easydoor <carrricky@example.org> Subject: Re: Dynamic Select list in a FormTable Date: Fri, 4 Sep 2009 15:42:02 +0000 (UTC) Lines: 4 Message-ID: <carrricky@example.org> References: <carrricky@example.org> <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org OK Thanks From click-user-returncarrricky@example.org Sat Sep 05 03:49:58 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 86834 invoked from network); 5 Sep 2009 03:49:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Sep 2009 03:49:58 -0000 Received: (qmail 60748 invoked by uid 500); 5 Sep 2009 03:49:57 -0000 Delivered-To: carrricky@example.org Received: (qmail 60688 invoked by uid 500); 5 Sep 2009 03:49:57 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 60678 invoked by uid 99); 5 Sep 2009 03:49:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 03:49:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-pz0-f203.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 03:49:46 +0000 Received: by pzk41 with SMTP id 41so1216804pzk.4 for <carrricky@example.org>; Fri, 04 Sep 2009 20:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=IM+LRu1bfYG7qEanwDpmPBGMht7DQ8biDJXlwia0WLA=; b=bQyOVTE8M14Gyjo4blrWvNyIJ1nV3eRPkYtdjL6cJB6N/ICio7jFBLdffRiijV8qhw /gCRx0gmwyxmge4KvMRqYh1xiio5vthA5BybksCFdKzIjG8/of1KelmApDPBZpAcSqTK +eC/RyqgLl8X+hKrUorre/fr2xlXywPGIZt8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=wZbEUSOhMmIBh53bgtF6mB1ZrlbXj8yI8uWyh7eV6hk8sDgVCAKayeOTV30Zm4lVRW FAHk8L01OVV3oWi6zhOjSpvhhWiweIl3OI2QkBbZxTrJ6Vn39eT7W61YwghlbXhGc7Eq ztUD55c81jmwbv7B/zOBV/oopSHCLx2Dyj/tQ= Received: by 83.161.120.155 with SMTP id 3mr11096697wab.109.1252122563803; Fri, 04 Sep 2009 20:49:23 -0700 (PDT) Received: from ?83.161.120.155? 941.920.3240.perm.iinet.net.au [83.161.120.155]) by mx.google.com with ESMTPS id 20sm659002pzk.1.283.161.120.155.49.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Sep 2009 20:49:22 -0700 (PDT) Message-ID: <carrricky@example.org> Date: Sat, 05 Sep 2009 13:49:16 +1000 From: Bob Schellink <carrricky@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: carrricky@example.org Subject: Re: Make request parameters available in page constructors. References: <carrricky@example.org> In-Reply-To: <carrricky@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Finn, We should probably keep the existing functionality as is, but as you suggested, expose context.processPageRequestParams to allow users to explicitly bind request params in a BorderPage constructor. kind regards bob Finn Bock wrote: > Hi, > > Is there a reason that the constructor in Page does not call > processPageRequestParams(this) in ClickServlet? If it did, request > parameters would be assigned to the @Bindable/public fields in Page > subclasses and would be available for the constructors in page > subclasses. > > The drawback is that initial values for @Bindable fields will override > the request parameters: > > public class MyPage extends Page { > @Bindable public String param1; > @Bindable public String param2 = "default"; > > public class MyPage() { > // here param1 will have the value from the request, but > param2 will always be "default". > } > } > > If the current call to processPageRequestParams() in > ClickServlet.initPage() is kept, the correct value will be set and > available for onInit(), so it could be made backward compatible. > > Or perhaps the processPageRequestParams() method could be made > available for explicit call: > > public class MyPage() { > getContext().processPageRequestParams(this) > // here both param1 and param2 will have values from the request. > } > > regards, > Finn > From click-user-returncarrricky@example.org Sat Sep 05 05:15:09 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 95290 invoked from network); 5 Sep 2009 05:15:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Sep 2009 05:15:09 -0000 Received: (qmail 77965 invoked by uid 500); 5 Sep 2009 05:15:09 -0000 Delivered-To: carrricky@example.org Received: (qmail 77917 invoked by uid 500); 5 Sep 2009 05:15:08 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 77855 invoked by uid 99); 5 Sep 2009 05:15:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 05:15:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-px0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 05:14:58 +0000 Received: by pxi5 with SMTP id 5so1309843pxi.6 for <multiple recipients>; Fri, 04 Sep 2009 22:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=SiiYIGeVT4b4qwMPS7K2vve+nU8k1mVMsL5nwbkUC8M=; b=VwZkzOOgMIObWn+p9lGMdpyNbmLJOjIrTbTBH5PIrUw1iG9sImolFTOIZrvWFycEOe OUMlkKFT2zlKO/oVM/qHPVvyDnO06gzcTEloij36xyjG1nE+I+fi+8DYEQZcqZF1gFbl aYc+E2GziziUBa96P+kO1Q9M4s//D6RL9UWOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=rVabsEnbehkDm1YrEGRZFIjnu4uUrdJ0daFYxOTqo6mFLJPA//ssOlqXQfrqUU7Qb5 h9bfT5ACz+6ylrQAJ765afleLNnd6FquQ+Psfk/BYLQy5797YLWn6XzrRYcwsVSH/tr6 saL5xmUJIg48edD6FaT8M838VcSrkcgAo8uDM= Received: by 83.161.120.155 with SMTP id l26mr11183616wae.173.1252127676695; Fri, 04 Sep 2009 22:14:36 -0700 (PDT) Received: from ?83.161.120.155? 941.920.3240.perm.iinet.net.au [83.161.120.155]) by mx.google.com with ESMTPS id 20sm632260pzk.5.283.161.120.155.14.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Sep 2009 22:14:35 -0700 (PDT) Message-ID: <carrricky@example.org> Date: Sat, 05 Sep 2009 15:14:31 +1000 From: Bob Schellink <carrricky@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: carrricky@example.org, carrricky@example.org Subject: Google App Engine 1.2.5 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, For those using Google App Engine you might be interested to know that the latest version, 1.2.5, fixes a bug where HashMap cannot be placed in the session. This in turn made it impossible to use Click stateful Pages with GAE. I've just uploaded a couple of stateful examples and they seem to be working: http://clickclick-jquery.appspot.com/ajax/stateful-table-demo.htm http://clickclick-jquery.appspot.com/ajax/select-demo.htm http://click-jpa.appspot.com/view-customers.htm kind regards bob From click-user-returncarrricky@example.org Sat Sep 05 05:55:35 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 120 invoked from network); 5 Sep 2009 05:55:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Sep 2009 05:55:35 -0000 Received: (qmail 85262 invoked by uid 500); 5 Sep 2009 05:55:34 -0000 Delivered-To: carrricky@example.org Received: (qmail 85225 invoked by uid 500); 5 Sep 2009 05:55:34 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 85216 invoked by uid 99); 5 Sep 2009 05:55:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 05:55:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-px0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 05:55:25 +0000 Received: by pxi5 with SMTP id 5so1329997pxi.6 for <carrricky@example.org>; Fri, 04 Sep 2009 22:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=dOFVabSsQYmEjfEeqdD2LZ2AizGheRMYm3cHDxkl9ms=; b=WgA3yLdqnOV5OmVcmf7Fno3uKOJK2e2P4Nc8bUqtF4OL6SmkF9TeQFOkhYuJLdlXLE 9V+qvJuYd0RTtIQa79AYxJV/CTqDSKcc3CBEs2Cjes10ei7jnJsZmKQnU4/QbtqpFBC6 ImPR03zT1hKRl9+vMq2QCiNHbd3BRj3Ktlth8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=nTopR/s+Q3RzWU2tR48bcQFHGMGTE99rJMCWukzNmLGN76yfqepWMACIUD52uLMeSZ DYi7920zgDBkE+wU6SD6+uXM98OxIhCAyvJsksGxDje2OLN+cJcKbqjjK86Uvhldq5kd K4+JFgf0el9LunJldNIPd0mRCJbfYSLvddVSQ= Received: by 83.161.120.155 with SMTP id c38mr11247313wam.110.1252129604581; Fri, 04 Sep 2009 22:46:44 -0700 (PDT) Received: from ?83.161.120.155? 941.920.3240.perm.iinet.net.au [83.161.120.155]) by mx.google.com with ESMTPS id 22sm590998pzk.6.283.161.120.155.46.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Sep 2009 22:46:43 -0700 (PDT) Message-ID: <carrricky@example.org> Date: Sat, 05 Sep 2009 15:46:38 +1000 From: Bob Schellink <carrricky@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: carrricky@example.org Subject: Re: No control on required fields on TableForm References: <carrricky@example.org> In-Reply-To: <carrricky@example.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, The attached Page contains references to Hibernate classes which we don't have access to. I suggest you create a new Page without those references so we can easily test it. kind regards bob easydoor wrote: > I built a page with a search Form and two FormTable > > When i select a value in the SelectList of the search Form, i fill the two > FormTable > Each FormTable contains a required Field > When i click on the Valid Button, there is no control and the required fields > which are not filled are not yellow (like in your example), the page is > refreshed and the two FormTable are empty ... > > I tried this case without search Form and the control is well done ... > > Could you give me quickly an answer to this issue, i think that the search > Form disturbs the Form Table behavior > > See the code below : > > .htm code file > > <br> > <h2>$title</h2> > <br> > $formSearch > $tableInterv > $tableTps > > .java code file > > package vdo.actedu.page; > > import java.util.List; > > import net.sf.click.control.Form; > import net.sf.click.control.Option; > import net.sf.click.control.Select; > import net.sf.click.control.Submit; > import net.sf.click.control.TextField; > import net.sf.click.extras.control.FieldColumn; > import net.sf.click.extras.control.FormTable; > import vdo.actedu.hibernate.Atelier; > import vdo.actedu.hibernate.AtelierDAO; > import vdo.actedu.hibernate.AtelierIntervenant; > import vdo.actedu.hibernate.AtelierIntervenantDAO; > import vdo.actedu.hibernate.AtelierTemps; > import vdo.actedu.hibernate.AtelierTempsDAO; > > public class MoveInscriptionPage extends BorderPage { > > public String title = "Transfert d'inscriptions"; > public String atelierId = ""; > > public Form formSearch = new Form(); > > public FormTable tableInterv = new FormTable(); > public FormTable tableTps = new FormTable(); > > Atelier atelier = new Atelier(); > > //Déclaration listes de sélection > private Select atelierSceSelect = new Select("atelier.libelle","Atelier > Source"); > private Select atelierSelect = new Select("atelier.id","Atelier Cible"); > private Select intervSceSelect = new Select("intervenant.nom"); > private Select intervSelect = new Select("intervenant.id"); > private Select tempsSceSelect = new Select("temps.libelle"); > private Select tempsSelect = new Select("temps.id"); > > List<Atelier> ateliers = new AtelierDAO().findAll(); > List<AtelierIntervenant> intervenantsSce = null; > List<AtelierIntervenant> intervenantsCible = null; > List<AtelierTemps> tempsSce = null; > List<AtelierTemps> tempsCible = null; > > public MoveInscriptionPage() { > > //Formulaire intégrant la liste de sélection Atelier Cible > formSearch.setErrorsPosition("middle"); > formSearch.setLabelAlign("right"); > > atelierSceSelect.setReadonly(true); > formSearch.add(atelierSceSelect); > > atelierSelect.add(new Option(0,"")); > atelierSelect.addAll(ateliers,"id","libelle"); > atelierSelect.setListener(this,"onChangeAtelier"); > atelierSelect.setAttribute("onChange","form.submit()"); > formSearch.add(atelierSelect); > > //Tableau listant les Intervenants de l'atelier Cible > tableInterv.setClass("cgvo"); > tableInterv.setHoverRows(true); > tableInterv.getForm().setErrorsPosition("middle"); > tableInterv.getForm().setButtonAlign("center"); > tableInterv.getForm().setLabelAlign("right"); > > FieldColumn column = new FieldColumn("intervenant.id", "Intervenant > Source", intervSceSelect); > column.getField().setReadonly(true); > tableInterv.addColumn(column); > > column = new FieldColumn("intervenant.nom", "Intervenant Cible", > intervSelect); > column.getField().setRequired(true); > tableInterv.addColumn(column); > > //Tableau listant les Temps de l'atelier Cible > tableTps.setClass("cgvo"); > tableTps.setHoverRows(true); > tableTps.getForm().setErrorsPosition("middle"); > tableTps.getForm().setButtonAlign("center"); > tableTps.getForm().setLabelAlign("right"); > > column = new FieldColumn("temps.id", "Temps Source", tempsSceSelect); > column.getField().setReadonly(true); > tableTps.addColumn(column); > > column = new FieldColumn("temps.libelle", "Temps Cible", tempsSelect); > column.getField().setRequired(true); > tableTps.addColumn(column); > > //Boutons Valider et Retour liés aux TableForm > Submit validButton = new Submit(" Valider ", this, "onValid"); > validButton.setAttribute("class","button1"); > Submit cancelButton = new Submit(" Retour ", this, "onCancel"); > cancelButton.setAttribute("class","button1"); > > tableTps.getForm().add(validButton); > tableTps.getForm().add(cancelButton); > } > > public boolean onChangeAtelier() { > > //Peuplement de la table des Intervenants de l'Atelier Source > intervenantsSce = new AtelierIntervenantDAO().findByAtelierString > (atelierSceSelect.getValue()); > intervSceSelect.addAll > (intervenantsSce,"intervenant.id","intervenant.nom"); > tableInterv.setRowList(intervenantsSce); > > //Peuplement de la liste de sélection des Intervenants Cible > intervenantsCible = new AtelierIntervenantDAO().findByAtelier(new Integer > (atelierSelect.getValue())); > intervSelect.add(new Option(0,"")); > intervSelect.addAll > (intervenantsCible,"intervenant.id","intervenant.nom"); > > //Peuplement de la table des Temps de l'Atelier Source > tempsSce = new AtelierTempsDAO().findByAtelierString > (atelierSceSelect.getValue()); > tempsSceSelect.addAll(tempsSce,"temps.id","temps.libelle"); > tableTps.setRowList(tempsSce); > > //Peuplement de la liste de sélection des Temps Cible > tempsCible = new AtelierTempsDAO().findByAtelier(new Integer > (atelierSelect.getValue())); > tempsSelect.add(new Option(0,"")); > tempsSelect.addAll(tempsCible,"temps.id","temps.libelle"); > > return true; > } > > public void onInit() { > > atelierId = getContext().getRequestParameter("id"); > > //Si l'id de l'atelier est renseigné et que l'on n'est pas en Post > (Bouton Enregistrer) > if (atelierId != null && !getContext().isPost()) { > > //On récupère l'atelier passé en paramètre > atelier = new AtelierDAO().findById(new Integer(atelierId)); > > //Mise en session de l'Atelier > getContext().setSessionAttribute("atelier",atelier); > } else > //On récupère l'atelier de la session > atelier = (Atelier)getContext().getSessionAttribute("atelier"); > > //Mise à jour du libellé de l'Atelier Source > atelierSceSelect.add(atelier.getLibelle()); > } > > public boolean onValid() { > > if (tableInterv.getForm().isValid() && tableTps.getForm().isValid()) { > > //Transfert des Inscriptions > > } > return true; > } > > public boolean onCancel() { > setRedirect(AdmAtelierPage.class); > return true; > } > > public boolean onSecurityCheck() { > > if (getContext().hasSession()) { > return true; > } else { > setRedirect(LoginPage.class); > return false; > } > } > } > > > From click-user-returncarrricky@example.org Mon Sep 07 09:46:33 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 62580 invoked from network); 7 Sep 2009 09:46:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Sep 2009 09:46:33 -0000 Received: (qmail 52318 invoked by uid 500); 7 Sep 2009 09:46:33 -0000 Delivered-To: carrricky@example.org Received: (qmail 52282 invoked by uid 500); 7 Sep 2009 09:46:33 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 52273 invoked by uid 99); 7 Sep 2009 09:46:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 09:46:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 09:46:24 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkanM-0004Ft-8x for carrricky@example.org; Mon, 07 Sep 2009 11:45:56 +0200 Received: from portal.valdoise.fr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Mon, 07 Sep 2009 11:45:56 +0200 Received: from christophe.foiret by portal.valdoise.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Mon, 07 Sep 2009 11:45:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: easydoor <carrricky@example.org> Subject: Re: No control on required fields on TableForm Date: Mon, 7 Sep 2009 09:45:32 +0000 (UTC) Lines: 235 Message-ID: <carrricky@example.org> References: <carrricky@example.org> <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Find below the page test code without references to Hibernate and the two java beans Intervenant.java et Temps.java Html code page <br> <h2>$title</h2> <br> $formSearch $tableInterv $tableTps ------------------------------------------------------ Java code test page package vdo.actedu.page; import java.util.ArrayList; import java.util.List; import net.sf.click.Page; import net.sf.click.control.Form; import net.sf.click.control.Option; import net.sf.click.control.Select; import net.sf.click.control.Submit; import net.sf.click.extras.control.FieldColumn; import net.sf.click.extras.control.FormTable; import vdo.actedu.hibernate.Atelier; import vdo.actedu.hibernate.AtelierIntervenant; import vdo.actedu.hibernate.AtelierTemps; import vdo.actedu.hibernate.Intervenant; import vdo.actedu.hibernate.Temps; public class ZformTablePage extends Page { public String title = "Anomalie Form Table"; //public String atelierId = ""; public Form formSearch = new Form(); public FormTable tableInterv = new FormTable(); public FormTable tableTps = new FormTable(); Atelier atelier = new Atelier(); //Déclaration listes de sélection private Select atelierSceSelect = new Select("Atelier Source"); private Select atelierSelect = new Select("Atelier Cible"); private Select intervSceSelect = new Select("nom"); private Select intervSelect = new Select("id"); private Select tempsSceSelect = new Select(); private Select tempsSelect = new Select(); //List<Atelier> ateliers = new AtelierDAO().findAll(); List<AtelierIntervenant> intervenantsSce = null; List<AtelierIntervenant> intervenantsCible = null; List<AtelierTemps> tempsSce = null; List<AtelierTemps> tempsCible = null; public ZformTablePage() { //Formulaire intégrant la liste de sélection Atelier Cible formSearch.setErrorsPosition("middle"); formSearch.setLabelAlign("right"); atelierSceSelect.setReadonly(true); formSearch.add(atelierSceSelect); atelierSelect.addAll(new String[] {"","Atelier Cible 1","Atelier Cible 2","Atelier Cible 3"}); atelierSelect.setListener(this,"onChangeAtelier"); atelierSelect.setAttribute("onChange","form.submit()"); formSearch.add(atelierSelect); //Tableau listant les Intervenants de l'atelier Cible tableInterv.setClass("cgvo"); tableInterv.setHoverRows(true); tableInterv.getForm().setErrorsPosition("middle"); tableInterv.getForm().setButtonAlign("center"); tableInterv.getForm().setLabelAlign("right"); FieldColumn column = new FieldColumn("id","Intervenant Source", intervSceSelect); column.getField().setReadonly(true); tableInterv.addColumn(column); column = new FieldColumn("nom","Intervenant Cible", intervSelect); column.getField().setRequired(true); tableInterv.addColumn(column); //Tableau listant les Temps de l'atelier Cible tableTps.setClass("cgvo"); tableTps.setHoverRows(true); tableTps.getForm().setErrorsPosition("middle"); tableTps.getForm().setButtonAlign("center"); tableTps.getForm().setLabelAlign("right"); column = new FieldColumn("id","Temps Source", tempsSceSelect); column.getField().setReadonly(true); tableTps.addColumn(column); column = new FieldColumn("libelle","Temps Cible", tempsSelect); column.getField().setRequired(true); tableTps.addColumn(column); //Boutons Valider et Retour liés aux TableForm Submit validButton = new Submit(" Valider ", this, "onValid"); validButton.setAttribute("class","button1"); tableTps.getForm().add(validButton); } public boolean onChangeAtelier() { //Peuplement de la table des Intervenants de l'Atelier Source List<Intervenant> list = new ArrayList<Intervenant>(); list.add(new Intervenant(1,"Interv Sce 1")); list.add(new Intervenant(2,"Interv Sce 2")); list.add(new Intervenant(3,"Interv Sce 3")); intervSceSelect.addAll(list,"id","nom"); tableInterv.setRowList(list); //Peuplement de la liste de sélection des Intervenants Cible List<Intervenant> list2 = new ArrayList<Intervenant>(); list2.add(new Intervenant(1,"Interv Cible 1")); list2.add(new Intervenant(2,"Interv Cible 2")); list2.add(new Intervenant(3,"Interv Cible 3")); intervSelect.add(new Option(0,"")); intervSelect.addAll(list2,"id","nom"); //Peuplement de la table des Temps de l'Atelier Source List<Temps> list3 = new ArrayList<Temps>(); list3.add(new Temps(1,"Temps Sce 1")); list3.add(new Temps(2,"Temps Sce 2")); tempsSceSelect.addAll(list3,"id","libelle"); tableTps.setRowList(list3); //Peuplement de la liste de sélection des Temps Cible List<Temps> list4 = new ArrayList<Temps>(); list4.add(new Temps(1,"Temps Cible 1")); list4.add(new Temps(2,"Temps Cible 2")); list4.add(new Temps(3,"Temps Cible 3")); tempsSelect.add(new Option(0,"")); tempsSelect.addAll(list4,"id","libelle"); return true; } public void onInit() { atelierSceSelect.add("Atelier Source"); } public boolean onValid() { if (tableInterv.getForm().isValid() && tableTps.getForm().isValid()) { } return true; } } ------------------------------------------------------------- Intervenant Java Bean package vdo.actedu.hibernate; public class Intervenant { private int id; private String nom; public Intervenant() { } public Intervenant(int id, String nom) { this.id = id; this.nom = nom; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getNom() { return nom; } public void setNom(String nom) { this.nom = nom; } } --------------------------------------------------- Temps java Bean package vdo.actedu.hibernate; public class Temps { private int id ; private String libelle; public Temps() { } public Temps(int id, String libelle) { this.id = id; this.libelle = libelle; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getLibelle() { return libelle; } public void setLibelle(String libelle) { this.libelle = libelle; } } From click-user-returncarrricky@example.org Tue Sep 08 08:06:35 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 55040 invoked from network); 8 Sep 2009 08:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Sep 2009 08:06:35 -0000 Received: (qmail 90981 invoked by uid 500); 8 Sep 2009 08:06:34 -0000 Delivered-To: carrricky@example.org Received: (qmail 90974 invoked by uid 500); 8 Sep 2009 08:06:34 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 90965 invoked by uid 99); 8 Sep 2009 08:06:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 08:06:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 08:06:25 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkviE-0004Gc-0y for carrricky@example.org; Tue, 08 Sep 2009 10:06:02 +0200 Received: from portal.valdoise.fr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Tue, 08 Sep 2009 10:06:02 +0200 Received: from christophe.foiret by portal.valdoise.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Tue, 08 Sep 2009 10:06:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: easydoor <carrricky@example.org> Subject: Re: No control on required fields on TableForm Date: Tue, 8 Sep 2009 08:05:38 +0000 (UTC) Lines: 5 Message-ID: <carrricky@example.org> References: <carrricky@example.org> <carrricky@example.org> <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Bob, Tell me if the code is good for you to reproduce the issue Thanks From click-user-returncarrricky@example.org Thu Sep 10 07:50:46 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 68232 invoked from network); 10 Sep 2009 07:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Sep 2009 07:50:46 -0000 Received: (qmail 33190 invoked by uid 500); 10 Sep 2009 07:50:46 -0000 Delivered-To: carrricky@example.org Received: (qmail 33171 invoked by uid 500); 10 Sep 2009 07:50:46 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 33161 invoked by uid 99); 10 Sep 2009 07:50:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 07:50:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 07:50:36 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MleQ2-0005t9-4z for carrricky@example.org; Thu, 10 Sep 2009 09:50:14 +0200 Received: from portal.valdoise.fr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 10 Sep 2009 09:50:14 +0200 Received: from christophe.foiret by portal.valdoise.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 10 Sep 2009 09:50:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: easydoor <carrricky@example.org> Subject: Re: No control on required fields on TableForm Date: Thu, 10 Sep 2009 07:49:50 +0000 (UTC) Lines: 7 Message-ID: <carrricky@example.org> References: <carrricky@example.org> <carrricky@example.org> <carrricky@example.org> <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Bob, Could you answer to my issue, i need a solution Thanks From click-user-returncarrricky@example.org Thu Sep 10 08:19:41 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 79080 invoked from network); 10 Sep 2009 08:19:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Sep 2009 08:19:41 -0000 Received: (qmail 66176 invoked by uid 500); 10 Sep 2009 08:19:40 -0000 Delivered-To: carrricky@example.org Received: (qmail 66153 invoked by uid 500); 10 Sep 2009 08:19:40 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 66144 invoked by uid 99); 10 Sep 2009 08:19:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 08:19:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 08:19:30 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mles1-0004yZ-9l for carrricky@example.org; Thu, 10 Sep 2009 10:19:09 +0200 Received: from portal.valdoise.fr ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 10 Sep 2009 10:19:09 +0200 Received: from christophe.foiret by portal.valdoise.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 10 Sep 2009 10:19:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: easydoor <carrricky@example.org> Subject: Link on option CheckList Date: Thu, 10 Sep 2009 08:18:48 +0000 (UTC) Lines: 7 Message-ID: <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'd like to add a link on each option of a CheckList to display a jQuery tootip. I tried to use the HtmlStringBuffer with the render method on each option. But this render method refers to a Select List and not a CheckList Thank you for your help From click-user-returncarrricky@example.org Thu Sep 10 19:37:12 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 15085 invoked from network); 10 Sep 2009 19:37:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Sep 2009 19:37:12 -0000 Received: (qmail 29309 invoked by uid 500); 10 Sep 2009 19:37:12 -0000 Delivered-To: carrricky@example.org Received: (qmail 29288 invoked by uid 500); 10 Sep 2009 19:37:12 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 29279 invoked by uid 99); 10 Sep 2009 19:37:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 19:37:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 19:37:03 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MlpRf-0002vU-Pf for carrricky@example.org; Thu, 10 Sep 2009 21:36:40 +0200 Received: from promedica147-85.promedica.org ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 10 Sep 2009 21:36:39 +0200 Received: from thooper1 by promedica147-85.promedica.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <carrricky@example.org>; Thu, 10 Sep 2009 21:36:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: carrricky@example.org From: Tim Hooper <carrricky@example.org> Subject: Tabbed Form Question Date: Thu, 10 Sep 2009 19:36:22 +0000 (UTC) Lines: 8 Message-ID: <carrricky@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: carrricky@example.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 83.161.120.155 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/83.161.120.155 Safari/530.5) Sender: news <carrricky@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Is there a way to dynamically add new Tabs to the Tabbed Form example? I've tried many approaches, and can't get it to work. Also, i'd like to dynamically add fields to each tab sheet but haven't gotten that to work either. Thanks. Tim From click-user-returncarrricky@example.org Fri Sep 11 02:55:08 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 64705 invoked from network); 11 Sep 2009 02:55:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Sep 2009 02:55:08 -0000 Received: (qmail 44169 invoked by uid 500); 11 Sep 2009 02:55:07 -0000 Delivered-To: carrricky@example.org Received: (qmail 44125 invoked by uid 500); 11 Sep 2009 02:55:07 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 44114 invoked by uid 99); 11 Sep 2009 02:55:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 02:55:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f196.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 02:54:58 +0000 Received: by qyk34 with SMTP id 34so637257qyk.12 for <carrricky@example.org>; Thu, 10 Sep 2009 19:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=C4gfLaIhmOQCgM/D5WU1E2facoG3QdtWKX2Vr4Oer70=; b=Xn9ckAe74O0SwW/gwAihm1vC8lWfOoXSANL0MGmTRJ8mQKfo82mPrOWTlOx8uJot2o c3aZze25VX4W9/vriHE1/VSRoriizxzYK/OqJZwZUtCw6u0gh0PQkzGWUiNVCTb1t8xu 0a/x78ZsHZ6HDAS5lvl1F7EfcX1zqTMqhMOFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eQ7SPfsrsZdx4FU+q+kOgDcif9Lv4QwRNLcTLzZ5wPQE22cE44UEIMRjWOMPxZCspW J/uqGLQ6AficlmANq6luuupjfeOxH4AC/7INKdlppIzwDjj9KSurCjhxccXW2oXPRi3P 1YMFs8mGIYZXQa/G+Pzz7+o8XExlMjD2latzE= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s7mr1130925qcm.23.1252637677443; Thu, 10 Sep 2009 19:54:37 -0700 (PDT) In-Reply-To: <carrricky@example.org> References: <carrricky@example.org> Date: Fri, 11 Sep 2009 11:54:37 +0900 Message-ID: <carrricky@example.org> Subject: Re: Link on option CheckList From: Naoki Takezoe <carrricky@example.org> To: carrricky@example.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi easydoor, You have to override CheckList#render(). Other solution, It would be possible to decorate <li> by JavaScript. CheckList renders following HTML: <ul id="form_name_ul"> <li> <label for="name_0" class="checkListLabel"> <input type="checkbox" value="1" id="name_0" name="standardList"/>Item 1</label> </li> <li> <label for="name_1" class="checkListLabel"> <input type="checkbox" value="2" id="name_1" name="standardList"/>Item 2</label> </li> </ul> You would be able to pick <li> and insert <a> using JavaScript. Hope this helps! 2009/9/10 easydoor <carrricky@example.org>: > Hi all, > I'd like to add a link on each option of a CheckList to display a jQuery > tootip. > I tried to use the HtmlStringBuffer with the render method on each option. > But this render method refers to a Select List and not a CheckList > > Thank you for your help > > -- Naoki Takezoe From click-user-returncarrricky@example.org Fri Sep 11 11:19:00 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 8623 invoked from network); 11 Sep 2009 11:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Sep 2009 11:19:00 -0000 Received: (qmail 95569 invoked by uid 500); 11 Sep 2009 11:19:00 -0000 Delivered-To: carrricky@example.org Received: (qmail 95535 invoked by uid 500); 11 Sep 2009 11:19:00 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 95525 invoked by uid 99); 11 Sep 2009 11:19:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 11:19:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 11:18:51 +0000 Received: by vws5 with SMTP id 5so596336vws.32 for <carrricky@example.org>; Fri, 11 Sep 2009 04:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=wvzsztrAtwOm5anT+DGGfiNNvLz3+VsEWnbDjbAr4Yc=; b=wjmUv0r1P3KdyT+yF1P20/XUc+9eeSkmtSUReJS63npqEuWgjdnPQOBhSKbTi13rXP c+PwShGOcvaHbjVNDokYO+A8nP79mt/1JtwYqwlp4TsG8RZXTaCTUEtVSSUibXydBLkj uI2V1TtGivq9q47Z5hF326YMIv65TEmDKv5yk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AZIFifcqznJ+X8bqc/7kdDe6kOk6vLjSNNU0htnMgpIvVdVHc1jcThIWxvpFl9hf5M 7iPjQN2lmOL0KXMq/l6p+K5ePaWPco0V5zRE7w644TfU10W1YpS+A12L7be8ijwnWZrC ErgXK8MO/aIUkMhZkgGOlPE0W8k1WBvHuMeTI= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id r9mr2970015vcr.58.1252667910274; Fri, 11 Sep 2009 04:18:30 -0700 (PDT) In-Reply-To: <carrricky@example.org> References: <carrricky@example.org> Date: Fri, 11 Sep 2009 21:18:29 +1000 Message-ID: <carrricky@example.org> Subject: Re: Tabbed Form Question From: Malcolm Edgar <carrricky@example.org> To: carrricky@example.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Tim, I haven't tried this myself. Its actually quite difficult to dynamically create controls in pages, because typically you need all the controls to process the request. Adding controls after the process stage means that the added controls don't participate in the processing. I have built quite a few pages which have a TabbedPanel and inside a Panel is a dynamic form which has different controls depending upon some context. I have been using stateful pages to make this easier to do, but it introduces other problems when you try add a new control to a stateful page, but it has already been added. Fixing up these bugs and can be a real pain. regards Malcolm Edgar On Fri, Sep 11, 2009 at 5:36 AM, Tim Hooper <carrricky@example.org> wrote: > Is there a way to dynamically add new Tabs to the Tabbed Form example? > I've tried many approaches, and can't get it to work. > Also, i'd like to dynamically add fields to each tab sheet but > haven't gotten that to work either. > > Thanks. > > Tim > > From click-user-returncarrricky@example.org Fri Sep 11 13:17:03 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 44343 invoked from network); 11 Sep 2009 13:17:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Sep 2009 13:17:02 -0000 Received: (qmail 67773 invoked by uid 500); 11 Sep 2009 13:17:02 -0000 Delivered-To: carrricky@example.org Received: (qmail 67751 invoked by uid 500); 11 Sep 2009 13:17:02 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 67740 invoked by uid 99); 11 Sep 2009 13:17:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 13:17:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-iw0-f196.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 13:16:53 +0000 Received: by iwn34 with SMTP id 34so443372iwn.21 for <multiple recipients>; Fri, 11 Sep 2009 06:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=e2r8TT2Lz3GBHFeaqg0dHUx/DVF3e6EKR78mXGTvhJk=; b=XW0YJ2xkSE20bYgPc213iZS82NgwrpOHzdvjY2daJW5e8ksjjagwBaF4B+yxVEyVUJ CBAoWrDZFkHjKH4GKAktPmqBCCHkZ6kNy7mfhbbu9foY7hrTdjFpWB50tK8Cw+of61is E67iGwl61W9uXDMLYFl9zR/nRsN80FXssZ2To= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CFp2WNRCxpFeE1jEsdKRmx3WziufFYuwdtx/JcUrxAbB4U6ceRhJdP/y/lPEeDIYag NODFNPQnq8jCyTT7cR/Na9bLSeYGWonBYo3tI2cqjzyKi01RA6DMb33i7cK8vPvvDauV u9PN4zgG/ITwLvPfSt+t5NCpx1AkyfSzcPzqk= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id a7mr5539984ibc.51.1252674991851; Fri, 11 Sep 2009 06:16:31 -0700 (PDT) Date: Fri, 11 Sep 2009 10:16:31 -0300 Message-ID: <carrricky@example.org> Subject: A new way to use CayenneTemplate[How to implement it] From: "Gilberto C. Andrade" <carrricky@example.org> To: click-dev <carrricky@example.org>, click-user <carrricky@example.org> Content-Type: multipart/mixed; boundary=001517741218e8880304734d1f7e X-Virus-Checked: Checked by ClamAV on apache.org --001517741218e8880304734d1f7e Content-Type: text/plain; charset=UTF-8 Hi all, hope everyone are well! I'm trying to use the CayenneTemplate class implemented by Malcolm. I want to use it the following way: [code] BaseCayenneTemplate<Veiculo, String> bCT = new BaseCayenneTemplate<Veiculo, String>(Veiculo.class); Veiculo entity = new Veiculo(); entity.setPlaca("250-MVU"); entity.setCor("vermelho"); bCT.insert(entity); Collection<Veiculo> result = bCT.getAll(); [/code] My implementation isn't complete and maybe doesn't exist any pattern/optimization on it. So, I ask you help on it! Regards, Gilberto PS.: Is there the possibility to see this option in click-extras or in google code? --001517741218e8880304734d1f7e Content-Type: text/x-java; charset=US-ASCII; name="BaseCayenneTemplate.java" Content-Disposition: attachment; filename="BaseCayenneTemplate.java" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 cHVibGljIGNsYXNzIEJhc2VDYXllbm5lVGVtcGxhdGU8VCwgUEsgZXh0ZW5kcyBTZXJpYWxpemFi bGU+IGV4dGVuZHMKCQlDYXllbm5lVGVtcGxhdGUgaW1wbGVtZW50cyBJU2VydmljZTxULCBQSz4g ewoJcHJvdGVjdGVkIENsYXNzPFQ+IGNsYXNzRW50aXR5OwoKCXB1YmxpYyBCYXNlQ2F5ZW5uZVRl bXBsYXRlKENsYXNzPFQ+IGNsYXNzRW50aXR5KSB7CgkJc3VwZXIoKTsKCQl0aGlzLmNsYXNzRW50 aXR5ID0gY2xhc3NFbnRpdHk7Cgl9CgoJcHVibGljIENsYXNzPFQ+IGdldENsYXNzRW50aXR5KCkg eyByZXR1cm4gY2xhc3NFbnRpdHk7fQoKCXB1YmxpYyBDb2xsZWN0aW9uPFQ+IGdldEFsbCgpIHsK CQlWYWxpZGF0ZS5ub3ROdWxsKHZhbHVlLCAiTnVsbCBDbGFzc0VudGl0eSBwYXJhbWV0ZXIiKTsK CQlTZWxlY3RRdWVyeSBxdWVyeSA9IG5ldyBTZWxlY3RRdWVyeShnZXRDbGFzc0VudGl0eSgpKTsK CQlyZXR1cm4gcGVyZm9ybVF1ZXJ5KHF1ZXJ5KTsKCX0KCglwdWJsaWMgYm9vbGVhbiBmaW5kKFQg ZW50aXR5KSB7CgkJVmFsaWRhdGUubm90TnVsbCh2YWx1ZSwgIk51bGwgRW50aXR5IHBhcmFtZXRl ciIpOwoJCVZhbGlkYXRlLm5vdE51bGwodmFsdWUsICJOdWxsIENsYXNzRW50aXR5IHBhcmFtZXRl ciIpOwoJCWlmIChwZXJmb3JtUXVlcnkobmV3IFNlbGVjdFF1ZXJ5KGdldENsYXNzRW50aXR5KCks IGVudGl0eSkpICE9IG51bGwpewoJCQkKCQl9CgkJcmV0dXJuIAoJfQoJcHVibGljIGJvb2xlYW4g ZmluZChQSyBwaykgewoJCVZhbGlkYXRlLm5vdE51bGwodmFsdWUsICJOdWxsIFBLIHBhcmFtZXRl ciIpOwoJCVZhbGlkYXRlLm5vdE51bGwodmFsdWUsICJOdWxsIENsYXNzRW50aXR5IHBhcmFtZXRl ciIpOwoJCWlmIChwZXJmb3JtUXVlcnkobmV3IFNlbGVjdFF1ZXJ5KGdldENsYXNzRW50aXR5KCks IGVudGl0eSkpICE9IG51bGwpewoJCQkKCQl9CgkJcmV0dXJuIAoJfQoKCXB1YmxpYyB2b2lkIGlu c2VydChUIGVudGl0eSkgdGhyb3dzIEluc2VydEV4Y2VwdGlvbiB7CgkJVmFsaWRhdGUubm90TnVs bCh2YWx1ZSwgIk51bGwgRW50aXR5IHBhcmFtZXRlciIpOwoJCWlmICgoKFBlcnNpc3RlbnQpIGVu dGl0eSkuZ2V0T2JqZWN0Q29udGV4dCgpID09IG51bGwpIHsKCQkJcmVnaXN0ZXJOZXdPYmplY3Qo KERhdGFPYmplY3QpIGVudGl0eSk7CgkJfQoJCWNvbW1pdENoYW5nZXMoKTsKCX0KCglwdWJsaWMg dm9pZCB1cGRhdGUoVCBlbnRpdHkpIHsKCQlWYWxpZGF0ZS5ub3ROdWxsKHZhbHVlLCAiTnVsbCBF bnRpdHkgcGFyYW1ldGVyIik7CgkJaWYgKCgoUGVyc2lzdGVudCkgZW50aXR5KS5nZXRPYmplY3RD b250ZXh0KCkgPT0gbnVsbCkgewoJCQlyZWdpc3Rlck5ld09iamVjdCgoRGF0YU9iamVjdCkgZW50 aXR5KTsKCQl9CgkJY29tbWl0Q2hhbmdlcygpOwoJfQoKCXB1YmxpYyB2b2lkIGRlbGV0ZShUIGVu dGl0eSkgewoJCVZhbGlkYXRlLm5vdE51bGwodmFsdWUsICJOdWxsIEVudGl0eSBwYXJhbWV0ZXIi KTsKCQlkZWxldGVPYmplY3QoKERhdGFPYmplY3QpIGVudGl0eSk7Cgl9CgoJcHVibGljIHZvaWQg ZGVsZXRlKFBLIHBrKSB7CgkJVmFsaWRhdGUubm90TnVsbCh2YWx1ZSwgIk51bGwgUGsgcGFyYW1l dGVyIik7CgkJZGVsZXRlT2JqZWN0KCk7Cgl9CgkKCXB1YmxpYyBDb2xsZWN0aW9uPFQ+IGZpbmRM aWtlKFN0cmluZyBsaWtlQ29sdW1uLCBTdHJpbmcgbGlrZVZhbHVlKSB7CgkJVmFsaWRhdGUubm90 TnVsbCh2YWx1ZSwgIk51bGwgQ2xhc3NFbnRpdHkgcGFyYW1ldGVyIik7CgkJVmFsaWRhdGUubm90 TnVsbCh2YWx1ZSwgIk51bGwgbGlrZUNvbHVtbiBwYXJhbWV0ZXIiKTsKCQlWYWxpZGF0ZS5ub3RO dWxsKHZhbHVlLCAiTnVsbCBsaWtlVmFsdWUgcGFyYW1ldGVyIik7CgkJRXhwcmVzc2lvbiBxdWFs ID0gRXhwcmVzc2lvbkZhY3RvcnkubGlrZUV4cChsaWtlQ29sdW1uLCBsaWtlVmFsdWUpOwoJCXJl dHVybiBwZXJmb3JtUXVlcnkobmV3IFNlbGVjdFF1ZXJ5KGdldENsYXNzRW50aXR5KCksIHF1YWwp KTsKCX0KCglwdWJsaWMgQ29sbGVjdGlvbjxUPiBmaW5kQnlOYW1lZFF1ZXJ5KFN0cmluZyBxdWVy eU5hbWUpIHsKCQlTZWxlY3RRdWVyeSBxdWVyeSA9IG5ldyBTZWxlY3RRdWVyeShxdWVyeU5hbWUp OwoJCXJldHVybiBwZXJmb3JtUXVlcnkocXVlcnkpOwoJfQp9Cg== --001517741218e8880304734d1f7e Content-Type: text/x-java; charset=US-ASCII; name="IService.java" Content-Disposition: attachment; filename="IService.java" Content-Transfer-Encoding: base64 X-Attachment-Id: file2 LyoqCiAJCiAqIEdlbmVyYWwgaW50ZXJmYWNlIGZvciB1c2Ugd2l0aCB0aGUgcGVyc2lzdGVuY2Ug bWVjaGFuaXNtLiBFc3RhYmxpc2hlcyBlc3NlbnRpYWwgbWV0aG9kIHNpZ25hdHVyZXMgZm9yCiAq IGRhdGFiYXNlIG9wYXJhdGlvbnMuIAogKiAKICogQGF1dGhvciBHaWxiZXJ0byBDYWV0YW5vIGRl IEFuZHJhZGUKICovCnB1YmxpYyBpbnRlcmZhY2UgSVNlcnZpY2U8VCwgUEsgZXh0ZW5kcyBTZXJp YWxpemFibGU+IHsKCiAgICBwdWJsaWMgQ2xhc3M8VD4gZ2V0Q2xhc3NFbnRpdHkoKTsKCiAgICAv KioKICAgICAqIEdlbmVyaWMgbWV0aG9kIHVzZWQgdG8gZ2V0IGFsbCBlbnRpdGllcyBvZiBhIHBh cnRpY3VsYXIgY2xhc3MuIFRoaXMgcGFydGljdWxhciBjbGFzcyBpcyAKICAgICAqIGRlZmluZWQg aW4gdGhlIGNvbnN0cnVjdG9yIG9mIHRoZSBpbXBsZW1lbnRhdGlvbiBvZiB0aGlzIGludGVyZmFj ZS4KICAgICAqIAogICAgICogQHJldHVybiBDb2xsZWN0aW9uIEFsbCBlbnRpdGllcyBmb3IgdGhp cyBwYXJ0aWN1bGFyIGNsYXNzCiAgICAgKi8KICAgIHB1YmxpYyBDb2xsZWN0aW9uPFQ+IGdldEFs bCgpOwoKICAgIC8qKgogICAgICogR2VuZXJpYyBtZXRob2QgdG8gZ2V0IGFuIGVudGl0eSAKICAg ICAqIAogICAgICogQHBhcmFtIGVudGl0eQogICAgICogICAgICAgICAgICAgICAgT2JqZWN0IHRv IHdoaWNoIGl0IHJldHVybnMgdGhlIHNlYXJjaAogICAgICogQHJldHVybiB0cnVlIG9iamVjdCBl eGlzdHMgYW5kIHRoZSBlbnRpdHkgaXMgZmlsbGVkLiBGYWxzZSBvdGhlcndpc2UuCiAgICAgKi8K ICAgIHB1YmxpYyBib29sZWFuIGZpbmQoVCBlbnRpdHkpOwoKICAgIC8qKgogICAgICogR2VuZXJp YyBtZXRob2QgdG8gY2hlY2sgdGhlIGV4aXN0ZW5jZSBvZiBhbiBlbnRpdHkuCiAgICAgKiAKICAg ICAqIEBwYXJhbSBwawogICAgICogICAgICAgICAgICAgICAgT2JqZWN0IElkZW50aWZpY2F0aW9u IHRvIGNoZWNrIHRoZSBleGlzdGVuY2Ugb2YKICAgICAqIEByZXR1cm4gdHJ1ZSBvYmplY3QgZXhp c3RzLiBGYWxzZSBvdGhlcndpc2UuCiAgICAgKi8KICAgIHB1YmxpYyBib29sZWFuIGZpbmQoUEsg cGspOwogICAgCiAgICAvKioKICAgICAqIEdlbmVyaWMgbWV0aG9kIHRvIGluc2VydCBhIG5ldyBl bnRpdHkuCiAgICAgKiAKICAgICAqIEBwYXJhbSBlbnRpdHkKICAgICAqICAgICAgICAgICAgICAg IHRoZSBuZXcgZW50aXR5LgogICAgICogQHRocm93cyBJbnNlcnRFeGNlcHRpb24gCiAgICAgKi8K ICAgIHB1YmxpYyB2b2lkIGluc2VydChUIGVudGl0eSkgdGhyb3dzIEluc2VydEV4Y2VwdGlvbjsK CiAgICAvKioKICAgICAqIEdlbmVyaWMgbWV0aG9kIHRvIHVwZGF0ZSBhbiBlbnRpdHkuCiAgICAg KiAKICAgICAqIEBwYXJhbSBlbnRpdHkKICAgICAqICAgICAgICAgICAgICAgIHRoZSBjaGFuZ2Vk IGVudGl0eS4KICAgICAqIEB0aHJvd3MgT2JqZWN0Tm90RXhpc3RFeGNlcHRpb24gCiAgICAgKi8K ICAgIHB1YmxpYyB2b2lkIHVwZGF0ZShUIGVudGl0eSk7CgogICAgLyoqCiAgICAgKiBHZW5lcmlj IG1ldGhvZCB0byBkZWxldGUgYW4gZW50aXR5LiBVc2VkIHdpdGggZmluZCgpIG1ldGhvZC4KICAg ICAqIAogICAgICogQHBhcmFtIGVudGl0eQogICAgICogICAgICAgICAgICAgICAgdGhlIGVudGl0 eSB0byBiZSBkZWxldGVkLgogICAgICogQHRocm93cyBPYmplY3ROb3RFeGlzdEV4Y2VwdGlvbiAK ICAgICAqLwogICAgcHVibGljIHZvaWQgZGVsZXRlKFQgZW50aXR5KTsKCiAgICAvKioKICAgICAq IEdlbmVyaWMgbWV0aG9kIHRvIGRlbGV0ZSBhbiBlbnRpdHkuIFVzZWQgd2l0aCBmaW5kKCkgbWV0 aG9kLgogICAgICogCiAgICAgKiBAcGFyYW0gcD8KICAgICAqICAgICAgICAgICAgICAgIHRoZSBw cmltYXJ5IGtleSBvZiB0aGUgZW50aXR5IHRvIGJlIGRlbGV0ZWQuCiAgICAgKiBAdGhyb3dzIE9i amVjdE5vdEV4aXN0RXhjZXB0aW9uIAogICAgICovCiAgICBwdWJsaWMgdm9pZCBkZWxldGUoUEsg cGspOwoKICAgIC8qKgogICAgICogR2VuZXJpYyBtZXRob2QgdGhhdCByZXR1cm5zIGEgbGlzdCBv ZiBlbnRpdGllcyBmb3IgYSBuYW1lZCBxdWVyeQogICAgICogCiAgICAgKiBAcGFyYW0gcXVlcnlO YW1lCiAgICAgKiAgICAgICAgICAgICAgICB0aGUgbmFtZWQgcXVlcnkuCiAgICAgKi8KICAgIHB1 YmxpYyBDb2xsZWN0aW9uPFQ+IGZpbmRCeU5hbWVkUXVlcnkoU3RyaW5nIHF1ZXJ5TmFtZSk7Cgog ICAgLyoqCiAgICAgKiBHZW5lcmljIG1ldGhvZCB0aGF0IHJldHVybnMgYSBsaXN0IG9mIGVudGl0 aWVzIGZvciBMSUtFIGV4cHJlc3Npb24KICAgICAqIAogICAgICogQHBhcmFtIGxpa2VDb2x1bW4K ICAgICAqICAgICAgICAgICAgICAgIHRoZSBmaWVsZC4KICAgICAqIEBwYXJhbSBsaWtlVmFsdWUK ICAgICAqICAgICAgICAgICAgICAgIHRoZSB2YWx1ZS4KICAgICAqLwogICAgcHVibGljIENvbGxl Y3Rpb248VD4gZmluZExpa2UoU3RyaW5nIGxpa2VDb2x1bW4sIFN0cmluZyBsaWtlVmFsdWUpOwp9 --001517741218e8880304734d1f7e-- From click-user-returncarrricky@example.org Sat Sep 12 01:55:09 2009 Return-Path: <click-user-returncarrricky@example.org> Delivered-To: carrricky@example.org Received: (qmail 12485 invoked from network); 12 Sep 2009 01:55:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 12 Sep 2009 01:55:08 -0000 Received: (qmail 58792 invoked by uid 500); 12 Sep 2009 01:55:08 -0000 Delivered-To: carrricky@example.org Received: (qmail 58753 invoked by uid 500); 12 Sep 2009 01:55:08 -0000 Mailing-List: contact carrricky@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:carrricky@example.org> List-Unsubscribe: <mailto:carrricky@example.org> List-Post: <mailto:carrricky@example.org> List-Id: <click-user.incubator.apache.org> Reply-To: carrricky@example.org Delivered-To: mailing list carrricky@example.org Received: (qmail 58743 invoked by uid 99); 12 Sep 2009 01:55:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 01:55:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of carrricky@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-pz0-f176.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 01:54:58 +0000 Received: by pzk6 with SMTP id 6so1237779pzk.8 for <carrricky@example.org>; Fri, 11 Sep 2009 18:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=o5LThJNtChN9RRRdnsRUU+aj+Ujen1XIHhvLQvg8etQ=; b=hSh0O0/QF+VLc9fJpfxROiM2gWbxxoBW2D9gvMs7tRylgl0Ajv9uDKzMJKkyBAdyX6 NHh0d7ZYZKNWgb4hNCw2CIuuNgejS8TbI7KdWxxHcmH9zCl7XqQByQkaDhTXRSZH++Jr EnCxVSfRT+/jqfi0VlOxuGp0V8kIfO/UQRzy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=EyaPuVHLZ1zOUSgwKWdI3xBUDpWiEOCqvRJHv/rrAtG0npFZ+kY4D3CvuZBoxYWmnQ PTXOzChwaRxauvpbS7tzR5bPHTYROZjgCtNbEMENoTuzCe/gpWkBLGjdj0mghNrrVAV9 FlMYMbu6l+8KqGfXxIzb+UABxg9uSxUQ2LkXY= Received: by 83.161.120.155 with SMTP id q14mr6617050wam.178.1252720476782; Fri, 11 Sep 2009 18:54:36 -0700 (PDT) Received: from ?83.161.120.155? 941.920.3240.perm.iinet.net.au [83.161.120.155]) by mx.google.com with ESMTPS id 21sm1458743pzk.7.283.161.120.155.54.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Sep 2009
{'source': 'Apache Software Foundation Public Mail Archives'}