[OpenAjaxGadgets] gadget edit mode question

Howard Weingram weingram at tibco.com
Fri Apr 10 11:56:13 PDT 2009


How does a host know whether a widget is expecting the host to provide a
generic property editor in place of a widget-rendered edit mode?

It's easy to see whether the widget itself has an edit mode by looking for a
widget content block (or maybe not).

But if the widget does not provide an edit-mode content block, how does the
host decide whether to render a property sheet? Maybe the widget has no
editable properties, or maybe it wants an edit property sheet.

Does the host look for the presence of at least one widget property that
does NOT have any of the following attributes:

* readonly
* designonly
* transient
* subscribe
* urlparams
... and maybe others in the future ...

? 

Can the widget not request (in a more straightforward manner) that the host
provide such an important service?

Regards,
Howard


--
Howard Weingram      650.846.1000
Principal Architect  TIBCO Software Inc.

TIBCO PageBus(TM) delivers ultra-lightweight
publish-subscribe messaging for mash-ups.
Learn more at http://www.pagebus.org



More information about the gadgets mailing list