You need to specify actions using dot notation as they are in different
packages.
ie

action="$link.setPage("kunden,Verwaltung.vm").setAction("kunden.KundenAction
s")">

Jon

-----Original Message-----
From: Marc Lustig [mailto:[EMAIL PROTECTED]] 
Sent: 19 September 2002 16:52
To: Turbine Users List
Subject: 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,Kunden
> Acti
> > 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]>


-------------------------------------------------------------------------------------------

This message is confidential and may also be privileged.
If you are not the intended recipient please notify us
immediately by calling ++44 (0)1865 748747. You should
not copy it or use it for any purpose nor disclose its
contents to any other person.

British Biotech Pharmaceuticals Limited
Registered Office:
Thames Court, Watlington Road,
Oxford, Oxfordshire, OX4 6LY
Registered in England and Wales No 1985479


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

Reply via email to