• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I turn off ERModRequireWrapper OptionalForm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I turn off ERModRequireWrapper OptionalForm


  • Subject: Re: How do I turn off ERModRequireWrapper OptionalForm
  • From: Ramsey Gurley <email@hidden>
  • Date: Sat, 03 Mar 2012 09:33:58 -0700

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@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

References: 
 >How do I turn off ERModRequireWrapper OptionalForm (From: James Cicenia <email@hidden>)
 >Re: How do I turn off ERModRequireWrapper OptionalForm (From: Ramsey Gurley <email@hidden>)
 >Re: How do I turn off ERModRequireWrapper OptionalForm (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: How do I turn off ERModRequireWrapper OptionalForm
  • Next by Date: Subject: Re:Changing web server's document root
  • Previous by thread: Re: How do I turn off ERModRequireWrapper OptionalForm
  • Next by thread: Someone? Rule help?
  • Index(es):
    • Date
    • Thread