User user = new User(); data.getParameters().setProperties(user); // much easier
Oops! I just realized this is the Torque list. The above is a Turbine trick and you may not necessarily be using Turbine. In that case, set the properties however you can. The rest of the code still applies. :)
user.setNew(false); user.save(); // save() UserPeer.doUpdate(user); // or use the peer
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
