You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Dan E." <ey...@db.erau.edu> on 2001/11/13 21:46:56 UTC

How to use my own Login class?

Hello all:

I am new to Turbine and any help would be appreciated. i need to use my
own Login class. In the Turbine properties file, I noticed the following:

	action.login=Login

Can override this attribute and if so, how? I tried doing the following,
but it did not worK

	action.login=com.lmco.espares.modules.actions.Login

Dan Eyassu


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to use my own Login class?

Posted by Jason van Zyl <jv...@zenplex.com>.
On 11/13/01 5:47 PM, "Dan Bachelder" <ch...@chowda.net> wrote:

> Why does turbine use relative package names instead of fully qualified? this
> has bitten me a couple times...

It will be cleaned up and aligned in 3.x.
 
> ----- Original Message -----
> From: <bp...@pacbell.net>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Tuesday, November 13, 2001 5:00 PM
> Subject: Re: How to use my own Login class?
> 
> 
>> Specify your login action relative to the packages path.  Just to make
>> sure, you may want to name your custom login action something different
>> than "Login", although this should not be necessary.
>> 
>> On Tue, 13 Nov 2001, Dan E. wrote:
>> 
>>> I have the following i the TR.properties file:
>>> 
>>> 
>>> module.packages=com.lmco.espares.modules,org.apache.turbine.flux.modules
>>> 
>>> 
>>> Dan Eyassu
>>> 
>>> On Tue, 13 Nov 2001, Christopher Elkins wrote:
>>> 
>>>> On Tue, Nov 13, 2001 at 03:46:56PM -0500, Dan E. wrote:
>>>>> Hello all:
>>>>> 
>>>>> I am new to Turbine and any help would be appreciated. i need to use
> my
>>>>> own Login class. In the Turbine properties file, I noticed the
> following:
>>>>> 
>>>>> action.login=Login
>>>> 
>>>> This is sufficient. See below.
>>>> 
>>>>> Can override this attribute and if so, how? I tried doing the
> following,
>>>>> but it did not worK
>>>>> 
>>>>> action.login=com.lmco.espares.modules.actions.Login
>>>> 
>>>> Have you set modules.packages appropriately? You should have something
> like
>>>> the following:
>>>> 
>>>> 
> module.packages=com.lmco.espares.modules,org.apache.turbine.modules
>>>> 
>>>> --
>>>> Christopher Elkins
>>>> 
>>>> --
>>>> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
>>>> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
>>> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>>> 
>> 
>> --
>> ===========================
>> Brian Lawler
>> 
>> 
>> --
>> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>> 
>> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to use my own Login class?

Posted by Dan Bachelder <ch...@chowda.net>.
Why does turbine use relative package names instead of fully qualified? this
has bitten me a couple times...

----- Original Message -----
From: <bp...@pacbell.net>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Tuesday, November 13, 2001 5:00 PM
Subject: Re: How to use my own Login class?


> Specify your login action relative to the packages path.  Just to make
> sure, you may want to name your custom login action something different
> than "Login", although this should not be necessary.
>
> On Tue, 13 Nov 2001, Dan E. wrote:
>
> > I have the following i the TR.properties file:
> >
> >
> > module.packages=com.lmco.espares.modules,org.apache.turbine.flux.modules
> >
> >
> > Dan Eyassu
> >
> > On Tue, 13 Nov 2001, Christopher Elkins wrote:
> >
> > > On Tue, Nov 13, 2001 at 03:46:56PM -0500, Dan E. wrote:
> > > > Hello all:
> > > >
> > > > I am new to Turbine and any help would be appreciated. i need to use
my
> > > > own Login class. In the Turbine properties file, I noticed the
following:
> > > >
> > > > action.login=Login
> > >
> > > This is sufficient. See below.
> > >
> > > > Can override this attribute and if so, how? I tried doing the
following,
> > > > but it did not worK
> > > >
> > > > action.login=com.lmco.espares.modules.actions.Login
> > >
> > > Have you set modules.packages appropriately? You should have something
like
> > > the following:
> > >
> > >
module.packages=com.lmco.espares.modules,org.apache.turbine.modules
> > >
> > > --
> > > Christopher Elkins
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
>
> --
> ===========================
> Brian Lawler
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to use my own Login class?

Posted by "Dan E." <ey...@db.erau.edu>.
That worked. Thanks.

Dan Eyassu

On Tue, 13 Nov 2001 bplawler@pacbell.net wrote:

