Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 94397 invoked by uid 500); 12 Jun 2002 21:09:10 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 94386 invoked from network); 12 Jun 2002 21:09:09 -0000 From: "Vadim Gritsenko" To: Subject: RE: Redirect in XSP Date: Wed, 12 Jun 2002 17:08:58 -0400 Message-ID: <00fe01c21255$5ea8b4f0$0a00a8c0@vgritsenkopc> 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.2616 In-Reply-To: <9ACCC94F3FC0C64583E2B6F8CCF04D06029BF9@postoffice.waterford.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Matthew Hailstone [mailto:matthew.hailstone@waterford.org] > > > > From: Matthew > > > > Scenario: > Homepage XSP generates an initial form. > Parameters are set. > I would like to then access my sub-sitemap URI space depending > on the parameter values. > Ex. > eval/first/first if parameter value is 1 > eval/second/second if parater value is 2 > > Is this possible by doing the following? Yes, it's possible. What Cocoon version do you use? Update either cocoon or just sitemap.xsl with the latest one from the cvs, cocoon_2_0_3_branch. Vadim ... > Here is my latest try: > > > ... > > > > > > > > > > > > > > > > > > > > > > > > > > ... > > > I get the following compile error: > > org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Error compiling > sitemap_xmap: > Line 440, column 6: Undefined variable: param > Line 441, column 6: Undefined variable or class name: param > Line 444, column 46: Undefined variable: param > Line 462, column 48: Undefined variable: param > Line 0, column 0: > Note: D:\apps\Apache Tomcat > 4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\eval\sitema > p_xmap.java uses or overrides a deprecated API. Recompile with > "-deprecation" for details. > 4 errors, 1 warning > > at > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre > ateResource(ProgramGeneratorImpl.java:285) > at > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa > d(ProgramGeneratorImpl.java:196) > at org.apache.cocoon.sitemap.Handler.run(Handler.java:228) > at java.lang.Thread.run(Thread.java:484) > > Any thoughts? > > Thanks again. > > Matthew --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: