From davisadrian@example.net Fri Jan 01 01:32:18 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 89108 invoked from network); 1 Jan 2010 01:32:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2010 01:32:18 -0000 Received: (qmail 96456 invoked by uid 500); 1 Jan 2010 01:32:16 -0000 Delivered-To: davisadrian@example.net Received: (qmail 96387 invoked by uid 500); 1 Jan 2010 01:32:16 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 96377 invoked by uid 99); 1 Jan 2010 01:32:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 01:32: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 davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO sekvoj.buk.cvut.cz) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 01:32:07 +0000 Received: from localhost (localhost [83.161.120.155]) by sekvoj.buk.cvut.cz (Postfix) with ESMTP id A0D899B665 for <davisadrian@example.net>; Fri, 1 Jan 2010 02:31:45 +0100 (CET) Received: from sekvoj.buk.cvut.cz ([83.161.120.155]) by localhost (mail.buk.cvut.cz [83.161.120.155]) (amavisd-maia, port 10024) with LMTP id 22469-02 for <davisadrian@example.net>; Fri, 1 Jan 2010 02:31:40 +0100 (CET) Received: from [83.161.120.155] (85-135-229-216.adsl.slovanet.sk [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sekvoj.buk.cvut.cz (Postfix) with ESMTPSA id D887D9B660 for <davisadrian@example.net>; Fri, 1 Jan 2010 02:31:38 +0100 (CET) Message-ID: <davisadrian@example.net> Date: Fri, 01 Jan 2010 02:31:36 +0100 From: =?UTF-8?B?TWFyZWsgxaBhYm8=?= <davisadrian@example.net> Organization: Club SU CVUT Buben User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: davisadrian@example.net Subject: Response with FeedBackMessage Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard Hi, I would like to ask how can I achieve propagation of a feedback message to a page that is set in setResponsePage(). Consider this: try { ... info(); setResponsePage(); } catch (e) { error(e); } Of course the error is propagated, is it possible or can you suggest a workaround to achieve propagation of feedback message into response? Thanks, regards -- Marek Å abo Chief Server Manager Club SU CVUT Buben Bubenečská Kolej Terronská 28, Prague 16000 XMPP: davisadrian@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Fri Jan 01 05:44:13 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 47199 invoked from network); 1 Jan 2010 05:44:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2010 05:44:13 -0000 Received: (qmail 70432 invoked by uid 500); 1 Jan 2010 05:44:12 -0000 Delivered-To: davisadrian@example.net Received: (qmail 70382 invoked by uid 500); 1 Jan 2010 05:44:11 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 70372 invoked by uid 99); 1 Jan 2010 05:44:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 05:44:11 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-fx0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 05:44:04 +0000 Received: by fxm4 with SMTP id 4so42738462fxm.32 for <davisadrian@example.net>; Thu, 31 Dec 2009 21:43:42 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id j6mr310466hbi.26.1262324621706; Thu, 31 Dec 2009 21:43:41 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> Date: Fri, 1 Jan 2010 07:43:41 +0200 Message-ID: <davisadrian@example.net> Subject: Re: Response with FeedBackMessage From: Martin Makundi <davisadrian@example.net> To: davisadrian@example.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable if you do getSession().info() 2010/1/1 Marek =C5=A0abo <davisadrian@example.net>: > Hi, > > I would like to ask how can I achieve propagation of a feedback message t= o a > page that is set in setResponsePage(). > Consider this: > > try { > ... > info(); > setResponsePage(); > } catch (e) { > error(e); > } > > Of course the error is propagated, is it possible or can you suggest a > workaround to achieve propagation of feedback message into response? > > Thanks, regards > > -- > Marek =C5=A0abo > Chief Server Manager > Club SU CVUT Buben > Bubene=C4=8Dsk=C3=A1 Kolej > Terronsk=C3=A1 28, Prague 16000 > XMPP: davisadrian@example.net > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Fri Jan 01 09:38:31 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 97603 invoked from network); 1 Jan 2010 09:38:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2010 09:38:31 -0000 Received: (qmail 19897 invoked by uid 500); 1 Jan 2010 09:38:30 -0000 Delivered-To: davisadrian@example.net Received: (qmail 19840 invoked by uid 500); 1 Jan 2010 09:38:30 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 19830 invoked by uid 99); 1 Jan 2010 09:38:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 09:38:30 +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 davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 09:38:21 +0000 Received: by fg-out-1718.google.com with SMTP id e12so1777668fga.2 for <davisadrian@example.net>; Fri, 01 Jan 2010 01:37:59 -0800 (PST) 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 :content-transfer-encoding; bh=6kzvb8qPNH09cvr8PY1kxIS7W9I+BHtIo569KOitlcg=; b=anv07gR7nP9uOxdRbJUVR6Zprk/B1WlP+PKcqlMdr3PU7y++6qgK/Sap7vY3u88bPL qONuIj0xZO80D6JXg1Ci5b4bsmm02MtQ/Bfv5AuAoeTzTHc1bMPbMZz2MDDtH/4lNHlp C90zrMdBMluaxRbFcPh3ArnjZswNYHiA7osYQ= 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:content-transfer-encoding; b=NymioOncmTHxnezFCfHr1Faj/Hihi37HafKZFY5VnA3ZL/DUCOmKCz455PEZe3xV2x JuDbRFEhF1iOQ4q05VSi5tRzAI4IuMqzzJmVx5Qlw9DqlH24an7VW+cxU5UFMejRoweA BqL//qFMCD/pMyc9qlIVanAtr48uZpZXN6Ed4= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id j3mr6637908mug.82.1262338679665; Fri, 01 Jan 2010 01:37:59 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> <davisadrian@example.net> Date: Fri, 1 Jan 2010 10:37:59 +0100 Message-ID: <davisadrian@example.net> Subject: Re: Response with FeedBackMessage From: Martijn Dashorst <davisadrian@example.net> To: davisadrian@example.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable or: MyPage page =3D new MyPage(); page.info(...); setResponsePage(page); Martijn On Fri, Jan 1, 2010 at 6:43 AM, Martin Makundi <davisadrian@example.net> wrote: > if you do getSession().info() > > 2010/1/1 Marek =C5=A0abo <davisadrian@example.net>: >> Hi, >> >> I would like to ask how can I achieve propagation of a feedback message = to a >> page that is set in setResponsePage(). >> Consider this: >> >> try { >> ... >> info(); >> setResponsePage(); >> } catch (e) { >> error(e); >> } >> >> Of course the error is propagated, is it possible or can you suggest a >> workaround to achieve propagation of feedback message into response? >> >> Thanks, regards >> >> -- >> Marek =C5=A0abo >> Chief Server Manager >> Club SU CVUT Buben >> Bubene=C4=8Dsk=C3=A1 Kolej >> Terronsk=C3=A1 28, Prague 16000 >> XMPP: davisadrian@example.net >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: davisadrian@example.net >> For additional commands, e-mail: davisadrian@example.net >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > --=20 Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Fri Jan 01 13:35:50 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 48894 invoked from network); 1 Jan 2010 13:35:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2010 13:35:50 -0000 Received: (qmail 78474 invoked by uid 500); 1 Jan 2010 13:35:48 -0000 Delivered-To: davisadrian@example.net Received: (qmail 78427 invoked by uid 500); 1 Jan 2010 13:35:48 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 78417 invoked by uid 99); 1 Jan 2010 13:35:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 13:35:48 +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 davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO sekvoj.buk.cvut.cz) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 13:35:39 +0000 Received: from localhost (localhost [83.161.120.155]) by sekvoj.buk.cvut.cz (Postfix) with ESMTP id 43B7D9B665 for <davisadrian@example.net>; Fri, 1 Jan 2010 14:35:17 +0100 (CET) Received: from sekvoj.buk.cvut.cz ([83.161.120.155]) by localhost (mail.buk.cvut.cz [83.161.120.155]) (amavisd-maia, port 10024) with LMTP id 14740-02 for <davisadrian@example.net>; Fri, 1 Jan 2010 14:35:10 +0100 (CET) Received: from [83.161.120.155] (85-135-153-240.adsl.slovanet.sk [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sekvoj.buk.cvut.cz (Postfix) with ESMTPSA id 4FBF19B660 for <davisadrian@example.net>; Fri, 1 Jan 2010 14:35:10 +0100 (CET) Message-ID: <davisadrian@example.net> Date: Fri, 01 Jan 2010 14:35:09 +0100 From: =?UTF-8?B?TWFyZWsgxaBhYm8=?= <davisadrian@example.net> Organization: Club SU CVUT Buben User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: davisadrian@example.net Subject: Re: Response with FeedBackMessage References: <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard Thanks both of you, I already tried both of it, my problem was in fact that first option had null reporter and the second one had reporter of page. And as you may guess I was using componentfilter for this form. I will make a workaround for now. Is there any possibility of changing the reporter to the form where this code is or should I dereferrence it down like this: MyPage page = new MyPage(); page.getPanel().getForm().info() setResponsePage(page); Marek Martijn Dashorst wrote: > or: > > MyPage page = new MyPage(); > page.info(...); > setResponsePage(page); > > Martijn > > On Fri, Jan 1, 2010 at 6:43 AM, Martin Makundi > <davisadrian@example.net> wrote: > >> if you do getSession().info() >> >> 2010/1/1 Marek Å abo <davisadrian@example.net>: >> >>> Hi, >>> >>> I would like to ask how can I achieve propagation of a feedback message to a >>> page that is set in setResponsePage(). >>> Consider this: >>> >>> try { >>> ... >>> info(); >>> setResponsePage(); >>> } catch (e) { >>> error(e); >>> } >>> >>> Of course the error is propagated, is it possible or can you suggest a >>> workaround to achieve propagation of feedback message into response? >>> >>> Thanks, regards >>> >>> -- >>> Marek Å abo >>> Chief Server Manager >>> Club SU CVUT Buben >>> Bubenečská Kolej >>> Terronská 28, Prague 16000 >>> XMPP: davisadrian@example.net >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: davisadrian@example.net >>> For additional commands, e-mail: davisadrian@example.net >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: davisadrian@example.net >> For additional commands, e-mail: davisadrian@example.net >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Sat Jan 02 03:18:30 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 44692 invoked from network); 2 Jan 2010 03:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2010 03:18:29 -0000 Received: (qmail 88256 invoked by uid 500); 2 Jan 2010 03:18:28 -0000 Delivered-To: davisadrian@example.net Received: (qmail 88162 invoked by uid 500); 2 Jan 2010 03:18:28 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 88152 invoked by uid 99); 2 Jan 2010 03:18:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 03:18:27 +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 davisadrian@example.net 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; Sat, 02 Jan 2010 03:18:21 +0000 Received: by qyk34 with SMTP id 34so6977949qyk.14 for <davisadrian@example.net>; Fri, 01 Jan 2010 19:18:00 -0800 (PST) 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=foyv/GyStciE71aNv5I0K2oP5Vw2HzGYmNYnakMJgL8=; b=tLlaoY0MjNTGUVyi5Gt7N9ESbQkWjO9yynIeDYBtBOyRT18+Knd15dfa346HeJI+NY wXcKQK0I8+7B3hw2OlmUdzAptaLxSy1RCb8UosUlwWAdvPxfulVc88sxMCfzV7u7qFxS WxPQlzmBBe+cTo8TeCEhPdI9kJpe/48R2nWKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UnngqzlQdGvOcKC+NE8TbUuGb9n4LGHsqiPHcp4+4Q5AdlrxyCr2FOAVEYg3QPu5ik fIvzbW1obMRhgINc6WSCtoCX1OZW/dqg6GxqRMKKWe0rCbTTWzib4BTSIIIxfJYeVtS7 RJxiWR48Yb6PHup+b4FH0Pg4G+VSJ6cxmbftg= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id y2mr8602522qce.76.1262402280328; Fri, 01 Jan 2010 19:18:00 -0800 (PST) Date: Fri, 1 Jan 2010 22:18:00 -0500 Message-ID: <davisadrian@example.net> Subject: DataTable's Handling of NULL Values From: Norman Elton <davisadrian@example.net> To: davisadrian@example.net Content-Type: text/plain; charset=ISO-8859-1 I've created a DataTable, which works great. I'd like to define the behavior if a property returns NULL. For instance, this column retrieves the AuditTrain object for a given Asset: columns.add(new PropertyColumn<Asset>(new Model<String>("Audit Train"), "audit_train"); If the AuditTrain is NULL, I get a null-pointer exception. Ideally, I'd like to return a column-specific string and css class. Seems that I need to define a new IColumn. Any pointers? Has this been done before? Thanks, Norman --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Sat Jan 02 07:05:13 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 2607 invoked from network); 2 Jan 2010 07:05:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2010 07:05:13 -0000 Received: (qmail 41700 invoked by uid 500); 2 Jan 2010 07:05:12 -0000 Delivered-To: davisadrian@example.net Received: (qmail 41624 invoked by uid 500); 2 Jan 2010 07:05:11 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 41613 invoked by uid 99); 2 Jan 2010 07:05:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 07:05:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 07:05:04 +0000 Received: by fxm4 with SMTP id 4so44979166fxm.32 for <davisadrian@example.net>; Fri, 01 Jan 2010 23:04:42 -0800 (PST) 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=yf99gMp6miVjH08R93zFsqD/RC0fO1tNzIeyYjFJvbo=; b=dURLXWSG7Jpj33x/vY/t8YLSzxmy+hKc2sWBsdmpXWHYHgCInz4yFW8oimlEcCFN1r kZ5Y33UcL+1xnodRdH7l6d9tipPMPsqLiLRwNP5V58PESUJG8ZYEKVPOY+cuU1M1sWpQ LISfTxlnMk1yfZ29uQebjGRey0RwHDgA3/ge0= 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=DCiib0t83Rpb9O4xeU4nG3tlDLto5+bGLUnqYj/E8Gbe5eBND9yXcoIAR/DGH6t56y iBqnO1FsH8hVC+hDp3n5e94nQlHjTtrzk5emfztr6Eq3W/NQM52a2jAeAkmUr+yWSP08 yEy/rVCnIECIQS0Pgjrf0dN3UVP5tnr8Tp9Do= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 10mr6615177mul.128.1262415882662; Fri, 01 Jan 2010 23:04:42 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> Date: Sat, 2 Jan 2010 08:04:42 +0100 Message-ID: <davisadrian@example.net> Subject: Re: DataTable's Handling of NULL Values From: Ernesto Reinaldo Barreiro <davisadrian@example.net> To: davisadrian@example.net Content-Type: multipart/alternative; boundary=00163649a3373eb356047c291a63 --00163649a3373eb356047c291a63 Content-Type: text/plain; charset=ISO-8859-1 Maybe something like this? PropertyColumn<Asset> propertyColumn = new PropertyColumn<Asset>( new Model<String>("AuditTrain"), "audit_train") { private static final long serialVersionUID = 1L; @Override public void populateItem(Item<ICellPopulator<Asset>> item, String componentId, IModel<Asset> rowModel) { if(rowModel.getObject().getAudit_train() != null) super.populateItem(item, componentId, rowModel); else { item.add(new Label(componentId, "No audit train")); item.add(new AttributeModifier("class",true, new Model<String>("noaudit"))); } } }; Best, Ernesto On Sat, Jan 2, 2010 at 4:18 AM, Norman Elton <davisadrian@example.net> wrote: > I've created a DataTable, which works great. I'd like to define the > behavior if a property returns NULL. For instance, this column > retrieves the AuditTrain object for a given Asset: > > columns.add(new PropertyColumn<Asset>(new Model<String>("Audit > Train"), "audit_train"); > > If the AuditTrain is NULL, I get a null-pointer exception. Ideally, > I'd like to return a column-specific string and css class. Seems that > I need to define a new IColumn. > > Any pointers? Has this been done before? > > Thanks, > > Norman > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > --00163649a3373eb356047c291a63-- From davisadrian@example.net Sat Jan 02 08:10:42 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 9865 invoked from network); 2 Jan 2010 08:10:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2010 08:10:42 -0000 Received: (qmail 62676 invoked by uid 500); 2 Jan 2010 08:10:40 -0000 Delivered-To: davisadrian@example.net Received: (qmail 62607 invoked by uid 500); 2 Jan 2010 08:10:40 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 62597 invoked by uid 99); 2 Jan 2010 08:10:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 08:10:40 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-yx0-f191.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 08:10:30 +0000 Received: by yxe29 with SMTP id 29so39615546yxe.14 for <davisadrian@example.net>; Sat, 02 Jan 2010 00:10:08 -0800 (PST) Received: by 83.161.120.155 with SMTP id d16mr13706239yba.47.1262419804476; Sat, 02 Jan 2010 00:10:04 -0800 (PST) Received: from ?83.161.120.155? (125-236-185-105.jetstream.xtra.co.nz [83.161.120.155]) by mx.google.com with ESMTPS id 23sm6397582yxe.54.283.161.120.155.09.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 Jan 2010 00:10:03 -0800 (PST) Message-ID: <davisadrian@example.net> Date: Sat, 02 Jan 2010 21:10:00 +1300 From: Jason Lea <davisadrian@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: davisadrian@example.net Subject: Re: DataTable's Handling of NULL Values References: <davisadrian@example.net> <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> Content-Type: multipart/alternative; boundary="------------070901090707050909060709" X-Virus-Checked: Checked by ClamAV on apache.org --------------070901090707050909060709 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit PropetyColumn implements IStyledColumn so you can override getCssClass() and return a class if it is null instead of adding the attributemodifier. And you could create your own model to return a default string when the underlying model is null... something like this... public class DefaultModel<T> extends AbstractWrapModel { private T default; private IModel<T> wrappedModel; public DefaultModel(IModel<T> wrappedModel, T default) { this.default = default; this.wrappedModel = wrappedModel; } T getObject() { T object = wrappedModel.getObject(); if (object == null) { object = default; } return object; } T getWrappedModel() { return wrappedModel; } } The above probably doesn't compile... but the idea is you can nest models to hide all the tricky logic away in one place. This is the first time I have seen AbstractWrapModel, so I hope the above is the correct usage. Ernesto Reinaldo Barreiro wrote: > Maybe something like this? > > PropertyColumn<Asset> propertyColumn = new PropertyColumn<Asset>( > new Model<String>("AuditTrain"), "audit_train") { > private static final long serialVersionUID = 1L; > > @Override > public void populateItem(Item<ICellPopulator<Asset>> item, > String componentId, IModel<Asset> rowModel) { > if(rowModel.getObject().getAudit_train() != null) > super.populateItem(item, componentId, rowModel); > else { > item.add(new Label(componentId, "No audit train")); > item.add(new AttributeModifier("class",true, new > Model<String>("noaudit"))); > } > } > }; > > Best, > > Ernesto > > On Sat, Jan 2, 2010 at 4:18 AM, Norman Elton <davisadrian@example.net> wrote: > > >> I've created a DataTable, which works great. I'd like to define the >> behavior if a property returns NULL. For instance, this column >> retrieves the AuditTrain object for a given Asset: >> >> columns.add(new PropertyColumn<Asset>(new Model<String>("Audit >> Train"), "audit_train"); >> >> If the AuditTrain is NULL, I get a null-pointer exception. Ideally, >> I'd like to return a column-specific string and css class. Seems that >> I need to define a new IColumn. >> >> Any pointers? Has this been done before? >> >> Thanks, >> >> Norman >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: davisadrian@example.net >> For additional commands, e-mail: davisadrian@example.net >> >> >> > > -- Jason Lea --------------070901090707050909060709-- From davisadrian@example.net Sat Jan 02 09:45:30 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 27607 invoked from network); 2 Jan 2010 09:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2010 09:45:30 -0000 Received: (qmail 91307 invoked by uid 500); 2 Jan 2010 09:45:29 -0000 Delivered-To: davisadrian@example.net Received: (qmail 91255 invoked by uid 500); 2 Jan 2010 09:45:29 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 91245 invoked by uid 99); 2 Jan 2010 09:45:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 09:45:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 09:45:20 +0000 Received: by fxm4 with SMTP id 4so45191983fxm.32 for <davisadrian@example.net>; Sat, 02 Jan 2010 01:45:00 -0800 (PST) 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=sfcBBgCMqrmirNnBIN60lLHLv2eCl4dR7XZex960V14=; b=hcnhLvpy3vS9PHmWKj24lllS4Sv0THrXPaCPOzwgQTHN/3gIxjHirkhaVbK8tnpKnH iTg+aDTlCet8fp3gVJnA6SwctwPg38CZip+pHonqIBepOn4CplkVeAONHHtmymWg8BkL W0CN1CQHYV6lGIWW2yo6liNp3+p7wZyBf9+IU= 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=IIKtKUIzTHjM6Fynw1YsOhBiUXHfS0SFFFQ6PV0s9kMIx6a+gdcSc1bHzJT/LSSL7q EAwTGv98l+2rybz7JObSY1srvRrAO5B8TtjmKpofRYA07I5srpyPbPgKD6p+qiWzYZqG 1uKIs7/mnQStBRpeLkR9xh6SpHQ38gjG/P7H4= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c19mr6687883muk.132.1262425499934; Sat, 02 Jan 2010 01:44:59 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> Date: Sat, 2 Jan 2010 10:44:59 +0100 Message-ID: <davisadrian@example.net> Subject: Re: DataTable's Handling of NULL Values From: Ernesto Reinaldo Barreiro <davisadrian@example.net> To: davisadrian@example.net Content-Type: multipart/alternative; boundary=0016e65bc37a7aa163047c2b5788 X-Virus-Checked: Checked by ClamAV on apache.org --0016e65bc37a7aa163047c2b5788 Content-Type: text/plain; charset=ISO-8859-1 I just hastily composed the code I posted and I missed the getCssClass() ... besides I do not normally use DataTable on my applications. The point was to make clear that you can override "methods"... Something that many users somehow miss when using wicket. I also use nested models when appropriate. As you wrote they are a good way abstract common logic that otherwise you will end up repeating over and over... Ernesto On Sat, Jan 2, 2010 at 9:10 AM, Jason Lea <davisadrian@example.net> wrote: > PropetyColumn implements IStyledColumn so you can override getCssClass() > and return a class if it is null instead of adding the attributemodifier. > > And you could create your own model to return a default string when the > underlying model is null... > > something like this... > > public class DefaultModel<T> extends AbstractWrapModel { > private T default; > private IModel<T> wrappedModel; > > public DefaultModel(IModel<T> wrappedModel, T default) { > this.default = default; > this.wrappedModel = wrappedModel; > } > > T getObject() { > T object = wrappedModel.getObject(); > if (object == null) { > object = default; > } > return object; > } > > T getWrappedModel() { > return wrappedModel; > } > } > > The above probably doesn't compile... but the idea is you can nest models > to hide all the tricky logic away in one place. > This is the first time I have seen AbstractWrapModel, so I hope the above > is the correct usage. > > > > > Ernesto Reinaldo Barreiro wrote: > >> Maybe something like this? >> >> PropertyColumn<Asset> propertyColumn = new PropertyColumn<Asset>( >> new Model<String>("AuditTrain"), "audit_train") { >> private static final long serialVersionUID = 1L; >> >> @Override >> public void populateItem(Item<ICellPopulator<Asset>> item, >> String componentId, IModel<Asset> rowModel) { >> if(rowModel.getObject().getAudit_train() != null) >> super.populateItem(item, componentId, rowModel); >> else { >> item.add(new Label(componentId, "No audit train")); >> item.add(new AttributeModifier("class",true, new >> Model<String>("noaudit"))); >> } >> } >> }; >> >> Best, >> >> Ernesto >> >> On Sat, Jan 2, 2010 at 4:18 AM, Norman Elton <davisadrian@example.net> wrote: >> >> >> >>> I've created a DataTable, which works great. I'd like to define the >>> behavior if a property returns NULL. For instance, this column >>> retrieves the AuditTrain object for a given Asset: >>> >>> columns.add(new PropertyColumn<Asset>(new Model<String>("Audit >>> Train"), "audit_train"); >>> >>> If the AuditTrain is NULL, I get a null-pointer exception. Ideally, >>> I'd like to return a column-specific string and css class. Seems that >>> I need to define a new IColumn. >>> >>> Any pointers? Has this been done before? >>> >>> Thanks, >>> >>> Norman >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: davisadrian@example.net >>> For additional commands, e-mail: davisadrian@example.net >>> >>> >>> >>> >> >> >> > > -- > Jason Lea > > > --0016e65bc37a7aa163047c2b5788-- From davisadrian@example.net Sat Jan 02 13:54:26 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 17443 invoked from network); 2 Jan 2010 13:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2010 13:54:26 -0000 Received: (qmail 77588 invoked by uid 500); 2 Jan 2010 13:54:24 -0000 Delivered-To: davisadrian@example.net Received: (qmail 77525 invoked by uid 500); 2 Jan 2010 13:54:24 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 77515 invoked by uid 99); 2 Jan 2010 13:54:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 13:54:23 +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 davisadrian@example.net 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; Sat, 02 Jan 2010 13:54:17 +0000 Received: by qyk34 with SMTP id 34so7078753qyk.14 for <davisadrian@example.net>; Sat, 02 Jan 2010 05:53:56 -0800 (PST) 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=/QU+V75OMR5QZ9xg03HVoP9zBVplZ69S3v/AiOiO2Zw=; b=a85Xzmc5niTQNpXa3WJ9yAPK2dCbG9lrXPzvkUQjH6QlLaMsJpuw9sw0AS8wPp8xfB fdUR79WDxFP0e7SNZuUnxQonlOFSA2PGz1IwdP8161Gzwj5Yy4TzfW7FjCKU5E1CJHc/ gh6rCILptUdkHPKuA0qUy12rYphs+3Su62h9o= 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=tWHyWRFqYBZbWma3/ccZ3/sDYiwYQ9S4iAk7kkiwxq6GcDM/co3PQRY/RfIB4pixfQ hG7vW/0/G9jIvvxjS2q13p9CAW8SwLgEXP1tpQ7ZvMULPNt0x++kJ3dZWQB35EgBdZk3 CjKzE2hFDcvyBUZl4FrsrqwP32GrVu2wenkJM= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id q19mr1283554qcb.37.1262440436171; Sat, 02 Jan 2010 05:53:56 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> Date: Sat, 2 Jan 2010 08:53:56 -0500 Message-ID: <davisadrian@example.net> Subject: Re: DataTable's Handling of NULL Values From: Norman Elton <davisadrian@example.net> To: davisadrian@example.net Content-Type: text/plain; charset=ISO-8859-1 Thanks for both responses. I'm going to try them both. Two clarification questions: - In Ernesto's idea (override populateItem()), would the model still be dynamic? That is, if the table is used in a form and the data updated, would the table reflect the new change? My terminology may be a little off here. - In Jason's idea (create a wrapped model), the notion of "default" is actually an audit train object, not just a string? This wouldn't be the end of the world, since AuditTrain is just an interface and I could provide an instance of an anonymous inner class. It would have to return "undefined" for it's name property, etc. Thanks again, I will tinker with them both today. Norman --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Sat Jan 02 21:35:53 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 57675 invoked from network); 2 Jan 2010 21:35:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2010 21:35:53 -0000 Received: (qmail 1917 invoked by uid 500); 2 Jan 2010 21:35:51 -0000 Delivered-To: davisadrian@example.net Received: (qmail 1842 invoked by uid 500); 2 Jan 2010 21:35:51 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 1832 invoked by uid 99); 2 Jan 2010 21:35:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 21:35:51 +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 mail-yw0-f187.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jan 2010 21:35:43 +0000 Received: by ywh17 with SMTP id 17so16129196ywh.2 for <davisadrian@example.net>; Sat, 02 Jan 2010 13:35:21 -0800 (PST) Received: by 83.161.120.155 with SMTP id 30mr14660534yby.83.1262468121103; Sat, 02 Jan 2010 13:35:21 -0800 (PST) Received: from ?83.161.120.155? (125-236-185-105.jetstream.xtra.co.nz [83.161.120.155]) by mx.google.com with ESMTPS id 23sm6582166yxe.54.283.161.120.155.35.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 Jan 2010 13:35:19 -0800 (PST) Message-ID: <davisadrian@example.net> Date: Sun, 03 Jan 2010 10:35:19 +1300 From: Jason Lea <davisadrian@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: davisadrian@example.net Subject: Re: DataTable's Handling of NULL Values References: <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> In-Reply-To: <davisadrian@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ah I see. In the end you are going to display a string n the cell, but if the string is null then it should display the default value. I guess the problem is because you are using the PropertyColumn which is a convienience implementation, and the property you are using doesn't display the right values. I think you need to change to the AbstractColumn and then you can use the DefaultModel when you override populateItem(). void populateItem(final Item cellItem, final String componentId, final IModel rowModel) { IModel<String> auditModel = new DefaultModel<String>(new PropertyModel<String>(rowModel, "audit_train"), "undefined"); cellItem.add(new Label(componentId, auditModel); } The PropertyModel does the same thing that the PropertyColumn did in getting the audit_train out of the rowModel, and if it is null the DefaultModel will display the word 'undefined'. I just noticed getCssClass() doesn't get a rowModel so it sets the css class for every cell in the column but has no way to know which row the css class is for. So you will need to use the AttributeModifier to add the css class as Ernesto suggested. Norman Elton wrote: > Thanks for both responses. I'm going to try them both. Two > clarification questions: > > - In Ernesto's idea (override populateItem()), would the model still > be dynamic? That is, if the table is used in a form and the data > updated, would the table reflect the new change? My terminology may be > a little off here. > > - In Jason's idea (create a wrapped model), the notion of "default" is > actually an audit train object, not just a string? This wouldn't be > the end of the world, since AuditTrain is just an interface and I > could provide an instance of an anonymous inner class. It would have > to return "undefined" for it's name property, etc. > > Thanks again, I will tinker with them both today. > > Norman > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > > -- Jason Lea --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Sun Jan 03 09:10:17 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 10164 invoked from network); 3 Jan 2010 09:10:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 09:10:17 -0000 Received: (qmail 32471 invoked by uid 500); 3 Jan 2010 09:10:16 -0000 Delivered-To: davisadrian@example.net Received: (qmail 32397 invoked by uid 500); 3 Jan 2010 09:10:15 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 32387 invoked by uid 99); 3 Jan 2010 09:10:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:10:14 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_MESSAGE,SPF_PASS,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:10:06 +0000 Received: by ewy4 with SMTP id 4so61514654ewy.32 for <davisadrian@example.net>; Sun, 03 Jan 2010 01:09:46 -0800 (PST) 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=+7Yw0Z5NMTp/vL1NnyBumB7eHNdSjJ4ms2CQLTqwotI=; b=bhf+IzAh6xGRzHwF5OI+wzQ18Z4K80y3Z9IUlvXKe7/lh1zq5FJJ9O16C+SH4GpmMC UJRp0jkoUD1tDQpdnXztBUvVJ0tMaVSZ4iA3G1B5O8cT+Fi+vYWuyyZ1M+8UZLIUOKct fAVMzxPsW5+VuiQpL1eD59forFv+Rfsefmkk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pmfC181xnhXQRSIlzvcNwUjOuR5iTNYrfAV6X8VZlZEnvu/fyjxIjJpTtzU5HEAUxV I8UwDxkJfX58rcCRJhnc50Algjl7CZB/aunVYtzihqBPDQrc93T1cttHFRzYQhShu46A RX7RvT3CMR8elTeKd1s8TJFCi00yNZW5S00ho= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id i22mr21535521ebp.58.1262509786412; Sun, 03 Jan 2010 01:09:46 -0800 (PST) Date: Sun, 3 Jan 2010 11:09:46 +0200 Message-ID: <davisadrian@example.net> Subject: filterform clear button not clearing everything? From: Sam Zilverberg <davisadrian@example.net> To: wicket <davisadrian@example.net> Content-Type: multipart/alternative; boundary=000e0cdf6b745835a6047c3ef7fe X-Virus-Checked: Checked by ClamAV on apache.org --000e0cdf6b745835a6047c3ef7fe Content-Type: text/plain; charset=UTF-8 I have a default data table/filterform/filter toolbar set up that displays info about some entity customer. the table has a couple of text filtered columns that display the entity's properties. for some reason the "clear" button clears some columns but not the others. it clears the column that reflects the property String referenceId but not the column that reflects the property String name. this is on wicket 1.4.3 I've been trying to find the cause to this problem without any success for some time now. any ideas what could be the problem? --000e0cdf6b745835a6047c3ef7fe-- From davisadrian@example.net Sun Jan 03 09:13:36 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 10433 invoked from network); 3 Jan 2010 09:13:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 09:13:35 -0000 Received: (qmail 34816 invoked by uid 500); 3 Jan 2010 09:13:34 -0000 Delivered-To: davisadrian@example.net Received: (qmail 34767 invoked by uid 500); 3 Jan 2010 09:13:34 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 34757 invoked by uid 99); 3 Jan 2010 09:13:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:13: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 davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:13:26 +0000 Received: by fg-out-1718.google.com with SMTP id e12so2075517fga.2 for <davisadrian@example.net>; Sun, 03 Jan 2010 01:13:06 -0800 (PST) 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=SmwHkq/yx2fBLVh/LGS09NDaB45pOuTgb1FYClbDm5o=; b=NeEq2xyRLDozskIwur4QwUaVpqXCnA8xYkertLhIdTiXw9SNhPLKonTIZC7CEBeQC1 qkaXXggbtyomXMUN3QSQ9Af6fDag0jsR0KEpwpw7ruwravpQNQFNUavXxp/g3LRPmQJt 9yj382hZgjYwlC9VP8lkxU9ayrhn5fPEN7Xq4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=j30DyJ2uKhoVGJLwEDcTWIN6TiHhDNxZvyb7duZ7SdrRlA640BETOybmJFrdS3w9wb VQHaDzJGDad1ohW2b/H6ZDvY9Pkr6E7CIFYihwT/a3Sh0/KHc9qgLhyyvGy+lsTMT3zM d2hymPqWVTrmOU7nBSOhqCNH8kMZzf232fNSE= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id b13mr48413hbh.158.1262509985807; Sun, 03 Jan 2010 01:13:05 -0800 (PST) Date: Sun, 3 Jan 2010 05:13:05 -0400 Message-ID: <davisadrian@example.net> Subject: Hello World Portlet From: Mansour Al Akeel <davisadrian@example.net> To: davisadrian@example.net Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I am trying to understand portlets using wicket. I read on multiple resources, that wicket supports JSR 286 in a transparent way. However, I can not see any reference to a simple portlet application to adopt as the basis for my project and build on top of it. I have checked out the examples from the svn "wicket-examples" and ran the application with the embeded jetty. But I was not able to find the portlet application runing. After all I find the WicketExamplesMenuPortlet is a bit unclear to me . What I find unclear, is the way it functions. It extends a wicker portlet, but the application is ran from WebApplication instance that mounts EditPage, HeaderPage, and doesn't seem to have any direct link to the WicketPortlet. Any hint ? --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Sun Jan 03 09:19:33 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 10870 invoked from network); 3 Jan 2010 09:19:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 09:19:33 -0000 Received: (qmail 37247 invoked by uid 500); 3 Jan 2010 09:19:32 -0000 Delivered-To: davisadrian@example.net Received: (qmail 37198 invoked by uid 500); 3 Jan 2010 09:19:32 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 37188 invoked by uid 99); 3 Jan 2010 09:19:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:19:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-px0-f192.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:19:25 +0000 Received: by pxi30 with SMTP id 30so2325pxi.14 for <davisadrian@example.net>; Sun, 03 Jan 2010 01:19:01 -0800 (PST) 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=GadDc+rkQaSqUuWcW5bL92xhB4+D+K6D+q/jYu6QhWo=; b=caixtOeTeeb1saUw/1ezPphNnMIktIsDyWM0cnBjx3wrJoEz0Pvk5OR1M1I+rkjI2e hPYtIuKRKyBOQosDZYNAHMkQP6uto6E2MtPU73hAgQbrginpwtGL8ZTyog/9xgI7f9Ia JywiDEb+wTSicJSBKsG/VfXoJ1FxNIzGYr35I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=S5R3T3TJ5fvjizmzzacvTdd7nv+/sBRMhAwoTceg4SuIhr5Ahvn9yOc/dO7J3OCR3N s2+XdpMFOlzCM74FrRCLSSWtnBJnU2vWLb5W7Ri15mL14iCJoKfcFSf0YG+U2+PuJUev caYtvuFInuPDXrI7FPCZpSS9UgxqrCEOwsiy4= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c4mr12172362wam.13.1262510341302; Sun, 03 Jan 2010 01:19:01 -0800 (PST) Date: Sun, 3 Jan 2010 01:19:01 -0800 Message-ID: <davisadrian@example.net> Subject: AjaxSubmitLink not calling the onsubmit event handler From: Anantha Kumaran <davisadrian@example.net> To: users <davisadrian@example.net> Content-Type: multipart/alternative; boundary=0016e64dde646b2a7e047c3f186d --0016e64dde646b2a7e047c3f186d Content-Type: text/plain; charset=ISO-8859-1 Is it possible to add a onsubmit event to a form that is submitted using AjaxSubmitLink? if not so is there any other way to handle validation stuffs.. --0016e64dde646b2a7e047c3f186d-- From davisadrian@example.net Sun Jan 03 09:27:19 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 12375 invoked from network); 3 Jan 2010 09:27:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 09:27:19 -0000 Received: (qmail 41250 invoked by uid 500); 3 Jan 2010 09:27:17 -0000 Delivered-To: davisadrian@example.net Received: (qmail 41193 invoked by uid 500); 3 Jan 2010 09:27:17 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 41183 invoked by uid 99); 3 Jan 2010 09:27:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:27:17 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_MESSAGE,SPF_PASS,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:27:09 +0000 Received: by ewy4 with SMTP id 4so61546417ewy.32 for <davisadrian@example.net>; Sun, 03 Jan 2010 01:26:48 -0800 (PST) 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=8wTl70afLChKhv1SJYN8GPSbTESPColDoilEF9do/xY=; b=BV2NtHyQqk8tYrYvAANczxOH8dzRvWKB9NxJP3JgwX2L4CmcASb/bOzFqu9wV7tXWs 7oDdzLFSiwnLcnbTRNibuEDKAdjpwkY/lLvvkla4Xx5Wam9tk89MosMU82bpDNgQnN7Z V61XJpya8a9mErVUVJag6zrzamOpQ/bv7IPxI= 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=lr/rU63pt4n3F1N8zxZJY456u5reRTIhorof9DFRSz88jDQsQ/Ml0JLLOZb0VnaZ76 EOml5PoO2uVXQayxjsut2OvMemE9MQWrKCAlr0OdKm1QUbUigki3SxdTLPFldpozEv9m YA47gwCDFRl+8RWWoqyJ/Fy0LLs4eE3QbXZjA= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id j5mr16317583ebp.21.1262510808191; Sun, 03 Jan 2010 01:26:48 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> Date: Sun, 3 Jan 2010 11:26:48 +0200 Message-ID: <davisadrian@example.net> Subject: Re: filterform clear button not clearing everything? From: Sam Zilverberg <davisadrian@example.net> To: wicket <davisadrian@example.net> Content-Type: multipart/alternative; boundary=000e0ce0b4a03f514a047c3f3493 --000e0ce0b4a03f514a047c3f3493 Content-Type: text/plain; charset=UTF-8 After some more "digging" in the archives i found a similar post: http://old.nabble.com/GoAndClearFiler-not-clearing-correctly-td22538944.html#a22727463 The problem has to do with how equals() is implemented for the entity. My implementation of equals only matches the referenceId property to check for equality. So when filtering only for the property "name", the former entity and the new one are considered equals because they both have a null referenceId. My solution is extending my entity to some filter-entity and overriding equals. Hope this helps anyone in the future On Sun, Jan 3, 2010 at 11:09 AM, Sam Zilverberg <davisadrian@example.net>wrote: > I have a default data table/filterform/filter toolbar set up that displays > info about some entity customer. > the table has a couple of text filtered columns that display the entity's > properties. > > for some reason the "clear" button clears some columns but not the others. > it clears the column that reflects the property String referenceId but not > the column that reflects the property String name. > > this is on wicket 1.4.3 > I've been trying to find the cause to this problem without any success for > some time now. > any ideas what could be the problem? > --000e0ce0b4a03f514a047c3f3493-- From davisadrian@example.net Sun Jan 03 09:43:55 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 19244 invoked from network); 3 Jan 2010 09:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 09:43:55 -0000 Received: (qmail 46312 invoked by uid 500); 3 Jan 2010 09:43:53 -0000 Delivered-To: davisadrian@example.net Received: (qmail 46252 invoked by uid 500); 3 Jan 2010 09:43:53 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 46242 invoked by uid 99); 3 Jan 2010 09:43:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:43:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 09:43:43 +0000 Received: by fg-out-1718.google.com with SMTP id e12so2078546fga.2 for <davisadrian@example.net>; Sun, 03 Jan 2010 01:43:22 -0800 (PST) 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=wmVsvIffx57R7jo0OlbrrkWTdHzAVFIv+yu3k9Nnaa4=; b=T5Ljjh86TuTVuDf54teE/vlm35xdi+AtLtEgq0ULB5BDSpK4dyi5zMr+RDNOSP7nO5 jsK4JCwB47UNckfLSmQ2Lf/PI+nxut6lWwr5yo7xcpkdxD0VmvYml40Jaye9MKTMFN3I Te6lEFIEgX+FIGeOxyciLivNpsfsU3j/dhNGk= 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=QbZoKrE36ovfGgAnFtxRRPM+8xPf2njE+aY3zZ9gxvxYb/UkaON2u4gqlsLwLNQxU8 QNVMV0Ofa/mcNX43j8DavnlQ/lfhKRhxwYhXXywHIwKjpGjZ/B14Xdz1jVy7p78hQdre l04EsFZY2ABMyZflQkKW1p56tog6k8PjdWvSc= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id r28mr5095849muk.59.1262511802064; Sun, 03 Jan 2010 01:43:22 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> Date: Sun, 3 Jan 2010 10:43:21 +0100 Message-ID: <davisadrian@example.net> Subject: Re: [announce] Wicket Stuff Core - JavaEE Inject From: Paul Szulc <davisadrian@example.net> To: davisadrian@example.net Content-Type: multipart/alternative; boundary=0016e65c8eec7c9e93047c3f6ffb --0016e65c8eec7c9e93047c3f6ffb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Will it work with JEE6? 2009/12/31 Major P=C3=A9ter <davisadrian@example.net> > Hi all, > > I am proud to announce the semi-new JavaEE Inject project in Wicket > Stuff Core, which was formerly known as wicket-contrib-javaee. > > The goal of the project: > Make the @EJB, @Resource and @PersistenceUnit annotations available for > Wicket users, to make the development more easier. This means, that when > your components are instantiating, the annotated fields will be injected > properly, so you can use them for whatever you want. > > The project itself didn't changed much, some javac warnings has been > solved, but it has now a newer Example application too, which will > demonstrate for you the usage of the annotation based injecting. The > example is based on maven, so this would be also a good example on how > to use enterprise applications with wicket and maven. > > So now, if you think, that this stuff is cool and want to use it, you > only have to do the followings: > - Add Wicket Stuff Repository to your maven repository list (if you've > not already done so): > <repository> > <id>wicket-stuff</id> > <layout>default</layout> > <url>http://wicketstuff.org/maven/repository</url> > </repository> > - Add the JavaEE Inject dependency to your web module: > <dependency> > <groupId>org.wicketstuff</groupId> > <artifactId>javaee-inject</artifactId> > <version>1.4-SNAPSHOT</version> > </dependency> > - Follow the Wiki instructions at > http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee= or > try out for yourself the example application. > - Profit > > Project Future: > In the future, I would like to create a more up-to-date documentation > for the project, better JavaDoc, and solve the JIRA issues too, and of > course follow the modifications of the Wicket framework, so the project > could work with the newest version always. > > Best Regards, > Peter Major > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > --=20 Best regards, Paul Szulc http://paulszulc.wordpress.com --0016e65c8eec7c9e93047c3f6ffb-- From davisadrian@example.net Sun Jan 03 10:57:41 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 42393 invoked from network); 3 Jan 2010 10:57:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 10:57:40 -0000 Received: (qmail 73969 invoked by uid 500); 3 Jan 2010 10:57:39 -0000 Delivered-To: davisadrian@example.net Received: (qmail 73897 invoked by uid 500); 3 Jan 2010 10:57:39 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 73887 invoked by uid 99); 3 Jan 2010 10:57:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 10:57:39 +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 davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO balu.sch.bme.hu) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 10:57:29 +0000 Received: from localhost.localdomain (aldaris.sch.bme.hu [83.161.120.155]) by balu.sch.bme.hu (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTPSA id <davisadrian@example.net> for davisadrian@example.net; Sun, 03 Jan 2010 11:57:09 +0100 (CET) Date: Sun, 03 Jan 2010 11:57:08 +0100 From: =?UTF-8?B?TWFqb3IgUMOpdGVy?= <davisadrian@example.net> Subject: Re: [announce] Wicket Stuff Core - JavaEE Inject In-reply-to: <davisadrian@example.net> To: davisadrian@example.net Message-id: <davisadrian@example.net> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT X-Enigmail-Version: 1.0 References: <davisadrian@example.net> <davisadrian@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:83.161.120.155) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 X-Virus-Checked: Checked by ClamAV on apache.org Yes, I've just checked with No-local-interface view, Singleton beans and web-layer EJB's and they all worked without any problem. Regards, Peter 2010-01-03 10:43 keltezéssel, Paul Szulc írta: > Will it work with JEE6? > > 2009/12/31 Major Péter <davisadrian@example.net> > >> Hi all, >> >> I am proud to announce the semi-new JavaEE Inject project in Wicket >> Stuff Core, which was formerly known as wicket-contrib-javaee. >> >> The goal of the project: >> Make the @EJB, @Resource and @PersistenceUnit annotations available for >> Wicket users, to make the development more easier. This means, that when >> your components are instantiating, the annotated fields will be injected >> properly, so you can use them for whatever you want. >> >> The project itself didn't changed much, some javac warnings has been >> solved, but it has now a newer Example application too, which will >> demonstrate for you the usage of the annotation based injecting. The >> example is based on maven, so this would be also a good example on how >> to use enterprise applications with wicket and maven. >> >> So now, if you think, that this stuff is cool and want to use it, you >> only have to do the followings: >> - Add Wicket Stuff Repository to your maven repository list (if you've >> not already done so): >> <repository> >> <id>wicket-stuff</id> >> <layout>default</layout> >> <url>http://wicketstuff.org/maven/repository</url> >> </repository> >> - Add the JavaEE Inject dependency to your web module: >> <dependency> >> <groupId>org.wicketstuff</groupId> >> <artifactId>javaee-inject</artifactId> >> <version>1.4-SNAPSHOT</version> >> </dependency> >> - Follow the Wiki instructions at >> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaeeor >> try out for yourself the example application. >> - Profit >> >> Project Future: >> In the future, I would like to create a more up-to-date documentation >> for the project, better JavaDoc, and solve the JIRA issues too, and of >> course follow the modifications of the Wicket framework, so the project >> could work with the newest version always. >> >> Best Regards, >> Peter Major --------------------------------------------------------------------- To unsubscribe, e-mail: davisadrian@example.net For additional commands, e-mail: davisadrian@example.net From davisadrian@example.net Sun Jan 03 11:43:53 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 49398 invoked from network); 3 Jan 2010 11:43:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 11:43:53 -0000 Received: (qmail 96033 invoked by uid 500); 3 Jan 2010 11:43:51 -0000 Delivered-To: davisadrian@example.net Received: (qmail 95990 invoked by uid 500); 3 Jan 2010 11:43:51 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 95980 invoked by uid 99); 3 Jan 2010 11:43:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 11:43:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 11:43:42 +0000 Received: by fxm4 with SMTP id 4so47437864fxm.32 for <davisadrian@example.net>; Sun, 03 Jan 2010 03:43:20 -0800 (PST) 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=8szy73Ys/9sDLR0sG0Gr8vD/Ezog2aIJStEu9gEgr9o=; b=d2wlbaLyVbrPDWhy128aHepIT9Y8lZjcvX2VsiwWY1Rt11d7bk1fYS2zVZ96dhHVq0 HnwW3P84wBxAtO/WX7Rh1qFmAy79rUoRwkHyKiM8JiLfWYt4zRU/WkLEQEM64yns4jPn KcKSlj7BT3R1NKHJ9US0xN+Il/UAT6xLzEjUo= 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=jabkgI9zktW5i/jftVJKw4w1wVlcXUYdrRFltbDHyBB9RtBi53lhqdkN3IUURZAFUL p/VuhEtokO7iElkcnrKqryYPTBrvz9UIObW+Blj5w/zC5TxnIZsxzTDdnt8UUp9GAarM yJWXd/kzpqjsFAJE/Cq3Qfe53v1J9THIPaGfk= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e6mr2638160mun.90.1262519000706; Sun, 03 Jan 2010 03:43:20 -0800 (PST) In-Reply-To: <davisadrian@example.net> References: <davisadrian@example.net> <davisadrian@example.net> <davisadrian@example.net> Date: Sun, 3 Jan 2010 12:43:20 +0100 Message-ID: <davisadrian@example.net> Subject: Re: [announce] Wicket Stuff Core - JavaEE Inject From: Paul Szulc <davisadrian@example.net> To: davisadrian@example.net Content-Type: multipart/alternative; boundary=0016e65b5db48f3014047c411cf6 --0016e65b5db48f3014047c411cf6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cool, I will definitely check it out. 2010/1/3 Major P=C3=A9ter <davisadrian@example.net> > Yes, I've just checked with No-local-interface view, Singleton beans and > web-layer EJB's and they all worked without any problem. > > Regards, > Peter > > 2010-01-03 10:43 keltez=C3=A9ssel, Paul Szulc =C3=ADrta: > > Will it work with JEE6? > > > > 2009/12/31 Major P=C3=A9ter <davisadrian@example.net> > > > >> Hi all, > >> > >> I am proud to announce the semi-new JavaEE Inject project in Wicket > >> Stuff Core, which was formerly known as wicket-contrib-javaee. > >> > >> The goal of the project: > >> Make the @EJB, @Resource and @PersistenceUnit annotations available fo= r > >> Wicket users, to make the development more easier. This means, that wh= en > >> your components are instantiating, the annotated fields will be inject= ed > >> properly, so you can use them for whatever you want. > >> > >> The project itself didn't changed much, some javac warnings has been > >> solved, but it has now a newer Example application too, which will > >> demonstrate for you the usage of the annotation based injecting. The > >> example is based on maven, so this would be also a good example on how > >> to use enterprise applications with wicket and maven. > >> > >> So now, if you think, that this stuff is cool and want to use it, you > >> only have to do the followings: > >> - Add Wicket Stuff Repository to your maven repository list (if you've > >> not already done so): > >> <repository> > >> <id>wicket-stuff</id> > >> <layout>default</layout> > >> <url>http://wicketstuff.org/maven/repository</url> > >> </repository> > >> - Add the JavaEE Inject dependency to your web module: > >> <dependency> > >> <groupId>org.wicketstuff</groupId> > >> <artifactId>javaee-inject</artifactId> > >> <version>1.4-SNAPSHOT</version> > >> </dependency> > >> - Follow the Wiki instructions at > >> > http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee= or > >> try out for yourself the example application. > >> - Profit > >> > >> Project Future: > >> In the future, I would like to create a more up-to-date documentation > >> for the project, better JavaDoc, and solve the JIRA issues too, and of > >> course follow the modifications of the Wicket framework, so the projec= t > >> could work with the newest version always. > >> > >> Best Regards, > >> Peter Major > > --------------------------------------------------------------------- > To unsubscribe, e-mail: davisadrian@example.net > For additional commands, e-mail: davisadrian@example.net > > --=20 Best regards, Paul Szulc http://paulszulc.wordpress.com --0016e65b5db48f3014047c411cf6-- From davisadrian@example.net Sun Jan 03 13:37:14 2010 Return-Path: <davisadrian@example.net> Delivered-To: davisadrian@example.net Received: (qmail 78488 invoked from network); 3 Jan 2010 13:37:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2010 13:37:14 -0000 Received: (qmail 40632 invoked by uid 500); 3 Jan 2010 13:37:13 -0000 Delivered-To: davisadrian@example.net Received: (qmail 40562 invoked by uid 500); 3 Jan 2010 13:37:13 -0000 Mailing-List: contact davisadrian@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:davisadrian@example.net> List-Unsubscribe: <mailto:davisadrian@example.net> List-Post: <mailto:davisadrian@example.net> List-Id: <users.wicket.apache.org> Reply-To: davisadrian@example.net Delivered-To: mailing list davisadrian@example.net Received: (qmail 40551 invoked by uid 99); 3 Jan 2010 13:37:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 13:37:12 +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 davisadrian@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f217.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 13:37:06 +0000 Received: by bwz9 with SMTP id 9so22905995bwz.32 for <davisadrian@example.net>; Sun, 03 Jan 2010 05:36:44 -0800 (PST) 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=wtgBdtO8Df8GUfNvA93KCF+K5lxuVNb+R04OFZLrsD0=; b=EuuRiGIK8vddHjcasjKrpLutWZLdrivp1dEMP8+B+JkeCzO4rtonb8UKR7k1pzcRdC lAJgkiOoy7jh8QVTu1G1NohHonEFQWnLy054RLIEZofYihZG6Yp+yEjl3EExJq0P31qw iKI+yDVphehhSg+kcyKdlyH6HTZwA2B369Guc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WX7q5CAeoyCeBKVXlwF/8oAgm4FKNnwzK14SKLBiXqPEmbQ/IOC2GhIMErinMI0Lb7 n1aNVOp2vIg9y5JvKYTO1DWnhtPhshqkxaMm7EbISmtP77u8ce/EXpnJHIIO8tPVPKGY MWIw/WCXp0Emq+eUbU79m1OKp/fCjcHf0eXPs= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id r17mr7557544bkw.98.1262525804469; Sun, 03 Jan 2010 05:36:44 -0800 (PST) Date: Sun, 3 Jan 2010 14:36:44 +0100 Message-ID: <davisadrian@example.net> Subject: InvalidUrlException thrown while clicking row in a InMethod DataGrid From: Marcin Palka <davisadrian@example.net> To: davisadrian@example.net Content-Type: multipart/mixed; boundary=0015175ce1e0185db9047c42b235 --0015175ce1e0185db9047c42b235 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am experiencing an issue with a DataGrid. My application opens a modal window with a IFRAME (to make upload possible from a modal window). The modal is opened from a page with a InMethod DataGrid instance. Problem appears while the modal window with the IFRAME is closed and a user tries to click another row in the grid. Then it throws and exception as the one below. Nothing like that happens if there's no IFRAME on the modal window
{'source': 'Apache Software Foundation Public Mail Archives'}