Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 52754 invoked by uid 500); 10 Mar 2003 12:13:55 -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 52689 invoked from network); 10 Mar 2003 12:13:54 -0000 Received: from unknown (HELO mobi-mailgw1.mobitel.si) (193.189.186.50) by daedalus.apache.org with SMTP; 10 Mar 2003 12:13:54 -0000 Received: from no.name.available by mobi-mailgw1.mobitel.si via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; Mon, 10 Mar 2003 13:14:22 +0100 Received: from mobi-mail.mobitel.si ([10.101.10.70]) by mobi-mailgw2.mobitel.si with Microsoft SMTPSVC(5.0.2195.5329); Mon, 10 Mar 2003 13:13:53 +0100 Received: from mobitel.si ([10.105.10.77]) by mobi-mail.mobitel.si with Microsoft SMTPSVC(5.0.2195.4905); Mon, 10 Mar 2003 13:13:53 +0100 Message-ID: <3E6C8180.3000702@mobitel.si> Date: Mon, 10 Mar 2003 13:13:52 +0100 From: Ferenc Kiraly Organization: Mobitel d.d. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9 MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: passing request parameters to templates Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Mar 2003 12:13:53.0327 (UTC) FILETIME=[842ABBF0:01C2E6FE] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! I am trying to use as a parameter to a template defined in my own logicsheet. I have looked at the mailing list archives, the documentation and actually found info on how it is supposed ot be done, but it seems that the above parameter does not get passed on. I must be missing something. Please help, cause I'm getting desperate. In the code bellow, the custom tag correctly writes out the second DEBUG: line, but in the first DEBUG: line, the variable $dowhat seems to be empty. If instead of supplying a dynamic parameter to mobi:fmd-request, I supply an attribute 'dowhat', the code works as expected. If I supply a literal string instead of , the string does get passed on to the template as expected. I am using Cocoon 2.0.4, with tomcat 4.1.18 and Java 1.4 from Sun. feri. ------------------------------------------------------ I tried the following in my XSP: And in the logischeet: dowhat DEBUG: dowhat:
DEBUG: dowhat:
...........................
false ... handle default and error ... "" --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org