Package er.attachment.model

Examples of er.attachment.model.ERAttachment


   * @return results of the
   */
  public WOActionResults uploadSucceededAction() {

    EOEditingContext workingEC = masterObject().editingContext();
    ERAttachment existing = (ERAttachment)masterObject().valueForKey(relationshipKey());
    if (existing != null) {
      workingEC.deleteObject(existing.localInstanceIn(workingEC));
    }
    masterObject().addObjectToBothSidesOfRelationshipWithKey(newAttachment(), relationshipKey());
   
    _showUpload = false;
    return (WOActionResults)valueForBinding(Keys.uploadSucceededAction);
View Full Code Here

TOP

Related Classes of er.attachment.model.ERAttachment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.