Re: Flow - passing data to sitemap

2005-10-14 Thread Peter Sparkes

Hi Mark and Leszek,

Thanks for your help

Peter




On Oct 13, 2005, at 1:27 AM, Peter Sparkes wrote:

However, I can't find any information about module:flow-attr: in 
the  cocoon documentation.


Can someone, please, tell me where I can find the documentation.




What you have there is the combination of (a) module source, and (b)  
flow-attribute input module.  The latter is configured with the name  
flow-atttribute in recent releases of Cocoon (not flow-attr).  I  
don't know about documentation for the module source, but there 
really  isn't much to it... it's a source that reads form an input 
module,  that's about it!


A small correction: use flow-attribute or flow-attr. Both are correct:

component-instance logger=core.modules.input name=flow-attribute 
  
class=org.apache.cocoon.components.modules.input.FlowAttributeModule/


component-instance logger=core.modules.input name=flow-attr   
class=org.apache.cocoon.components.modules.input.FlowAttributeModule/


taken from current 2.1.x



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



Flow - passing data to sitemap

2005-10-13 Thread Peter Sparkes

Hi,

I want to pass data, flow DOM objects and parameters  from a flowscript 
back to the sitemap without using a form.


In this mailing list I have found:

(from flow):
cocoon.sendPage(my-email-pipeline,{data:mydomdata});

and then

map:match pattern=my-email-pipeline
map:generate src=module:flow-attr:data /
map:transform src=data2email.xsl /
map:transform type=sendmail /
map:transform src=email2html.xsl /
map:serialize type=html /
/map

However, I can't find any information about module:flow-attr: in the 
cocoon documentation.


Can someone, please, tell me where I can find the documentation.

Peter Sparkes

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



Re: Flow - passing data to sitemap

2005-10-13 Thread Mark Lundquist


On Oct 13, 2005, at 1:27 AM, Peter Sparkes wrote:

However, I can't find any information about module:flow-attr: in the  
cocoon documentation.


Can someone, please, tell me where I can find the documentation.


What you have there is the combination of (a) module source, and (b)  
flow-attribute input module.  The latter is configured with the name  
flow-atttribute in recent releases of Cocoon (not flow-attr).  I  
don't know about documentation for the module source, but there really  
isn't much to it... it's a source that reads form an input module,  
that's about it!


As for the flow-attribute module, there's not much to that either...
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/ 
modules/input/FlowAttributeModule.html


HTH,
—ml—



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



Re: Flow - passing data to sitemap

2005-10-13 Thread Leszek Gawron

Mark Lundquist wrote:


On Oct 13, 2005, at 1:27 AM, Peter Sparkes wrote:

However, I can't find any information about module:flow-attr: in 
the  cocoon documentation.


Can someone, please, tell me where I can find the documentation.



What you have there is the combination of (a) module source, and (b)  
flow-attribute input module.  The latter is configured with the name  
flow-atttribute in recent releases of Cocoon (not flow-attr).  I  
don't know about documentation for the module source, but there really  
isn't much to it... it's a source that reads form an input module,  
that's about it!

A small correction: use flow-attribute or flow-attr. Both are correct:

component-instance logger=core.modules.input name=flow-attribute 
  class=org.apache.cocoon.components.modules.input.FlowAttributeModule/


component-instance logger=core.modules.input name=flow-attr 
  class=org.apache.cocoon.components.modules.input.FlowAttributeModule/


taken from current 2.1.x
--
Leszek Gawron  [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67  http://www.mobilebox.pl
mobile: +48 (501) 720 812   fax: +48 (61) 853 29 65

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