> Specify your login action relative to the packages path.  Just to make
> sure, you may want to name your custom login action something different
> than "Login", although this should not be necessary.
> 
> On Tue, 13 Nov 2001, Dan E. wrote:
> 
> > I have the following i the TR.properties file:
> > 
> > 
> > module.packages=com.lmco.espares.modules,org.apache.turbine.flux.modules
> > 
> > 
> > Dan Eyassu
> > 
> > On Tue, 13 Nov 2001, Christopher Elkins wrote:
> > 
> > > On Tue, Nov 13, 2001 at 03:46:56PM -0500, Dan E. wrote:
> > > > Hello all:
> > > > 
> > > > I am new to Turbine and any help would be appreciated. i need to use my
> > > > own Login class. In the Turbine properties file, I noticed the following:
> > > > 
> > > > 	action.login=Login
> > > 
> > > This is sufficient. See below.
> > >  
> > > > Can override this attribute and if so, how? I tried doing the following,
> > > > but it did not worK
> > > > 
> > > > 	action.login=com.lmco.espares.modules.actions.Login
> > > 
> > > Have you set modules.packages appropriately? You should have something like
> > > the following:
> > > 
> > >     module.packages=com.lmco.espares.modules,org.apache.turbine.modules
> > > 
> > > -- 
> > > Christopher Elkins
> > > 
> > > --
> > > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > > For additional commands, e-mail: <ma...@jakarta.apache.org>
> > > 
> > > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> > 
> 
> -- 
> ===========================
> Brian Lawler
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to use my own Login class?

Posted by bp...@pacbell.net.
Specify your login action relative to the packages path.  Just to make
sure, you may want to name your custom login action something different
than "Login", although this should not be necessary.

On Tue, 13 Nov 2001, Dan E. wrote:

> I have the following i the TR.properties file:
> 
> 
> module.packages=com.lmco.espares.modules,org.apache.turbine.flux.modules
> 
> 
> Dan Eyassu
> 
> On Tue, 13 Nov 2001, Christopher Elkins wrote:
> 
> > On Tue, Nov 13, 2001 at 03:46:56PM -0500, Dan E. wrote:
> > > Hello all:
> > > 
> > > I am new to Turbine and any help would be appreciated. i need to use my
> > > own Login class. In the Turbine properties file, I noticed the following:
> > > 
> > > 	action.login=Login
> > 
> > This is sufficient. See below.
> >  
> > > Can override this attribute and if so, how? I tried doing the following,
> > > but it did not worK
> > > 
> > > 	action.login=com.lmco.espares.modules.actions.Login
> > 
> > Have you set modules.packages appropriately? You should have something like
> > the following:
> > 
> >     module.packages=com.lmco.espares.modules,org.apache.turbine.modules
> > 
> > -- 
> > Christopher Elkins
> > 
> > --
> > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> > 
> > 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

-- 
===========================
Brian Lawler


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to use my own Login class?

Posted by "Dan E." <ey...@db.erau.edu>.
I have the following i the TR.properties file:


module.packages=com.lmco.espares.modules,org.apache.turbine.flux.modules


Dan Eyassu

On Tue, 13 Nov 2001, Christopher Elkins wrote:

> On Tue, Nov 13, 2001 at 03:46:56PM -0500, Dan E. wrote:
> > Hello all:
> > 
> > I am new to Turbine and any help would be appreciated. i need to use my
> > own Login class. In the Turbine properties file, I noticed the following:
> > 
> > 	action.login=Login
> 
> This is sufficient. See below.
>  
> > Can override this attribute and if so, how? I tried doing the following,
> > but it did not worK
> > 
> > 	action.login=com.lmco.espares.modules.actions.Login
> 
> Have you set modules.packages appropriately? You should have something like
> the following:
> 
>     module.packages=com.lmco.espares.modules,org.apache.turbine.modules
> 
> -- 
> Christopher Elkins
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to use my own Login class?

Posted by Christopher Elkins <ch...@apache.org>.
On Tue, Nov 13, 2001 at 03:46:56PM -0500, Dan E. wrote:
> Hello all:
> 
> I am new to Turbine and any help would be appreciated. i need to use my
> own Login class. In the Turbine properties file, I noticed the following:
> 
> 	action.login=Login

This is sufficient. See below.
 
> Can override this attribute and if so, how? I tried doing the following,
> but it did not worK
> 
> 	action.login=com.lmco.espares.modules.actions.Login

Have you set modules.packages appropriately? You should have something like
the following:

    module.packages=com.lmco.espares.modules,org.apache.turbine.modules

-- 
Christopher Elkins

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>