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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to