Re: Simple database app with Forms/Flow ?

2004-05-18 Thread Michael Wolf
But it is well worth trying. Do you want to chat about how we can do it? 
(I know someone I can bug for guidance!)
If you work out a solution or a 'big picture' please keep us informed...
Michael Wolf

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


Re: Cocoon Books

2004-05-14 Thread Michael Wolf
Strongly agree!
Would be nice seeing a book that deals with 2.1 new features! ...and I 
think it wouldn't be a waste of time for the author (2 sold books 
allready ;-)).
Make it 3!

Michael Wolf



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


Re: Windows/Tomcat/Cocoon Installation --htm attached.

2004-02-11 Thread Michael Wolf
what about putting the info on the wiki-page?
So people don't have to keep this email and people not in this list can 
access the information too.

Michael

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


ojb in flow

2003-12-10 Thread Michael Wolf
Hello,

I'm trying to use ojb from the flow.
To start I only want to use the ojb PersistenceBroker like it is shown 
in the GT2003 slides from Christian Haul.

I have installed the ojb block, but without jdo (i didn't include 
jdo.jar and jori.jar)

So far I wasn't able to do it.
What classes do I have to import to make it run?
Is there a special place to put them.
Thanks,

Michael

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


Re: ojb in flow

2003-12-10 Thread Michael Wolf
My question was more about the flow.

To use the PersistenceBroker I tried:

importClass(Packages.org.apache.ojb.broker.PersistenceBroker);
importClass(Packages.org.apache.ojb.broker.PersistenceBrokerFactory);
importClass(Packages.org.apache.ojb.broker.util.ui.AsciiSplash);
function ojbTest(){
broker = PersistenceBrokerFactory.defaultPersistenceBroker();
}
when calling the function I get the following error message:
java.lang.NoClassDefFoundError
Michael



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


Re: Redistribution of a cocoon-blank.war by myself?

2003-12-08 Thread Michael Wolf
(sorry, sometimes, it fails)
that's true.
on my win 2000 cocoon 2.1.2 builds without problems but 2.1.3 does not.
In such situations it is quite convenient to have a .war file available.

Michael

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


war file missing: cocoon 2.1.3

2003-12-04 Thread Michael Wolf
Hello,
I just tried to build cocoon 2.1.3. The webapp directory (including 
content) is created but the cocoon.war file is missing.

Of course I executed 'build war'.
A month ago I built cocoon 2.1.2 on the same machine and had no problems 
whatsoever.

Michael

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


using actions in flow

2003-12-01 Thread Michael Wolf
Hello,
I specified the modular database actions in a my.roles file and can 
access them via the getComponent() method:

var action = cocoon.getComponent(mod-db-sel);

to call the act method of the action I have to specify the various 
parameters:

public java.util.Map act(Redirector redirector,
 SourceResolver resolver,
 java.util.Map objectModel,
 java.lang.String source,
 org.apache.avalon.framework.parameters.Parameters param)
In my flowscript I have the parameters in javaScript:

for example: {table-set : login_check}

I've heard that the redirector and the source parameter can be null.
But what about the other parameters?
How do I access a resolver and the objectModel to pass it to the act-method?
How do I transform my parameters to the appropriate format?
Is there a script that already implements such a transformation?
Thanks for your help,
Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


log messages of actions and modules

2003-12-01 Thread Michael Wolf
Hello,
Is there a introduction to the cocoon log-system?
I look for log-messages in the WEB-INF/logs directory.
And I can also write my own error messages from the flow, but I cannot 
find any messages from my input/output modules and the modular database 
actions I use.

Can anyone help?

Michael

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


using actions in flow

2003-11-26 Thread Michael Wolf
Hello,
I want to use a modular Database Action in my flowscript.
I tried this approach:

myAction = cocoon.getComponent(???);
result = myAction.act(mod-db-sel,,{table-set : login_check});
cocoon.release(myAction);
The cocoon.getComponent method expects a component id, but how do I get 
this id?

I tried

myAction = 
cocoon.getComponent(Packages.org.apache.cocoon.acting.modular.DatabaseSelectAction.ROLE);

but that didn't work.

For completeness here is the action description in the 
sitemap/components/actions section:

map:action name=mod-db-sel 
src=org.apache.cocoon.acting.modular.DatabaseSelectAction
   descriptordescriptors/database.xml/descriptor
   throw-exceptionfalse/throw-exception
/map:action

Thanks for your help,

Michael



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