Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 32484 invoked by uid 500); 9 Oct 2001 16:22:19 -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 32463 invoked from network); 9 Oct 2001 16:22:17 -0000 From: "Eduardo Godoy Vega" To: "Cocoon-Users" Subject: [C2] What am I doing wrong? Date: Tue, 9 Oct 2001 12:23:00 -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) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi... here is my problem ... I can't pass parameter from Action to XSP ... Here goes my code ... this is my sitemap (a part of) ... ... ... ... my ActionClass is : public class UnveilAction extends AbstractAction { private static java.lang.String UNVEIL_INPUT_FIELD = "Question"; public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) { Request request = (Request) objectModel.get (Constants.REQUEST_OBJECT); if (request == null){ getLogger().debug ("UnveilAction: no request object"); return null; } HashMap sitemapParams = new HashMap(); String sQuestion = request.getParameter(UNVEIL_INPUT_FIELD); if (sQuestion == null){ getLogger().debug ("UnveilAction: Question is null"); return null; } sitemapParams.put("result","From Action:"+sQuestion); request.setAttribute("unveil_result","From Action:"+sQuestion); return sitemapParams; } and my do_unveil.xsp: GET: . BUT unveil_result is always NULL !! --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: