appendToResponse ??
appendToResponse ??
- Subject: appendToResponse ??
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 4 May 2010 13:57:25 -0700 (PDT)
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden