I wanted to start a discussion about view rendering. In testing of 0.21.1 I
noticed that the Gadget View Type (canvas-nav.xml) demo gadget wasn't
displaying properly. Looking into it I saw that it had a new view defined
with type="default" that was being displayed regardless of what mode the
gadget was in (same view in home and maximized) which wasn't correct. The
gadget already defined both a home view and a canvas view but they were
being ignored. So my question is what is the right way to render gadgets?

My 2 cents is that if there is a specific view defined (home, canvas,
profile) it should be used when the gadget is in that mode. If there isn't
a view defined for the current mode, then if there is a default view
defined it should be used. Right now we seem to have the opposite where
default is always used. I'm not sure if this is a Rave problem where we
aren't requesting the render the view in the right mode or if it's a
shindig problem where it's picking the wrong view.

BTW - I'm removed the default view from the canvas-nav gadget so it works
again but the problem is easy to recreate.

Chris

Reply via email to