public ERMODListPage runReportAction(){
// ListPageInterface newListPage = (ListPageInterface) D2W.factory().pageForTaskAndEntityNamed("List", ((Session)session()).reportEntity(), session());
ListPageInterface newListPage = (ListPageInterface) D2W.factory().pageForConfigurationNamed("ListReport"+((Session)session()).reportEntity(), session());
EOArrayDataSource ds = new EOArrayDataSource(null,session().defaultEditingContext());
ds.setArray(((Session)session()).theList);
newListPage.setDataSource(ds);
return (ERMODListPage) newListPage;
}
If I use a different look... it works, if I comment out "OptionalForm" it works. I searched for ajax submit buttons everywhere and see nothing. I took out all my wrapper code and just had the ComponentContent. Same
result. Temporarily I am ok with just commenting that section out. But it just doesn't feel right. And then
my ODC kicks in and I throw more hours at it.
Though I would think a rule should be able to turn it off.
thanks
James
On Fri, Mar 2, 2012 at 10:41 PM, Ramsey Gurley
<email@hidden> wrote:
That sounds suspiciously like the requirements and bindings of an AjaxSubmitButton.
Ramsey
On Mar 2, 2012, at 9:44 AM, James Cicenia wrote:
I finally located the issue of :
[2012-3-2 11:42:14 EST] <WorkerThread0> com.webobjects.appserver._private.WODynamicElementCreationException: If button = false or functionName is not null, the containing form must have an explicit name.
It is caused by the OptionalForm tag in ERModRequiredWrapper. What is the rule to turn it off?
Thanks
James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
This email sent to email@hidden