You need to specify your action like so:
setAction("kunden.KundenAction");
This will try to instantiate:
de.geoconnect.audiotex.modules.actions + whatever you specify in setAction()
ie.
de.geoconnect.audiotex.modules.actions.kunden.KundenAction
befor it would have looked for :
de.geoconnect.audiotex.modules.actions.KundenAction
and not finding it thrown the exception...
Hope that helps...
Saimon
> -----Mensaje original-----
> De: Marc Lustig [SMTP:[EMAIL PROTECTED]]
> Enviado el: 19 September 2002 17:52
> Para: Turbine Users List
> Asunto: AW: how to access actions in sub-dirs?
>
> I know ... but problem is what you set in TR.props is the *root-path* to
> the
> whole module-package, like
> module.packages=de.geoconnect.audiotex.modules,org.apache.turbine.modules
>
> I can't see any place to tell the path for screen classes or
> action-classes
> individually.
> When searching for an action.class Turbine looks in
> [modules-root].actions,
> but not in any subdirectory. This is the problem.
>
> How do I tell Turbine to look in sub-dirs as well?
>
> Marc
>
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Simon Moore [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 19. September 2002 17:47
> > An: Turbine Users List
> > Betreff: RE: how to access actions in sub-dirs?
> >
> >
> > You need to set the path in the modules property in your TR.props...
> >
> > Hope that helps...
> >
> > Saimon
> >
> > > -----Mensaje original-----
> > > De: Marc Lustig [SMTP:[EMAIL PROTECTED]]
> > > Enviado el: 19 September 2002 17:33
> > > Para: Turbine Users List
> > > Asunto: how to access actions in sub-dirs?
> > >
> > >
> > > I read in some posting that it makes sense to reflect the
> > > directory-structure of the templates (templates/app/screens/kunden )
> in
> > > the
> > > screens and actions directories.
> > > But when I try
> > >
> > > <form method="post"
> > >
> >
> action="$link.setPage("kunden,Verwaltung.vm").setAction("kunden,KundenActi
> > > on
> > > s")">
> > >
> > > I get an error
> > > java.lang.ClassNotFoundException: Requested Action not found:
> > > kunden,KundenActions Turbine looked in the following modules.packages
> > > path:
> > > [de.geoconnect.audiotex.modules, org.apache.turbine.flux.modules,
> > > org.apache.turbine.modules]
> > >
> > > The actions class is placed in modules/actions/kunden/KundenActions
> > > How do I tell turbine to look in the subdirectories as well, when
> > > searching
> > > for any action-class, and not only in the "root"-dir?
> > >
> > > Thanks again.
> > > Marc
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>