• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
appendToResponse ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: appendToResponse ??
      • From: Farrukh Ijaz <email@hidden>
  • Prev by Date: Re: WODirectConnectEnabled false resource paths problem
  • Next by Date: Re: appendToResponse ??
  • Previous by thread: Re: ERModernLook
  • Next by thread: Re: appendToResponse ??
  • Index(es):
    • Date
    • Thread