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-service.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

Reply via email to