I am viewing and editing some object meta data in a new window. I create this 
new window with:

<wo:link action = "$viewVendor" target = "_blank"><wo:WOString value = 
"$vendor.vendorName"/></wo:link> and my java:

public WOActionResults viewVendor() {
    AVendor nextPage = pageWithName(AVendor.class);
    nextPage.setTheVendor(vendor);
    return nextPage;
}

I realize that some of the meta data could cause what is viewed on the original 
component (named: VendorList) to be stale. so I wrapped it in an 
AjaxUpdateContainer. I want to fire the AUC from the AVendor component.

AVendor has a save method:

public WOActionResults saveVendorEdits() {
    
    try {
        theVendor().editingContext().saveChanges();
    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
    
    
    return null;
}

How can I refer to the original component and fire the AUC?

Ted


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to