Re: How do I turn off ERModRequireWrapper OptionalForm
Re: How do I turn off ERModRequireWrapper OptionalForm
- Subject: Re: How do I turn off ERModRequireWrapper OptionalForm
- From: James Cicenia <email@hidden>
- Date: Sat, 03 Mar 2012 09:43:17 -0500
Right... unfortunately I am just putting up a list. When I commented out that one section is works. All I am doing is this:
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
_______________________________________________
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