Re: appendToResponse ??
Re: appendToResponse ??
- Subject: Re: appendToResponse ??
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 4 May 2010 14:10:45 -0700 (PDT)
My bad... I forget the..
super.appendToResponse(response, context);
on the last line..
Ted
--- On Tue, 5/4/10, Theodore Petrosky <email@hidden> wrote:
> From: Theodore Petrosky <email@hidden>
> Subject: appendToResponse ??
> To: email@hidden
> Date: Tuesday, May 4, 2010, 4:57 PM
> 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