Hi Mike,

You can combine multiple views into a single content section, but each
view should appear a maximum of one time per gadget. I believe the
default behavior when multiple instances of a view are discovered is
to use the first occurrence.

Best,
Dan

On Nov 7, 12:49 am, Michael Jervis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The gadget API 
> here:http://code.google.com/apis/gadgets/docs/ui.html#multi_content
>
> Appears to suggest I can do (pseudo xml ;-)):
>   <ModulePrefs title="Test">
>     <Require feature="opensocial-0.8" />
>   </ModulePrefs>
> <Content view="home,canvas" type="html">
> <!-- Some javascript/css global stuff -->
> </Content>
> <Content view="home" type="html">
> <!-- home page view, using the above javascript/css stuff -->
> </Content>
> <Content view="canvas" type="html">
> <!-- canvas view, also using the above javascript/css stuff -->
> </Content>
>
> However, when I try this, essentially what I get is the
> view="home,canvas" part. The "home" section does not appear in the
> HTML for the home page.
>
> I don't have access to my code or the ability to create a basic
> trimmed down test from here at the moment. But in theory should the
> above work? Or have I misunderstood something in the docs/live status
> of that API set?
>
> I'm guessing I've got something subtley wrong in my XML, or have
> misunderstood the syntax of the gadget.
>
> Any pointers to aid my debugging session tonight?
>
> Cheers,
>
> Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to Google-Gadgets-API@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to