Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 13420 invoked from network); 19 Nov 2004 21:31:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Nov 2004 21:31:03 -0000 Received: (qmail 3051 invoked by uid 500); 19 Nov 2004 21:30:56 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 3014 invoked by uid 500); 19 Nov 2004 21:30:56 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 3000 invoked by uid 99); 19 Nov 2004 21:30:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.98.147.95] (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 19 Nov 2004 13:30:55 -0800 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id iAJLUqH7021855 for ; Fri, 19 Nov 2004 15:30:52 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id iAJLUpWC021854; Fri, 19 Nov 2004 15:30:52 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 10.0.0.6 (SquirrelMail authenticated user agallardo); by www.agssa.net with HTTP; Fri, 19 Nov 2004 15:30:51 -0600 (CST) Message-ID: <36114.10.0.0.6.1100899851.squirrel@10.0.0.6> In-Reply-To: References: Date: Fri, 19 Nov 2004 15:30:51 -0600 (CST) Subject: RE: jx:when test does not match - similar problem From: "Antonio Gallardo" To: users@cocoon.apache.org User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N H.vanderLinden@MI.unimaas.nl dijo: > Hi, > > I have a similar problem. I hope someone has the correct syntax: > > > > Does anyone know what's wrong? OK. I will check this one now... :-) > > Thanks. You are welcome! :-D > > Bye, Helma Best Regards, Antonio Gallardo > >> -----Original Message----- >> From: Antonio Gallardo [mailto:agallardo@agssa.net] >> Sent: Friday, 19 November 2004 19:46 >> To: users@cocoon.apache.org >> Subject: Re: jx:when test does not match >> >> >> Hi Thorsten: >> >> 2 points: >> >> 1- Make sure the variable is filled. Try: >> >> >> 2-Remember this is a String so, you need to use .equal() for >> testing a match: >> >> >> >> Best Regards, >> >> Antonio Gallardo >> >> >> Thorsten Scherler dijo: >> > Hello list I have following problem: >> > >> > > > path="/authentication/data/User/Salutation"/> >> > >> > I create a variable anrede (Herr|Frau). Then I want to test >> whether the >> > variable value is Herr or Frau like the following, but the first >> > condition is always true (and I do not know why): >> > >> > >> > >> > Sehr geehrte ${anrede} > > context="authentication" >> path="/authentication/data/User/LastName"/>, >> > >> > >> > Sehr geehrter ${anrede} > > context="authentication" >> path="/authentication/data/User/LastName"/>, >> > >> > . >> > >> > 11 >> > 22 >> > 33 >> > 44 >> > 15 >> > >> > gives: >> > Sehr geehrte Herr Wechner, >> > >> > 1false1 >> > 2Herr2 >> > 33 >> > 4Herr4 >> > 1true5 >> > >> > Anybody has a clue why it is not matching? >> > >> > TIA >> > -- >> > thorsten >> > >> > "Together we stand, divided we fall" >> > Hey you (Pink Floyd) >> > >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> > For additional commands, e-mail: users-help@cocoon.apache.org >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org