cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Klein <cerebr...@yahoo.com>
Subject Re: newbie: creating a cocoon action using AbstractMultiAction
Date Mon, 20 Jan 2003 21:27:15 GMT
Hey Marcus,
 Yeah I'm sorry, but I had fixed that (I jsut sent the
old sitemap DUH).  You see I tried it in the original
package of com.ethidium, but then thought my class
should be in the cocoon dev jar so I moved it to
org.apache.cocoon.acting and changed the sitemap.
Unfortunately neither worked eventhough the sitemap
matched the location of the class.  I know it is
accessing the class since it is looking for the
AbstractMultiAction class (it's superclass).  I am
running also the slide sample from the scratchpad
which has actions that use the AbstractMultiAction
class as well...but they works fine.  I am boggled
about this...could it have something to do with Thread
safety from the Avalon framework or some funny
classloading issue?

Thanks Again,
Julian


--- Marcus Crafter
<crafterm@fztig938.bank.dresdner.net> wrote:
> Hi Julian,
> 
> 	Not sure what the problem is exactly, but your
> source file has
> 	your action in the package
> 'org.apache.cocoon.acting', whereas your
> 	sitemap.xmap file says that is under
> 'com.ethidium.cocoon.action'.
> 	
> 	Perhaps that's causing things to go a bit pear
> shaped. Hope that
> 	helps.
> 	
> 	Cheers,
> 	
> 	Marcus
> 	
> On Mon, Jan 20, 2003 at 01:06:09PM -0800, Julian
> Klein wrote:
> > 
> > *****************ACTION JAVA
> CODE******************
> > /*
> >  * TaskAction.java
> >  *
> >  * Created on January 14, 2003, 12:16 PM
> >  */
> > package org.apache.cocoon.acting;
> 
> ...<snip/>...
> 
> >
>
***************************SITEMAP********************************************
> 
> ...<snip/>...
> 
> >   <map:actions>
> >    <map:action name="eTask"
> src="com.ethidium.cocoon.action.TaskAction"/>
> 
> -- 
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   ManageSoft GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'
>           &&&&.
>     &&&&&&&:
> 
>
---------------------------------------------------------------------
> 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:    
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
> 


=====
Live simply so others may simply live.
 
-Ghandi
 
Pluralitas non est ponenda sine neccesitate.
"Entities should not be multiplied unneccesarily"
 
-William of Occam

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message