Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 76607 invoked by uid 500); 12 Jun 2002 20:47:23 -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 76596 invoked from network); 12 Jun 2002 20:47:23 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message Subject: RE: Redirect in XSP MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Jun 2002 14:47:31 -0600 Message-ID: <9ACCC94F3FC0C64583E2B6F8CCF04D06029BF9@postoffice.waterford.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Redirect in XSP Thread-Index: AcISPemLmL7nnBYLSXGD4M3OvIeC0wAEpWGw From: "Matthew Hailstone" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > From: Matthew > >=20 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? From: Vadim >=20 > Matcher (RequestParameterMatcher.java): > =20 > > = >=20 >=20 > Selector (RequestParameterSelector.java): >=20 > > >=20 > > > > > > > >=20 >=20 > PS see javadocs also http://xml.apache.org/cocoon/apidocs/ > > > -- You can and you should do this in the sitemap. Please use one of=20 > > > the matchers, ParameterMatcher is one which can help. > Vadim >=20 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:=20 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: