Blush, red faced ...
Many moons ago I learned to read and now I seem to have forgotten everything.
The name of the binding is "submitActionName" and not "submitAction" (note the
missing "Name" part). Replacing submitActionName=reload by
submitActionName="anything" (note the quotes around anything)
WOCollapsibleComponentContent works as it is supposed to. Well, it was a long
day and hot one, too. Sorry for bothering and wasting bandwidth.
Long live WO/D2W
---markus---
PS Customer is incredibly happy because I am able to fix issues right in the
meeting while still discussing the point at hand! My MacBook Pro sits there and
I can just edit a rule or two and when the customer is done explaining what he
needs.... "Ok, it's already done. Is this what you want?" :-)))
On 31.08.2011, at 13:31, Markus Ruggiero wrote:
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]