it only outputs the content section of the current view, so if you have: <Content type="html" view="profile"> hello profile </Content> <Content type="html" view="canvas"> hello canvas </Content>
and your in the profile view, the (only) output is: hello profile -- Chris On Jun 20, 2008, at 12:55 PM, Daniel wrote: > > Hi! > > I've looked at the specification of Multiple Content views in > http://code.google.com/p/opensocial-resources/wiki/MultipleContentSections > , > but I've a question on how does containers suppose to handle those > multiple views: > - When a container reads the XML application, will it render all the > XML file or just the "<Content type="html" view="SPECIFIC_VIEW">" of > the SPECIFIC_VIEW? > > I'm asking this, because I want to add some javascript functions to > several VIEWS that have the same name, but different functionality > regarding to which VIEW it's rendering, and if the container renders > all the XML file I'm pretty sure that it will break the application :S > > So, how actually does a container handle multiple content views in the > same App XML? > > Best regards, > Daniel Botelho > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-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/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---