Re: Accessing the output of a modular input module in xsp
Hugo Burm wrote: How can I access the output of an input module in an XSP page? ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:xsp-session=http://apache.org/xsp/session/2.0; document xsp-session:get-attribute name=org.apache.cocoon.components.modules.output.OutputModule:PARAMETER[0]/ !-- use xsp-session or xsp-request, depending on the output/ tag of your input module -- /document /xsp:page -- Robert J. (Bobby) Mitchell Systems Administrator NASA Institute for Advanced Concepts 555A 14th St Atlanta, Ga. 30318 Phone: (404)347-9633 Fax: (404)347-9638 - 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]
Re: Accessing the output of a modular input module in xsp
On 30.Oct.2002 -- 08:45 PM, Hugo Burm wrote: How can I access the output of an input module in an XSP page? I am talking about the input modules as they are used by the modular database actions in 2.1-dev (org\apache\cocoon\components\modules\input). I have written my own input module which works fine with the modular database actions. But now I need exactly the same info from this module in an xsp page. At the moment I am trying to get the output of my module into a sitemap parameter and I am trying to access this parameter in my XSP page. Doesn't work yet. May be I missed something in the docs. There must be a simple solution for this problem, but I did not found it yet. Anybody else knows how to tackle this? AFAIK someone is working on a logicsheet for that. It's not difficult to do if you don't fear some java and know some Avalon. Another cheap solution would be to use the TestAction which really copies everything an InputModule offers to an OutputModule. Modify it so that it returns values for the sitemap if you need to. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - 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]