Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 40589 invoked by uid 500); 18 Apr 2001 20:58:02 -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 40498 invoked from network); 18 Apr 2001 20:58:00 -0000 Message-ID: <3ADDFF5C.457E925D@apache.org> Date: Wed, 18 Apr 2001 16:55:56 -0400 From: Berin Loritsch X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: [c2] use examples for sendRedirect in xsp pages References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Donald Ball wrote: > > On Wed, 18 Apr 2001, Berin Loritsch wrote: > > > The other solution is to return values in the map that specify error, etc. > > If only the Selectors let you expand values.... It would be great to do something > > with the CodedSelector like this: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Unfortunately, the sitemap doesn't expand test values. > > hmm, but the map that the action returns is available in that context, > right? so it should be possible to modify the CodedSelector to transform > {} variables into calls to the map, right? e.g. > > {foo} turns into map.get("foo") or (String)map.get("foo") Yes, but using the coded selector is already messy enough. It is possible, but it requires intimate knowledge of sitemap variable names and constructs. The average user isn't going to know that. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org