From cocoon-dev-return-14731-apmail-xml-cocoon-dev-archive=xml.apache.org@xml.apache.org Sun Jul 01 17:53:45 2001 Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 98847 invoked by uid 500); 1 Jul 2001 17:53:43 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 98834 invoked from network); 1 Jul 2001 17:53:43 -0000 X-Apparently-From: From: "Vadim Gritsenko" To: Subject: RE: SQL-Transformer, two more parameters Date: Sun, 1 Jul 2001 13:53:36 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <01070119090101.01243@rodney> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > From: Mariano Kamp [mailto:mkamp@codamax.com] > Sent: Sunday, July 01, 2001 13:09 > To: cocoon-dev@xml.apache.org > Subject: Re: SQL-Transformer, two more parameters > > > Vadim, > > thanks for applying the patch. Is this the right format to send it in? "diff -u" is official preferred patch format here :) > I understand how to do it the first way (define), but how can I do it the > second way? Oops. That's true with TraxTransformer, but not SQLTransformer... For TraxTransformer, you can provide parameters (defaults) when defining it: true false false .... And you can override defaults when invoking it: For SQLTransformer, only second way works. To implement first, configure() method should be written as in TraxTransformer. Vadim > > Mariano > > On Saturday 30 June 2001 04:47 am, Vadim Gritsenko wrote: > > Mariano, > > > > Your patch is applied, thanks. > > There are two ways to configure transformer: > > - provide default parameters when defining transformer, > > - provide parameters when using transformer. > > > > Your goal is also can be achieved using second way. > > > > Thanks, > > Vadim > > > > > -----Original Message----- > > > From: Mariano Kamp [mailto:mkamp@codamax.com] > > > Sent: Friday, June 29, 2001 9:48 > > > To: cocoon-dev@xml.apache.org > > > Subject: SQL-Transformer, two more parameters > > > > > > > > > Hi there, > > > > > > I needed to pass in two more parameters to SQL Transformer. I changed > > > the code accordingly. > > > > > > I attached the diff. If this is the right approach to pass in the > > > parameters, feel free to add it. If not, could you please tell me what > > > would have been the proper approach. > > > > > > Mariano > > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org