Le 2012-03-26 à 15:09, James Cicenia a écrit : > I have a very custom D2WQueryPage. > > I would like to reuse the results of this querypage. > > Is this possible? > > I am instantiating it as such: > > TOSD2WQueryPage queryPage = new TOSD2WQueryPage(context()); > queryPage.setEntityName("PortfolioProject");
BTW, that should be PortfolioProject.ENTITY_NAME instead of "PortfolioProject", if you rename that entity, your life will be much easier. > However, I get a null exception: > > at > com.webobjects.directtoweb.D2WComponent.setEntity(D2WComponent.java:336) > at > com.webobjects.directtoweb.D2WComponent.setEntityName(D2WComponent.java:356) > at com.tos.tab.TabSystem.changeReportProject(TabSystem.java:403) > > Why? I am setting the Entity Name? Or is this just not possible? > > Thanks > James > _______________________________________________ > 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: > https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > This email sent to prob...@macti.ca _______________________________________________ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com