Have you tried switching it to an ERXWOForm instead? I used ERXOptionalForm
once when I was porting over ERNeutral for my own look because it was there.
It caused some really bizarre problems with a form based batch navigation
component I was using until I dropped it in favor of ERXWOForm.
Ramsey
On Mar 3, 2012, at 7:43 AM, James Cicenia wrote:
> 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 protected]> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
>>
>> This email sent to [email protected]
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]