• 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
D2W-ListPageInterface using EOArrayDataSource doesn't display Changes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W-ListPageInterface using EOArrayDataSource doesn't display Changes?


  • Subject: D2W-ListPageInterface using EOArrayDataSource doesn't display Changes?
  • From: Dieter Stollorcz <email@hidden>
  • Date: Wed, 19 May 2010 17:10:24 +0200

Hi all,

I am using the following code in the Session of a D2W-WonderApplication.

 public WOComponent listAnzeigengruppe() {
      ListPageInterface lpi = (ListPageInterface)D2W.factory().pageForConfigurationNamed("ListAnzeigengruppe",this);
      EOArrayDataSource ds = new EOArrayDataSource(EOClassDescription.classDescriptionForEntityName("Anzeigengruppe"), session().defaultEditingContext() );
	ds.setArray(bpAnzeigengruppeList());
      lpi.setDataSource(ds);
      return (WOComponent)lpi;
  }
After an update, delete or insert from this ERD2WListPage those changes are saved to the database but not displayed on the ListPage.


Using an EOFetchSpecification like the following works as expected.
	...
	EODatabaseDataSource ds = new EODatabaseDataSource(ec, "Anzeigengruppe");
	EOFetchSpecification fs = new EOFetchSpecification("Anzeigengruppe", qual, null);
	ds.setFetchSpecification(fs);
	ListPageInterface lpi = (ListPageInterface) D2W.factory().pageForConfigurationNamed("ListAnzeigengruppe", this);
	lpi.setDataSource(ds);
	return (WOComponent) lpi;
}

Isn't it possible to use an EOArrayDataSource in this case or am i doing something wrong?


Greetings from Germany
Dieter Stollorcz _______________________________________________
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

  • Prev by Date: Re: Get rid of warning in binding value e.g. @sum.totalCost
  • Next by Date: Re: Get rid of warning in binding value e.g. @sum.totalCost
  • Previous by thread: Best way to dragdrop Ajax Grid row?
  • Next by thread: Re: [OT] JD-Eclipse plug-in available for Mac OS X
  • Index(es):
    • Date
    • Thread