Hi,

I added the following in the ExtendedUser class :
"
package org.mycompany.security.om;

import org.apache.torque.om.Persistent;
import org.apache.turbine.services.security.torque.TorqueUser;
"


A second error appears at compile time with TDK-2.3 if you have removed 
servlet.jar from WEB-INF/lib. Take it back from $TDK_HOME/tdk/lib until you 
have successfully run ant init, then delete it again to avoid the validateJar 
problem.


Lo�c


On Wednesday 15 October 2003 06:13 pm, Deepak wrote:
> Hi All,
>
> I am following instructions on extending turbine 2.3 user at following url
>
> http://jakarta.apache.org/turbine/turbine-2.3/services/torque-security-serv
>ice.html
>
> I can't seem to be able to compile similar code as follows and I am getting
> "cannot resolve symbol" at getPersistentObj.
>
> Any help is appreciated.
>
> Deepak
>
> import org.apache.turbine.services.security.torque.TorqueUser;
>
> public class ExtendedUser extends TorqueUser
> {
>   public ExtendedUser()
>   {
>       super();
>   }
>
>   public ExtendedUser(Persistent obj)
>   {
>       super(obj);
>   }
>
>   public String getPhone()
>   {
>     return ((CustomUser) getPersistentObj()).getPhone();
>   }
>
>   public void setPhone(String phone)
>   {
>     ((CustomUser) getPersistentObj()).setPhone(phone);
>   }
>
>   public String getFax()
>   {
>     return ((CustomUser) getPersistentObj()).getFax();
>   }
>
>   public void setFax(String fax)
>   {
>     ((CustomUser) getPersistentObj()).setFax(fax);
>   }
> }
>
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search

-- 
Lo�c QUERAN
GICM
32 Rue Mirabeau 29 480 LE RELECQ KERHUON
T�l�phone : 02.98.00.23.39
Mobile : 06.74.40.59.37

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

Reply via email to