When creating java-class that can be called from inside flow, does it have to be compiled against some cocoon class, or can be separed? How can I get information from request, or does that have to been wrapped through flow? What I like to do, is to make an action like class, which would take input as parameters and take input from request. Although, flow has cocoon.get.request() stuff, so that could be used as a wrapper.

And if I want to save data to database, should I use already existing class mod-db-insert or create one of my own, if I have to create my own, how can I plug in to cocoon's resource pool to get connections?

Thanks,

Joose


13.2.2004 kello 13:25, Antonio Gallardo kirjoitti:


Hi Joose:

I think you would find a solution using just Flow. You can change your action to a Java class that can be called from inside flow.

Best Regards,

Antonio Gallardo

Joose Vettenranta dijo:
Hi,

just been wondering flow-scripts and wiki didn't help much. So, is
actions correct way to do stuff and possibility in flow? I mean, like

SendPageAndWait("foo");
if (cocoon.act("xsp-action", "xsp/checkfoo.xsp", "foo" : foo))
  // true
else
  // false

Or is that just wrong (or did I even use cocoon.act -function
correctly?)

I'm thinking of replacing little complex sitemap matching stuff with
little simplier flow-script. So I am kinda thinking that flow-script
replaces sitemap.xmap for page matching...

Thanks,

Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


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



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


--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


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



Reply via email to