• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
D2W Custom component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W Custom component


  • Subject: D2W Custom component
  • From: Erwin <email@hidden>
  • Date: Wed, 20 Apr 2005 19:21:37 +0200

I am trying to use (for the 1st time) D2W to test my EOModel
I have a D2WEditPassword custom component that's doing its job (take the value in a pwd Txtfield)

D2WEditpassword.java (extends WOComponent)
.....
public String value() {
return (String) object.valueForKey(key);
}
public void setValue(String newValue) {
object.takeValueForKey(newValue, key);
}
.....


I would like this value to be encrypted via the setPassword() in my Siteuser class before being written to the DB
(as it will be in my WOApp) but I just get the String value in my DB..... why ? how can I do it ? (hint in doc...)
Thanks erwin

Siteuser.java (extends EOGenericRecord)
.....
public void setPassword(String password){
setCredential(transformString(password, Cipher.ENCRYPT_MODE));
}
....

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: D2W Custom component
      • From: John Bruce <email@hidden>
  • Prev by Date: RE: [ANN] ExistsInRelationshipQualifier: WHERE EXISTS (SELECT 1FROM A WHERE ...)
  • Next by Date: New mySQL Exception
  • Previous by thread: Re: EOModeler
  • Next by thread: Re: D2W Custom component
  • Index(es):
    • Date
    • Thread