• 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
WOCollapsibleComponentContent broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOCollapsibleComponentContent broken?


  • Subject: WOCollapsibleComponentContent broken?
  • From: Markus Ruggiero <email@hidden>
  • Date: Wed, 31 Aug 2011 13:31:30 +0200

I have a weird thing going on here.

Custom property level component in an out-of-the-box ERD2W NEUtral app (page config is "CreateMyEntity" or "EditMyEntity"). This custom component has a WOCollapsibleComponentContent that hides/reveals additional optional fields.

no binding for submitActionName: 
I get a hyperlink for opening/closing. The hyperlink works but does not submit already entered form values. That I understand!

submitActionName = ""
I get a nice active image for form submission. However clicking it crashes with ...has no get() or _get() ... accessor (notice the missing part after the word get
I can understand this, however the doc implies different things

submitActionName = reload binding to public WOComponent reload() {return null}
Displayed collapser reverts to *hyperlink*!!! This I do not understand! And according to WO5.4 doc this should be a submit button.

Here is the relevant section from the Apple doc

submitActionName

The name of an action that is called upon collapse. This attribute functions only when the WOCollapsibleComponentContent component is embedded within a WOForm. If submitActionName is not defined or is set to null, the HTML element that expands the content is a hyperlink. Otherwise the it is a submit button. If you want to expand the content with a submit button, but don’t want it to invoke an action, set this attribute to the empty string ("").



Anyone knows/has any idea what is going on here?

Thanks
---markus---

 _______________________________________________
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

  • Prev by Date: Re: Prevent NEW in D2W?
  • Next by Date: Re: Prevent NEW in D2W?
  • Previous by thread: Re: Passing parameters to Jasper Reports
  • Index(es):
    • Date
    • Thread