From: Upayavira [mailto:[EMAIL PROTECTED]Hmm. You are right. The interfaces that are available are:
Antonio Gallardo wrote:
Joose Vettenranta dijo:flow, does it
When creating java-class that can be called from inside
separed? Howhave to be compiled against some cocoon class, or can be
been wrappedcan I get information from request, or does that have to
could be usedthrough 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
You should probably use the the cocoon.createObject() method, which will treat your object as if it were an Avalon component. Then, if your object implements certain interfaces (e.g. SitemapModelComponent?) it will have certain methods called to pass it stuff, such as the ObjectModel, which will enable it to get at the Java Request object. I would caution against using the cocoon object within Java, it just doens't make sense.as a wrapper.
HTH.
IIUC only Avalon interfaces are supported by cocoon.createObject(), not Cocoon internal interfaces like SitemapModelComponent.
LogEnabled, Contextualizable, Composable, Serviceable, RoleManageable, Configurable, Parameterizable, Initializable, Startable
IIRC, none of these would give us the request object. Or am I missing something?
(I guess assuptions can sometimes be dangerous :-(
Upayavira
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
