[OpenAjaxGadgets] gadget edit mode question

Howard Weingram weingram at tibco.com
Fri Apr 10 12:03:55 PDT 2009


For that matter, host/widget rendering is not specific to edit mode and
could be done for any mode. I think widget.xml needs to explicitly identify
the modes and explicitly state whether the host or the widget renders the UI
for each mode.

Regards,
Howard


On 4/10/09 11:56 AM, "Howard Weingram" <weingram at tibco.com> wrote:

> 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
> 
> _______________________________________________
> gadgets mailing list
> gadgets at openajax.org
> http://openajax.org/mailman/listinfo/gadgets



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