Dave-

I believe you are having the same problem I was having. Ilya's reply to me fixed the problem: Implicit variables are not created until the content tag is reached, thus logic prior to <content> that references them will fail.

I'm *very* new to Cocoon so I have no experience with past versions. If this worked previously for you and now doesn't, this must be the result of a change in the way xsp pages are processed (isn't this breaking all kinds of code?!!!). I was going to report this as a bug, however, someone with more history (like yourself) should make that call.

Is this what is causing your problem?

Eric Everman



At 10/29/2002, you wrote:
In Cocoon-1.8.2, I can handle parameters to XML
as follows:

    http://b.c/Q/zzz.xml?color=red

and I can recover the value of 'color' in zzz.xml with:

<xsp:logic>
   String colorParameter = request.getParameter("color");
</xsp:logic>

But I have tried to duplicate the above with numerous incantations
of sitemap (under cocoon/mount/MyProject) with no luck.

How can I handle the above in Cocoon 2?

(Windows XP, Apache 2, Tomcat 4.1.12(JK2:ajp13), Cocoon-2.0.3)

Dave Biggar

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to