Hi Mike,

I believe the documentation is incorrect, but I will verify.

Best,
Dan

On Nov 13, 11:32 am, Michael Jervis <[EMAIL PROTECTED]> wrote:
> Dan,
>
> > 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.
>
> That conflicts with the linked 
> documentation:http://code.google.com/apis/gadgets/docs/ui.html#multi_content
>
> Which has an example a couple of screens down from that anchor in the
> "complete example":
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <Module>
>   <ModulePrefs title="Multiple Content Sections (version 5)">
>     <Require feature="opensocial-0.8" />
>   </ModulePrefs>
>   <Content type="html" view="profile">
>   <![CDATA[
>     <h1>Profile</h1>
>   ]]>
>   </Content>
>   <Content type="html" view="canvas">
>   <![CDATA[
>     <h1>Canvas</h1>
>   ]]>
>   </Content>
>   <Content type="html" view="canvas,profile">
>   <![CDATA[
>     <h2>This shows up in canvas and profile views</h2>
>   ]]>
>   </Content>
>   <Content type="html">
>   <![CDATA[
>     <h1>Default</h1>
>     <h2>The content in this section only shows up if no other content
> sections are applicable</h2>
>   ]]>
>   </Content>
> </Module>
>
> It then states that in canvas view you can expect to see:
>
> <h1>Canvas</h1>
> <h2>This shows up in canvas and profile views</h2>
>
> I know the sample is "profile" and "canvas" and I'm trying to do
> "home" and "canvas", but I would have thought the same process
> applies.
>
> Is the documentation wrong then? Or have I missed something?
>
> 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 [email protected]
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