From tapestry-user-returnkthomas@example.org Wed Oct 01 07:59:51 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 33407 invoked from network); 1 Oct 2003 07:59:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 07:59:51 -0000 Received: (qmail 62015 invoked by uid 500); 1 Oct 2003 07:59:25 -0000 Delivered-To: kthomas@example.org Received: (qmail 61994 invoked by uid 500); 1 Oct 2003 07:59:25 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 61980 invoked from network); 1 Oct 2003 07:59:24 -0000 Received: from unknown (HELO slchille01.slc.co.uk) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 07:59:24 -0000 Received: from emerald.slc.co.uk (unverified) by slchille01.slc.co.uk (Content Technologies SMTPRS 4.2.5) with ESMTP id <kthomas@example.org> for <kthomas@example.org>; Wed, 1 Oct 2003 08:58:23 +0100 Subject: RE: jwcid naming To: "Tapestry users" <kthomas@example.org> X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: <kthomas@example.org> From: Danny Angus <kthomas@example.org> Date: Wed, 1 Oct 2003 08:59:36 +0100 X-MIMETrack: Serialize by Router on Emerald/SLC(601CF1HF69 | May 28, 2003) at 01/10/2003 08:59:36 MIME-Version: 1.0 Content-type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Howard, > The Oracle XML parser must not be clearing out its map of IDs from > one document parse to the next. I'm pretty sure I'm in the right and Oracle is wrong ... I'd be prepared to bet on it :-) In this case would it be possible for us to force tapestry to use another xml parser? Or alternatively would it be possible for you guys to consider this for the future. d. *************************************************************************** The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient (or responsible for delivery of the message to the intended recipient) please notify us immediately on 0141 306 2050 and delete the message from your computer. You may not copy or forward it or use or disclose its contents to any other person. As Internet communications are capable of data corruption Student Loans Company Limited does not accept any responsibility for changes made to this message after it was sent. For this reason it may be inappropriate to rely on advice or opinions contained in an e-mail without obtaining written confirmation of it. Neither Student Loans Company Limited or the sender accepts any liability or responsibility for viruses as it is your responsibility to scan attachments (if any). Opinions and views expressed in this e-mail are those of the sender and may not reflect the opinions and views of The Student Loans Company Limited. This footnote also confirms that this email message has been swept for the presence of computer viruses. ************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 08:08:26 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 37559 invoked from network); 1 Oct 2003 08:08:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 08:08:26 -0000 Received: (qmail 79235 invoked by uid 500); 1 Oct 2003 08:07:59 -0000 Delivered-To: kthomas@example.org Received: (qmail 79219 invoked by uid 500); 1 Oct 2003 08:07:59 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 79204 invoked from network); 1 Oct 2003 08:07:59 -0000 Received: from unknown (HELO mx10.mail.ru) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 08:07:59 -0000 Received: from [83.161.120.155] (port=4714 helo=magr.msk.bonasource.ru) by mx10.mail.ru with esmtp id 1A4bym-000Dcu-00 for kthomas@example.org; Wed, 01 Oct 2003 12:05:00 +0400 Date: Wed, 1 Oct 2003 12:08:11 +0400 From: Max Grigoriev <kthomas@example.org> X-Mailer: The Bat! (v2.00) CD5BF9353B3B7091 Reply-To: "DarkIT Mail.RU" <kthomas@example.org> Organization: OWN X-Priority: 3 (Normal) Message-ID: <kthomas@example.org> To: "Tapestry users" <kthomas@example.org> Subject: Re[2]: Checkbox question In-Reply-To: <kthomas@example.org> References: <kthomas@example.org> <kthomas@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello Paul, Thank's Tuesday, September 30, 2003, 10:24:35 PM, you wrote: PF> You cannot use contains(...) for the selected attribute since PF> it requires a valid JavaBean mutator. PF> Try this: PF> Page template: PF> <tr jwcid="@Foreach" source="ognl:bean.categoryTypes" PF> value="ognl:bean.currentType" element="tr"> PF> <td width="100%"><input type="checkbox" jwcid="@Checkbox" PF> selected="ognl:selectedCategoryType"/>&nbsp;<span jwcid="@Insert" PF> value="ognl:bean.currentType.name"/></td> PF> </tr> PF> in Page class: PF> public boolean getSelectedCategoryType() { PF> return PF> getBean().getOrganization().getCategoryTypes().contains(getBean().getCurrentType()); PF> } PF> public void setSelectedCategoryType(boolean selected) { PF> if (selected) { PF> getBean().getOrganization().getCategoryTypes().add(getBean().getCurrentType()); PF> } else { PF> getBean().getOrganization().getCategoryTypes().remove(getBean().getCurrentType()); PF> } PF> } PF> For better performance, you should consider using a set PF> rather than a list to avoid the O(N) cost of contains(Object) and PF> remove(Object) on a list. PF> - or, alternatively, investigate using ArrayList.get(int) and PF> ArrayList.remove(int) and add an index attribute to your Foreach. PF> Hope this helps, -- Best regards, Max mailto:kthomas@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 08:13:36 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 39645 invoked from network); 1 Oct 2003 08:13:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 08:13:36 -0000 Received: (qmail 89198 invoked by uid 500); 1 Oct 2003 08:13:11 -0000 Delivered-To: kthomas@example.org Received: (qmail 88970 invoked by uid 500); 1 Oct 2003 08:13:09 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 88955 invoked from network); 1 Oct 2003 08:13:09 -0000 Received: from unknown (HELO mx8.mail.ru) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 08:13:09 -0000 Received: from [83.161.120.155] (port=4718 helo=magr.msk.bonasource.ru) by mx8.mail.ru with esmtp id 1A4c6r-000C8H-00 for kthomas@example.org; Wed, 01 Oct 2003 12:13:21 +0400 Date: Wed, 1 Oct 2003 12:13:12 +0400 From: Max Grigoriev <kthomas@example.org> X-Mailer: The Bat! (v2.00) CD5BF9353B3B7091 Reply-To: "DarkIT Mail.RU" <kthomas@example.org> Organization: OWN X-Priority: 3 (Normal) Message-ID: <kthomas@example.org> To: kthomas@example.org Subject: JavaBean binding question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello tapestry-user, I've got such property: public void setName(Language lang, String name) { ... } public String getName(Language lang) { ... } Is it possible to bind such property to TextField <input jwcid="@TextField" value="ognl:bean.organization.name(bean.currLanguage)"/> or have i write wrappers ? public void setName(String name) { setName(getCurrLanguage, name) } Thank's -- Best regards, Max mailto:kthomas@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 09:58:59 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 84775 invoked from network); 1 Oct 2003 09:58:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 09:58:59 -0000 Received: (qmail 68415 invoked by uid 500); 1 Oct 2003 09:58:31 -0000 Delivered-To: kthomas@example.org Received: (qmail 68272 invoked by uid 500); 1 Oct 2003 09:58:30 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 68259 invoked from network); 1 Oct 2003 09:58:30 -0000 Received: from unknown (HELO slchille01.slc.co.uk) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 09:58:30 -0000 Received: from emerald.slc.co.uk (unverified) by slchille01.slc.co.uk (Content Technologies SMTPRS 4.2.5) with ESMTP id <kthomas@example.org> for <kthomas@example.org>; Wed, 1 Oct 2003 10:57:30 +0100 Subject: Tapestry performance To: kthomas@example.org X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: <kthomas@example.org> From: Danny Angus <kthomas@example.org> Date: Wed, 1 Oct 2003 10:58:42 +0100 X-MIMETrack: Serialize by Router on Emerald/SLC(601CF1HF69 | May 28, 2003) at 01/10/2003 10:58:43 MIME-Version: 1.0 Content-type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm evaluating tapestry as an alternative to Struts, I wondered if anyone has, or knows of, any performance comparison data of any kind to support Tapestry's case. I'd like to be able to present some evidence that Tapestry is as at least equal in terms of speed and memory use, and as fully scaleable and supportive of load balancing. TIA. d. *************************************************************************** The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient (or responsible for delivery of the message to the intended recipient) please notify us immediately on 0141 306 2050 and delete the message from your computer. You may not copy or forward it or use or disclose its contents to any other person. As Internet communications are capable of data corruption Student Loans Company Limited does not accept any responsibility for changes made to this message after it was sent. For this reason it may be inappropriate to rely on advice or opinions contained in an e-mail without obtaining written confirmation of it. Neither Student Loans Company Limited or the sender accepts any liability or responsibility for viruses as it is your responsibility to scan attachments (if any). Opinions and views expressed in this e-mail are those of the sender and may not reflect the opinions and views of The Student Loans Company Limited. This footnote also confirms that this email message has been swept for the presence of computer viruses. ************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 12:19:55 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 55719 invoked from network); 1 Oct 2003 12:19:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 12:19:55 -0000 Received: (qmail 16289 invoked by uid 500); 1 Oct 2003 12:19:50 -0000 Delivered-To: kthomas@example.org Received: (qmail 16274 invoked by uid 500); 1 Oct 2003 12:19:50 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 16245 invoked from network); 1 Oct 2003 12:19:48 -0000 Received: from unknown (HELO rwcrmhc12.comcast.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 12:19:48 -0000 Received: from almightybeast (h0010b50ed00a.ne.client2.attbi.com[83.161.120.155]) by comcast.net (rwcrmhc12) with SMTP id <20031001121948014000aq3ie> (Authid: hlship); Wed, 1 Oct 2003 12:19:48 +0000 From: "Howard M. Lewis Ship" <kthomas@example.org> To: "'Tapestry users'" <kthomas@example.org> Subject: RE: jwcid naming Date: Wed, 1 Oct 2003 08:19:36 -0400 Message-ID: <015e01c38816$47e8e810$6501a8c0@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <kthomas@example.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Please add a suggestion to the bug list; it shouldn't be too hard to add a JVM system property to control this (if true, discard XML parser after each use). And update the FAQ. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com > -----Original Message----- > From: Danny Angus [mailto:kthomas@example.org] > Sent: Wednesday, October 01, 2003 4:00 AM > To: Tapestry users > Subject: RE: jwcid naming > > > > > > > > > > > Howard, > > > The Oracle XML parser must not be clearing out its map of > IDs from one > > document parse to the next. I'm pretty sure I'm in the right and > Oracle is wrong ... > > I'd be prepared to bet on it :-) > > In this case would it be possible for us to force tapestry to > use another xml parser? Or alternatively would it be possible > for you guys to consider this for the future. > > d. > > > > > > ************************************************************** > ************* > The information in this e-mail is confidential and for use by > the addressee(s) only. If you are not the intended recipient > (or responsible for delivery of the message to the intended > recipient) please notify us immediately on 0141 306 2050 and > delete the message from your computer. You may not copy or > forward it or use or disclose its contents to any other > person. As Internet communications are capable of data > corruption Student Loans Company Limited does not accept any > responsibility for changes made to this message after it was > sent. For this reason it may be inappropriate to rely on > advice or opinions contained in an e-mail without obtaining > written confirmation of it. Neither Student Loans Company > Limited or the sender accepts any liability or responsibility > for viruses as it is your responsibility to scan attachments > (if any). Opinions and views expressed in this e-mail are > those of the sender and may not reflect the opinions and > views of The Student Loans Company Limited. > > This footnote also confirms that this email message has been > swept for the presence of computer viruses. > > ************************************************************** > ************ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kthomas@example.org > For additional commands, e-mail: kthomas@example.org > --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 12:21:06 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 56566 invoked from network); 1 Oct 2003 12:21:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 12:21:06 -0000 Received: (qmail 18770 invoked by uid 500); 1 Oct 2003 12:21:02 -0000 Delivered-To: kthomas@example.org Received: (qmail 18754 invoked by uid 500); 1 Oct 2003 12:21:02 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 18741 invoked from network); 1 Oct 2003 12:21:02 -0000 Received: from unknown (HELO rwcrmhc13.comcast.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 12:21:02 -0000 Received: from almightybeast (h0010b50ed00a.ne.client2.attbi.com[83.161.120.155]) by comcast.net (rwcrmhc13) with SMTP id <2003100112210201500d4nvre> (Authid: hlship); Wed, 1 Oct 2003 12:21:02 +0000 From: "Howard M. Lewis Ship" <kthomas@example.org> To: "'Tapestry users'" <kthomas@example.org>, "'DarkIT Mail.RU'" <kthomas@example.org> Subject: RE: JavaBean binding question Date: Wed, 1 Oct 2003 08:20:50 -0400 Message-ID: <015f01c38816$73eb62d0$6501a8c0@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <kthomas@example.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I think you need to write wrappers; there may be a way to handle this in the bowels of OGNL but its less effort to create the wrapper property in your page code. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com > -----Original Message----- > From: Max Grigoriev [mailto:kthomas@example.org] > Sent: Wednesday, October 01, 2003 4:13 AM > To: kthomas@example.org > Subject: JavaBean binding question > > > Hello tapestry-user, > > I've got such property: > > public void setName(Language lang, String name) { > ... > } > > public String getName(Language lang) { > ... > } > > Is it possible to bind such property to TextField > > <input jwcid="@TextField" > value="ognl:bean.organization.name(bean.currLanguage)"/> > > > or have i write wrappers ? > > public void setName(String name) { > setName(getCurrLanguage, name) > } > > Thank's > > -- > Best regards, > Max mailto:kthomas@example.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kthomas@example.org > For additional commands, e-mail: kthomas@example.org > --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 12:30:14 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 61048 invoked from network); 1 Oct 2003 12:30:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 12:30:14 -0000 Received: (qmail 27786 invoked by uid 500); 1 Oct 2003 12:30:09 -0000 Delivered-To: kthomas@example.org Received: (qmail 27766 invoked by uid 500); 1 Oct 2003 12:30:09 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 27741 invoked from network); 1 Oct 2003 12:30:09 -0000 Received: from unknown (HELO mx3.mail.ru) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 12:30:09 -0000 Received: from [83.161.120.155] (port=1465 helo=magr.msk.bonasource.ru) by mx3.mail.ru with esmtp id 1A4g7R-0003d9-00 for kthomas@example.org; Wed, 01 Oct 2003 16:30:13 +0400 Date: Wed, 1 Oct 2003 16:30:01 +0400 From: Max Grigoriev <kthomas@example.org> X-Mailer: The Bat! (v2.00) CD5BF9353B3B7091 Reply-To: "DarkIT Mail.RU" <kthomas@example.org> Organization: OWN X-Priority: 3 (Normal) Message-ID: <kthomas@example.org> To: "Tapestry users" <kthomas@example.org> Subject: Re[2]: JavaBean binding question In-Reply-To: <015f01c38816$73eb62d0$6501a8c0@ALMIGHTYBEAST> References: <kthomas@example.org> <015f01c38816$73eb62d0$6501a8c0@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N But i've got very much such properties :( I found that i can use such methods for my property in ognl String getPropertyName(in index) void setProperyName(int index, String value) Maybe if i tried to hack ognl :) i can use different methods what i need. Wednesday, October 1, 2003, 4:20:50 PM, you wrote: HMLS> I think you need to write wrappers; there may be a way to HMLS> handle this in the bowels of OGNL but its HMLS> less effort to create the wrapper property in your page code. HMLS> -- HMLS> Howard M. Lewis Ship HMLS> Creator, Tapestry: Java Web Components HMLS> http://jakarta.apache.org/tapestry HMLS> http://jakarta.apache.org/commons/sandbox/hivemind/ HMLS> http://javatapestry.blogspot.com >> -----Original Message----- >> From: Max Grigoriev [mailto:kthomas@example.org] >> Sent: Wednesday, October 01, 2003 4:13 AM >> To: kthomas@example.org >> Subject: JavaBean binding question >> >> >> Hello tapestry-user, >> >> I've got such property: >> >> public void setName(Language lang, String name) { >> ... >> } >> >> public String getName(Language lang) { >> ... >> } >> >> Is it possible to bind such property to TextField >> >> <input jwcid="@TextField" >> value="ognl:bean.organization.name(bean.currLanguage)"/> >> >> >> or have i write wrappers ? >> >> public void setName(String name) { >> setName(getCurrLanguage, name) >> } >> >> Thank's >> >> -- >> Best regards, >> Max mailto:kthomas@example.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> kthomas@example.org >> For additional commands, e-mail: >> kthomas@example.org >> HMLS> --------------------------------------------------------------------- HMLS> To unsubscribe, e-mail: HMLS> kthomas@example.org HMLS> For additional commands, e-mail: HMLS> kthomas@example.org -- Best regards, Max mailto:kthomas@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 16:19:32 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 13422 invoked from network); 1 Oct 2003 16:19:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 16:19:32 -0000 Received: (qmail 3037 invoked by uid 500); 1 Oct 2003 16:19:23 -0000 Delivered-To: kthomas@example.org Received: (qmail 3024 invoked by uid 500); 1 Oct 2003 16:19:23 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 3010 invoked from network); 1 Oct 2003 16:19:23 -0000 Received: from unknown (HELO brainstem.microbrightfield.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 16:19:23 -0000 Received: from eserver.microbrightfield.com (eserver [83.161.120.155]) by brainstem.microbrightfield.com (8.11.6/8.11.6) with ESMTP id h91Fwsq09892 for <kthomas@example.org>; Wed, 1 Oct 2003 11:58:54 -0400 Subject: Dynamic style for rows in a table? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 1 Oct 2003 12:23:01 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message Message-ID: <kthomas@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Dynamic style for rows in a table? Thread-Index: AcOIOEjU4PvNkPLjQ/Oty5YQa8ksEA== From: "James Carroll" <kthomas@example.org> To: "Tapestry users" <kthomas@example.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I've gotten pretty far with Tapestry & Hibernate in the last week, and I like it. I'm trying to colorize rows of a table based on the status of a particular item in the list. If I could have ognl in any old tag, the following would work: template: <span jwcid=3D"@Foreach" source=3D"ognl:viewRMAs" value=3D"ognl:RMA"> <tr class=3D"ognl:RMAStyle"> </tr> <tr class=3D"row3" </tr> </span> code: public String getRMAStlye() { if (getRMA().isActive()) { return "row2active"; } return "row2closed"; } Notite I have two rows per ForEach, so I can't use the @ForEach's style property (I don't think ? ) What's the best way to colorize my tables based on status? Thanks! -Jim --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 16:41:55 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 27800 invoked from network); 1 Oct 2003 16:41:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 16:41:55 -0000 Received: (qmail 42729 invoked by uid 500); 1 Oct 2003 16:41:45 -0000 Delivered-To: kthomas@example.org Received: (qmail 42713 invoked by uid 500); 1 Oct 2003 16:41:45 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 42693 invoked from network); 1 Oct 2003 16:41:45 -0000 Received: from unknown (HELO smtp001.mail.ukl.yahoo.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 16:41:45 -0000 Received: from w035.z066088017.sjc-ca.dsl.cnc.net (HELO 83.161.120.155) (kthomas@example.org@83.161.120.155 with login) by smtp1.mail.vip.ukl.yahoo.com with SMTP; 1 Oct 2003 16:31:13 -0000 From: Paul Ferraro <kthomas@example.org> To: "Tapestry users" <kthomas@example.org> Subject: Re: Dynamic style for rows in a table? Date: Wed, 1 Oct 2003 09:31:57 -0700 User-Agent: KMail/1.5 References: <kthomas@example.org> In-Reply-To: <kthomas@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <kthomas@example.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The "Any" component was designed for this purpose: <span jwcid="@Foreach" source="ognl:viewRMAs" value="ognl:RMA"> <tr jwcid="@Any" class="ognl:RMAStyle"> ... </tr> <tr class="row3" ... </tr> </span> See the component reference for details: http://jakarta.apache.org/tapestry/doc/ComponentReference/Any.html Hope this helps, Paul Ferraro On Wednesday 01 October 2003 09:23, James Carroll wrote: > Hi, I've gotten pretty far with Tapestry & Hibernate in the last week, > and > I like it. > > I'm trying to colorize rows of a table based on the status of a > particular > item in the list. If I could have ognl in any old tag, the following > would > work: > > template: > > <span jwcid="@Foreach" source="ognl:viewRMAs" value="ognl:RMA"> > <tr class="ognl:RMAStyle"> > </tr> > <tr class="row3" > </tr> > </span> > > code: > > public String getRMAStlye() > { > if (getRMA().isActive()) > { > return "row2active"; > } > return "row2closed"; > } > > Notite I have two rows per ForEach, so I can't use the @ForEach's style > property (I don't think ? ) > > What's the best way to colorize my tables based on status? > > Thanks! > -Jim > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kthomas@example.org > For additional commands, e-mail: kthomas@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 18:58:55 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 33047 invoked from network); 1 Oct 2003 18:58:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 18:58:55 -0000 Received: (qmail 54258 invoked by uid 500); 1 Oct 2003 18:58:43 -0000 Delivered-To: kthomas@example.org Received: (qmail 54243 invoked by uid 500); 1 Oct 2003 18:58:43 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 54226 invoked from network); 1 Oct 2003 18:58:42 -0000 Received: from unknown (HELO c000.snv.cp.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 18:58:42 -0000 Received: (cpmta 6982 invoked from network); 1 Oct 2003 11:58:47 -0700 Received: from 83.161.120.155 (HELO ehatchersolutions.com) by smtp.hatcher.net (83.161.120.155) with SMTP; 1 Oct 2003 11:58:47 -0700 X-Sent: 1 Oct 2003 18:58:47 GMT Date: Wed, 1 Oct 2003 14:58:54 -0400 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Contrib:Table - sorting with a null value? From: Erik Hatcher <kthomas@example.org> To: Tapestry users <kthomas@example.org> Content-Transfer-Encoding: 7bit Message-Id: <kthomas@example.org> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Rather than bang my head on this any more I'm throwing in the towel somewhat.... I'm using the wonderful Table component (thank you mindbridge!) using the ExpressionTableColumnModel on an array of value objects. Every column is set to be sortable. In the particular data that is being returned, one cell has a null value in it. When sorting on this column nothing happens, strangely. I would have suspected that it would sort either at the top or bottom of the list, but it literally leaves things as-is yet toggles the sort state as if it sorted. I've dug as far as finding the SimpleTableModel.sortRows and that the SimpleTableColumn$DefaultTableComparator. Ok, so I'm guessing DefaultTableComparator isn't good enough for my data since it considers non-Comparable's as equal. null ain't a Comparable. How do I go about injecting my own Comparator (which would be BeanUtils BeanComparator probably)? Thanks, Erik --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 19:38:49 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 58687 invoked from network); 1 Oct 2003 19:38:49 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 19:38:49 -0000 Received: (qmail 16088 invoked by uid 500); 1 Oct 2003 19:38:37 -0000 Delivered-To: kthomas@example.org Received: (qmail 16062 invoked by uid 500); 1 Oct 2003 19:38:37 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 16049 invoked from network); 1 Oct 2003 19:38:36 -0000 Received: from unknown (HELO mailhost1.os.kcp.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 19:38:36 -0000 Message-ID: <kthomas@example.org> Date: Wed, 01 Oct 2003 13:37:53 -0600 From: "Kevin C. Dorff" <kthomas@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kthomas@example.org Subject: Trying to do a SIMPLE RenderBody X-MIMETrack: Itemize by SMTP Server on nmmail1/KCP(Release 6.0.2CF1|June 9, 2003) at 10/01/2003 01:37:54 PM, Serialize by Router on nmmail1/KCP(Release 6.0.2CF1|June 9, 2003) at 10/01/2003 01:37:55 PM Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am just learning Tapestry and having trouble because the documentation=20 is out of date, trying to read between the lines, etc. Waiting for the=20 MEAP on the book. BUT I decided to dive in today. Ran through Harish K.=20 's Illustrating Tapestry, no problems. I am running Tomcat 4.1.27. I am using Tapestry 3.0 Beta 3. I have=20 Tapestry jar files installed to <tomcat>/shared/lib. I can run the Illustrating Tapestry samples (typed in) with no problems=20 whatsoever. Now I am trying to make a "common layout" for my pages ... common menu's=20 and such. It appears from the existing documentation that RenderBody is=20 the way to do this. I visited the Tapestry Component Reference for=20 Render Body http://jakarta.apache.org/tapestry/doc/ComponentReference/RenderBody.html and type in the code as instructed. What I have is... ----------------------------------- WEB-INF/web.xml ----------------------------------- <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app=5F2=5F2.dtd"> <web-app> <display-name>NewAces</display-name> <servlet> <servlet-name>NewAces</servlet-name> =20 <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>NewAces</servlet-name> <url-pattern>/app</url-pattern> </servlet-mapping> =20 <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> =20 </web-app> ----------------------------------- WEB-INF/NewAces.application ----------------------------------- <?xml version=3D"1.0" encoding=3D"UTF-8"?> <!DOCTYPE application PUBLIC "-//Apache Software Foundation//Tapestry Specification 3.0//EN" "http://jakarta.apache.org/tapestry/dtd/Tapestry=5F3=5F0.dtd"> <application name=3D"NewAces"> <page name=3D"Home" specification-path=3D"Startup.page"/> </application> ----------------------------------- WEB-INF/Startup.page ----------------------------------- <?xml version=3D"1.0" encoding=3D"UTF-8"?> <!DOCTYPE page-specification PUBLIC "-//Apache Software Foundation//Tapestry Specification 3.0//EN" "http://jakarta.apache.org/tapestry/dtd/Tapestry=5F3=5F0.dtd"> <page-specification > </page-specification> ----------------------------------- Startup.html ----------------------------------- <span jwcid=3D"@Border"> <H1 align=3Dcenter><FONT color=3D#ff3333>Agnosis</FONT></H1> <TABLE align=3Dcenter border=3D0> <TR> <TD> <P> <B>A</B>GNOSIS feliz <BR/> <B>G</B>racias al ciego destino <BR/> <B>N</B>ada es constante <BR/> <B>O</B>lvidados por el Hado <BR/> <B>S</B>i =C9l existe <BR/> <B>I</B>ncomprensible y eterno <BR/> <B>S</B>ilencio </P> </TD> </TR> </TABLE> <br/> </span> ----------------------------------- WEB-INF/Border.jwc ----------------------------------- <?xml version=3D"1.0" encoding=3D"UTF-8"?> <!DOCTYPE component-specification PUBLIC "-//Apache Software Foundation//Tapestry Specification 3.0//EN" "http://jakarta.apache.org/tapestry/dtd/Tapestry=5F3=5F0.dtd"> <component-specification allow-body=3D"yes" allow-informal-parameters=3D"no= "> </component-specification> ----------------------------------- Border.html ----------------------------------- <html jwcid=3D"@Shell" title=3D"RenderBody Example"> <body jwcid=3D"@Body"> <table width=3D"100%" cellspacing=3D"0" border=3D"0"> <tr> <td valign=3D"top" style=3D"text-align:justify;"> <span jwcid=3D"@RenderBody">Page content goes here.</span> </td> </tr> <tr> <td valign=3D"bottom"> <table width=3D"100%" cellspacing=3D"0" border=3D"0"> <tr> <td align=3D"center"> <a href=3D"http://jakarta.apache.org/tapestry"> <img src=3D"images/poweredbyTapestry.gif" width=3D"79" height=3D"33"=20 border=3D"0" alt=3D"Tapestry"></a> <br/> <br/> </td> </tr> </table> </td> </tr> </table> </body> </html> When I run this (http://locahost:8080/newaces/app) I get Could not find template for component Home/$Border in locale en=5FUS. component:=20 org.apache.tapestry.BaseComponent$Enhance=5F97@1ec459b[Home/$Border] location: context:/Startup.html, line 1 So I did some poking around in the "Tapestry Tutorial.". Chapter 6 http://jakarta.apache.org/tapestry/doc/Tutorial/reuse.html seems to be doing exactly what I want to do. The problem may be that I=20 cannot find complete source code for this tutorial ANYWHERE (I looked=20 in Tapestry 3.0b3 bin, Tapestry 3.0b3 source, I looked for a 2.x=20 release, etc.) so I cannot get the big picture of what I must be missing=20 -- also, this example only provides an "excerpt" for the application=20 file. Either way, I try adding a <component-alias ... > within my=20 .application file, within the <application ...> section so I now have ----------------------------------- WEB-INF/NewAces.application ----------------------------------- <?xml version=3D"1.0" encoding=3D"UTF-8"?> <!DOCTYPE application PUBLIC "-//Apache Software Foundation//Tapestry Specification 3.0//EN" "http://jakarta.apache.org/tapestry/dtd/Tapestry=5F3=5F0.dtd"> <application name=3D"NewAces"> <page name=3D"Home" specification-path=3D"Startup.page"/> <component-alias type=3D"Border" specification-path=3D"Border.jwc"/> </application> When I try to run this I get a Tomcat error (not a Tapestry error) that=20 reads Exception ----------- javax.servlet.ServletException: Unable to parse application specification context:/WEB-INF/NewAces.application. at org.apache.tapestry.ApplicationServlet.parseApplicationSpecification (ApplicationServlet.java:640) =20 ... =20 Root Cause ----------- org.apache.tapestry.util.xml.DocumentParseException: Element type "component-alias" must be declared. at org.apache.tapestry.parse.SpecificationParser.parse (SpecificationParser.java:693) I have NO IDEA what I am missing from this picture. Any help would be=20 greatly appreciated. Kevin --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 19:47:00 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 61610 invoked from network); 1 Oct 2003 19:47:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 19:47:00 -0000 Received: (qmail 26375 invoked by uid 500); 1 Oct 2003 19:46:47 -0000 Delivered-To: kthomas@example.org Received: (qmail 26362 invoked by uid 500); 1 Oct 2003 19:46:47 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 26349 invoked from network); 1 Oct 2003 19:46:47 -0000 Received: from unknown (HELO mailhost1.os.kcp.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 19:46:47 -0000 Message-ID: <kthomas@example.org> Date: Wed, 01 Oct 2003 13:45:19 -0600 From: "Kevin C. Dorff" <kthomas@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Kevin C. Dorff" <kthomas@example.org> CC: kthomas@example.org Subject: Re: Trying to do a SIMPLE RenderBody References: <kthomas@example.org> In-Reply-To: <kthomas@example.org> X-MIMETrack: Itemize by SMTP Server on nmmail1/KCP(Release 6.0.2CF1|June 9, 2003) at 10/01/2003 01:45:19 PM, Serialize by Router on nmmail1/KCP(Release 6.0.2CF1|June 9, 2003) at 10/01/2003 01:45:20 PM, Serialize complete at 10/01/2003 01:45:20 PM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N OK I figured out the problem Border.html needs to be in WEB-INF/Border.html. Also, the <component-alias ...> should NOT be in NewAces.application. Kevin --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 22:33:26 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 26585 invoked from network); 1 Oct 2003 22:33:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 22:33:26 -0000 Received: (qmail 67703 invoked by uid 500); 1 Oct 2003 22:33:10 -0000 Delivered-To: kthomas@example.org Received: (qmail 67691 invoked by uid 500); 1 Oct 2003 22:33:10 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 67672 invoked from network); 1 Oct 2003 22:33:10 -0000 Received: from unknown (HELO smtpout.mac.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 22:33:10 -0000 Received: from mac.com (smtpin08-en2 [83.161.120.155]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h91MXH0Q020734 for <kthomas@example.org>; Wed, 1 Oct 2003 15:33:17 -0700 (PDT) Received: from mac.com (shifty.itc.nrcs.usda.gov [83.161.120.155]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id h91MXGQ4018244 for <kthomas@example.org>; Wed, 1 Oct 2003 15:33:16 -0700 (PDT) Message-ID: <kthomas@example.org> Date: Wed, 01 Oct 2003 16:33:16 -0600 From: Vince Marco <kthomas@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tapestry users <kthomas@example.org> Subject: Outputting to the HttpServletResponse.... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am in an action method, and I need to respond with a plain text response (as opposed to a Page destination). I hoped to just grab the HttpServletResponse and output what I needed and set the content type to "text/plain", but I then get an exception, I assume because Tapestry is trying to render the response. Is there an easy way to do this? What is the preferred mechanism? Any examples? Thanks, Vince --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 22:36:07 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 27279 invoked from network); 1 Oct 2003 22:36:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 22:36:06 -0000 Received: (qmail 69742 invoked by uid 500); 1 Oct 2003 22:35:51 -0000 Delivered-To: kthomas@example.org Received: (qmail 69727 invoked by uid 500); 1 Oct 2003 22:35:50 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 69714 invoked from network); 1 Oct 2003 22:35:50 -0000 Received: from unknown (HELO web86307.mail.ukl.yahoo.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 22:35:50 -0000 Message-ID: <kthomas@example.org> Received: from [83.161.120.155] by web86307.mail.ukl.yahoo.com via HTTP; Wed, 01 Oct 2003 23:35:56 BST Date: Wed, 1 Oct 2003 23:35:56 +0100 (BST) From: =?iso-8859-1?q?Joan=20Harrison?= <kthomas@example.org> Subject: application - <extention> tag usage To: kthomas@example.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2066678978-1065047756=:1970" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-2066678978-1065047756=:1970 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello tapestry Gurus, I just started using tapestry so go easy with me! I have a initialisation beans which initalizes DB connection,and Global user prefrence etc., These are done in a plain Java Bean style. >From Tapestry list & documentation I came to know that <extention> tag can be used to initialise once at the start of application. Could some one help me as how to use the initialized bean in components, if possbile with few lines of code please ???! Thanks in advance for your help!. Regards JH. --------------------------------- Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger --0-2066678978-1065047756=:1970-- From tapestry-user-returnkthomas@example.org Wed Oct 01 22:39:32 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 29047 invoked from network); 1 Oct 2003 22:39:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 22:39:32 -0000 Received: (qmail 73605 invoked by uid 500); 1 Oct 2003 22:39:16 -0000 Delivered-To: kthomas@example.org Received: (qmail 73590 invoked by uid 500); 1 Oct 2003 22:39:16 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 73576 invoked from network); 1 Oct 2003 22:39:15 -0000 Received: from unknown (HELO mindbridge) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 22:39:15 -0000 Received: from [83.161.120.155] (helo=mindbridge) by mindbridge with esmtp (Exim 4.12) id HM3O9J-0000Y0-00 for kthomas@example.org; Thu, 02 Oct 2003 01:39:19 +0300 Message-ID: <004901c3886c$da5e3b40$0900a8c0@mindbridge> From: "Mindbridge" <kthomas@example.org> To: "Tapestry users" <kthomas@example.org> References: <kthomas@example.org> Subject: Re: Contrib:Table - sorting with a null value? Date: Thu, 2 Oct 2003 01:39:18 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Erik, Sorry, I have to ask -- which version are you using? There was a bug (or inconsistent behaviour) within DefaultTableComparator in the previous versions. That bug is fixed -- it should now behave well with the nulls (beta-3). In any case, if you want to change the comparator, you can either use setComparator() on the table column or override getComparator(). Keep in mind that the comparator you return must compare _rows_ rather than columns values. I have also just checked in some mods of SimpleTableColumn that provide a setColumnComparator() method. It allows you to set a comparator that will compare the column values rather than the rows -- makes things easier. For example, you could do something like this to sort the column using a collator: Collator usCollator = Collator.getInstance(Locale.US); usCollator.setStrength(Collator.PRIMARY); objCol.setColumnComparator(usCollator); Best regards, -mb ----- Original Message ----- From: "Erik Hatcher" <kthomas@example.org> To: "Tapestry users" <kthomas@example.org> Sent: Wednesday, October 01, 2003 9:58 PM Subject: Contrib:Table - sorting with a null value? > Rather than bang my head on this any more I'm throwing in the towel > somewhat.... I'm using the wonderful Table component (thank you > mindbridge!) using the ExpressionTableColumnModel on an array of value > objects. Every column is set to be sortable. In the particular data > that is being returned, one cell has a null value in it. When sorting > on this column nothing happens, strangely. I would have suspected that > it would sort either at the top or bottom of the list, but it literally > leaves things as-is yet toggles the sort state as if it sorted. > > I've dug as far as finding the SimpleTableModel.sortRows and that the > SimpleTableColumn$DefaultTableComparator. > > Ok, so I'm guessing DefaultTableComparator isn't good enough for my > data since it considers non-Comparable's as equal. null ain't a > Comparable. > > How do I go about injecting my own Comparator (which would be BeanUtils > BeanComparator probably)? > > Thanks, > Erik > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kthomas@example.org > For additional commands, e-mail: kthomas@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Wed Oct 01 23:29:03 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 41999 invoked from network); 1 Oct 2003 23:29:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Oct 2003 23:29:02 -0000 Received: (qmail 26400 invoked by uid 500); 1 Oct 2003 23:28:46 -0000 Delivered-To: kthomas@example.org Received: (qmail 26388 invoked by uid 500); 1 Oct 2003 23:28:46 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 26369 invoked from network); 1 Oct 2003 23:28:45 -0000 Received: from unknown (HELO c000.snv.cp.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Oct 2003 23:28:45 -0000 Received: (cpmta 5261 invoked from network); 1 Oct 2003 16:28:51 -0700 Received: from 83.161.120.155 (HELO ehatchersolutions.com) by smtp.hatcher.net (83.161.120.155) with SMTP; 1 Oct 2003 16:28:51 -0700 X-Sent: 1 Oct 2003 23:28:51 GMT Date: Wed, 1 Oct 2003 19:27:50 -0400 Subject: Re: Contrib:Table - sorting with a null value? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Erik Hatcher <kthomas@example.org> To: "Tapestry users" <kthomas@example.org> Content-Transfer-Encoding: 7bit In-Reply-To: <004901c3886c$da5e3b40$0900a8c0@mindbridge> Message-Id: <kthomas@example.org> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wednesday, October 1, 2003, at 06:39 PM, Mindbridge wrote: > Sorry, I have to ask -- which version are you using? There was a bug > (or > inconsistent behaviour) within DefaultTableComparator in the previous > versions. That bug is fixed -- it should now behave well with the nulls > (beta-3). We're using a pretty recent (as in maybe a month old) build from CVS. I'm looking at the source code from HEAD though and it seems the null thing would still be an issue, but I'll upgrade us to a new HEAD build and see how it goes with that. > In any case, if you want to change the comparator, you can either use > setComparator() on the table column or override getComparator(). Keep > in > mind that the comparator you return must compare _rows_ rather than > columns > values. But using the ExpressionTableColumnModel I don't have control over the comparator. I'm not quite following about comparing rows and not column values. I basically copied the ExpressionTableColumnModel to my own implementation and where the column model was being built I called setComparator there with a BeanComparator using a nested NullComparator and all worked fine. > I have also just checked in some mods of SimpleTableColumn that > provide a > setColumnComparator() method. It allows you to set a comparator that > will > compare the column values rather than the rows -- makes things easier. I'll check it out and report back if need be. Thanks again... your Table component is very sophisticated and snazzy. Quite impressive. Now I need to figure out how to control the rendering of a particular column, to make it a hyperlink to a detail page. Are there any how-to's out there on how to accomplish this? Erik --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Thu Oct 02 03:46:07 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 18637 invoked from network); 2 Oct 2003 03:46:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Oct 2003 03:46:07 -0000 Received: (qmail 14016 invoked by uid 500); 2 Oct 2003 03:45:45 -0000 Delivered-To: kthomas@example.org Received: (qmail 14001 invoked by uid 500); 2 Oct 2003 03:45:44 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 13986 invoked from network); 2 Oct 2003 03:45:43 -0000 Received: from unknown (HELO main.gmane.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Oct 2003 03:45:43 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A4uPZ-0003At-00 for <kthomas@example.org>; Thu, 02 Oct 2003 05:45:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: kthomas@example.org Received: from sea.gmane.org ([83.161.120.155]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4uPY-0003Al-00 for <kthomas@example.org>; Thu, 02 Oct 2003 05:45:52 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A4uPY-0006cH-00 for <kthomas@example.org>; Thu, 02 Oct 2003 05:45:52 +0200 From: Sohail Aslam <kthomas@example.org> Subject: Re: application - <extention> tag usage Date: Thu, 02 Oct 2003 08:51:23 +0500 Lines: 120 Message-ID: <kthomas@example.org> References: <kthomas@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: kthomas@example.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en In-Reply-To: <kthomas@example.org> Sender: news <kthomas@example.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I needed to initialize Hibernate related environment before the appearence of the home page of my application. I specified that a bean of my application's class "ApplicationInitialize" be created immediately at application launch via the <extension tag. Here is the cgc.application file: ------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC "-//Howard Lewis Ship//Tapestry Specification 1.3//EN" "http://tapestry.sf.net/dtd/Tapestry_1_3.dtd"> <application name="CGC" engine-class="com.cgc.esd.pages.csys.AppEngine" > <property name="org.apache.tapestry.visit-class">com.cgc.esd.pages.csys.Visit</property> <page name="Home" specification-path="/com/cgc/esd/pages/csys/Login.page"/> <page name="Main" specification-path="/com/cgc/esd/pages/csys/Main.page"/> <page name="Purchasing" specification-path="/com/cgc/esd/pages/csys/Purchasing.page"/> <page name="PurchasingUsecase" specification-path="/com/cgc/esd/pages/csys/PurchasingUsecase.page"/> <page name="RFQ" specification-path="/com/cgc/esd/pages/cinv/RFQ.page"/> <page name="CreateRFQ" specification-path="/com/cgc/esd/pages/cinv/CreateRFQ.page"/> <page name="View" specification-path="/com/cgc/esd/pages/csys/View.page"/> <component-alias type="ShowError" specification-path="/com/cgc/esd/pages/csys/ShowError.jwc" /> <component-alias type="HeaderNew" specification-path="/com/cgc/esd/pages/csys/component/HeaderNew.jwc" /> <component-alias type="PurchasingHeaderNew" specification-path="/com/cgc/esd/pages/csys/component/PurchasingHeaderNew.jwc" /> <component-alias type="UsecaseNavigator" specification-path="/com/cgc/esd/pages/cinv/component/UsecaseNavigator.jwc" /> <component-alias type="Menu" specification-path="/com/cgc/esd/pages/csys/Menu.jwc" /> <component-alias type="Author" specification-path="/com/cgc/esd/pages/csys/Author.jwc" /> <!-- the extension's class constructor will initialize hibernate --> <extension name="com.cgc.esd.pages.csys.application-initialize" class="com.cgc.esd.pages.csys.ApplicationInitialize" immediate="yes"/> <library id="contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library" /> </application> ---------------------------------------- package com.cgc.esd.pages.csys; import net.sf.hibernate.Session; import net.sf.hibernate.HibernateException; public class ApplicationInitialize { public ApplicationInitialize() { Session session = null; try { session = HUtil.getSession(); } catch (Exception e) { } finally { if (session != null) { try { session.close(); } catch (Exception fe) {} } } } } ------------------------------------- Joan Harrison wrote: > Hello tapestry Gurus, > > I just started using tapestry so go easy with me! > > I have a initialisation beans which initalizes DB connection,and Global user prefrence etc., These are done in a plain Java Bean style. > > From Tapestry list & documentation I came to know that <extention> tag can be used to initialise once at the start of application. > > Could some one help me as how to use the initialized bean in components, if possbile with few lines of code please ???! > > > Thanks in advance for your help!. > > Regards > JH. > > > > > > --------------------------------- > Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Thu Oct 02 08:15:47 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 19219 invoked from network); 2 Oct 2003 08:15:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Oct 2003 08:15:47 -0000 Received: (qmail 61554 invoked by uid 500); 2 Oct 2003 08:15:20 -0000 Delivered-To: kthomas@example.org Received: (qmail 61542 invoked by uid 500); 2 Oct 2003 08:15:20 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 61522 invoked from network); 2 Oct 2003 08:15:19 -0000 Received: from unknown (HELO elinara.ktu.lt) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Oct 2003 08:15:19 -0000 Received: from elinara.ktu.lt (localhost.localdomain [83.161.120.155]) by elinara.ktu.lt (8.12.8/8.12.8) with ESMTP id h929DcpC013463 for <kthomas@example.org>; Thu, 2 Oct 2003 11:13:38 +0200 Received: from localhost (mindaugas@localhost) by elinara.ktu.lt (8.12.8/8.12.8/Submit) with ESMTP id h929DbIj013457 for <kthomas@example.org>; Thu, 2 Oct 2003 11:13:38 +0200 Date: Thu, 2 Oct 2003 11:13:37 +0200 (EET) From: Mindaugas Genutis <kthomas@example.org> To: kthomas@example.org Subject: Reloading/resetting another Tapestry application Message-ID: <kthomas@example.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I have developed two Tapestry applications. One of them is a kind of CMS where data is entered. Another one is a website that displays the data. When data is changed in the CMS and stored in the database, somehow I have to tell the other application to reset it's tables. All other data is newly displayed after refreshing the browser. It's just the tables that are not refreshed. I see two solutions to my problem: a) to create a service in another application that can be called externally. That service resets my dynamic tables. Can someone suggest a way to do that? b) to make my tables so that they load their data newly each time they are rendered. I don't know how to do that either. I'll be very thankful if someone could suggest a solution to my problem. -- Kaunas Regional Distance Education Center Programmer Phone: 534.415.5436 WWW: http://distance.ktu.lt --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Thu Oct 02 08:22:57 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 23490 invoked from network); 2 Oct 2003 08:22:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Oct 2003 08:22:57 -0000 Received: (qmail 70153 invoked by uid 500); 2 Oct 2003 08:22:30 -0000 Delivered-To: kthomas@example.org Received: (qmail 70139 invoked by uid 500); 2 Oct 2003 08:22:30 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 70123 invoked from network); 2 Oct 2003 08:22:30 -0000 Received: from unknown (HELO mumin.dnsalias.net) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Oct 2003 08:22:30 -0000 Received: from kolmodin.net (localhost [83.161.120.155]) by mumin.dnsalias.net (8.12.7/8.12.7) with ESMTP id h928MfZ6017559 for <kthomas@example.org>; Thu, 2 Oct 2003 10:22:42 +0200 (MEST) Message-ID: <kthomas@example.org> Date: Thu, 02 Oct 2003 10:22:41 +0200 From: Michael Kolmodin <kthomas@example.org> User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: Tapestry users <kthomas@example.org> Subject: Re: Contrib:Table - sorting with a null value? References: <kthomas@example.org> In-Reply-To: <kthomas@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Erik Hatcher wrote: [snip] > > I'll check it out and report back if need be. Thanks again... your > Table component is very sophisticated and snazzy. Quite impressive. > > Now I need to figure out how to control the rendering of a particular > column, to make it a hyperlink to a detail page. Are there any how-to's > out there on how to accomplish this? I'm in a similar situation. Talking about this, is there any chance to use a component with a template for this purpose? That is, if I have a component say TableLinkCell with a template and one or two parameters, could I use it to render from a TableColumn implementation? And yes, if it's possible I really need a piece of advice how to do it :-)? I can just agree: the Table component is impressing. -- michael --------------------------------------------------------------------- To unsubscribe, e-mail: kthomas@example.org For additional commands, e-mail: kthomas@example.org From tapestry-user-returnkthomas@example.org Thu Oct 02 08:48:39 2003 Return-Path: <tapestry-user-returnkthomas@example.org> Delivered-To: kthomas@example.org Received: (qmail 37035 invoked from network); 2 Oct 2003 08:48:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Oct 2003 08:48:38 -0000 Received: (qmail 98204 invoked by uid 500); 2 Oct 2003 08:48:11 -0000 Delivered-To: kthomas@example.org Received: (qmail 98192 invoked by uid 500); 2 Oct 2003 08:48:11 -0000 Mailing-List: contact kthomas@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:kthomas@example.org> List-Subscribe: <mailto:kthomas@example.org> List-Help: <mailto:kthomas@example.org> List-Post: <mailto:kthomas@example.org> List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org> Reply-To: "Tapestry users" <kthomas@example.org> Delivered-To: mailing list kthomas@example.org Received: (qmail 98176 invoked from network); 2 Oct 2003 08:48:11 -0000 Received: from unknown (HELO mx5.mail.ru) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Oct 2003 08:48:11 -0000 Received: from [83.161.120.155] (port=4024 helo=magr.msk.bonasource.ru) by mx5.mail.ru with esmtp id 1A4z8H-000JYD-00 for kthomas@example.org; Thu, 02 Oct 2003 12:48:21 +0400 Date: Thu, 2 Oct 2003 12:48:18 +0400 From: Max Grigoriev <kthomas@example.org> X-Mailer: The Bat! (v2.00) CD5BF9353B3B7091 Reply-To: "DarkIT Mail.RU" <kthomas@example.org> Organization: OWN X-Priority: 3 (Normal) Message-ID: <kthomas@example.org> To: kthomas@example.org Subject: Dynamic components MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello tapestry-user, I've got another problem with show and hide ome components. There's text field and Submit button on a page. Step 1. When user inputs data in the text field and presses submit, he can see list of organizations. Then he can click on organization and see the detail report about it organization. Step 2. He can input new data in text field and click submit button, then new list of organizations should be displayed and the detail report should be hidden. On the step 2 when user press submit there's an error: You have
{'source': 'Apache Software Foundation Public Mail Archives'}