[ 
https://issues.apache.org/jira/browse/SHINDIG-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093728#comment-13093728
 ] 

Mark Weitzel commented on SHINDIG-1586:
---------------------------------------

old format




<Module>
  <ModulePrefs title='Original Gadget Format' 
  description='Same gadget as in SimpleGadget, 
  but in the current 1.0 OpenSocial gadget format'  > 
  
  <Require feature='opensocial-1.0' />
  <Require feature='opensocial-templates' />
  
  </ModulePrefs>
  
  <Content type='html'>
  <script type='text/os-data'>
  <os:Var key='someName'>Joe</os:Var>
  </script>
  
  <script type='text/os-template' tag='my:FancyName'>
    <h2 style='font-family:comic sans ms;color:${My.color};'>Hello, 
${My.name}</h2>
  </script>
  
  <script type='text/os-template' >
  Test simple tag <br />
  <my:FancyName color='red' name='${someName}' />
  <br />
  <my:FancyName >
   <color>blue</color>
   <name>Chris</name>
  </my:FancyName>
  </script>
  </Content>
</Module>

> Implement Simple Gadget Format
> ------------------------------
>
>                 Key: SHINDIG-1586
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1586
>             Project: Shindig
>          Issue Type: New Feature
>    Affects Versions: 3.0.0
>            Reporter: Ryan Baxter
>
> Simple gadget format is a new feature in the OpenSocial 2.0 spec. 
> This is discussed in section 4.1.4 of the Core Gadget spec.
> http://opensocial-resources.googlecode.com/svn/spec/2.0/Core-Gadget.xml#DataElement

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to