I am using an AjaxModalDialog with an action that returns the 'nextPage'. 
(right from the ajax examples)...

I want the page java to go to the database for data when it shows so I am 
hoping to add:

public void appendToResponse(WOResponse response, WOContext context) {
        NSLog.out.appendln("appendToResponse called");
        
        EOQualifier openVersionsQualifier = 
Version.VERSION_STATUS.dot(VersionStatus.VERSION_STATUS_TITLE).eq("Released").and(Version.JOB.eq(((Session)session()).currentJob()));
                
        versionList = Version.fetchVersions(versionListEC, 
openVersionsQualifier, null);
        versionDG = new ERXDisplayGroup<Version>();
        versionDG.setObjectArray(versionList);
        versionDG.qualifyDisplayGroup();
            
        NSLog.out.appendln("appendToResponse called" + versionList);

}

I can see the appendToResponse called however the AMD rolls up and shows no 
content. If I comment out the appendToResponse the AMD presents itself in its 
full size and content (two buttons save and cancel).

Can I use the appendToResponse here or is there a different method I should use.

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