shindig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Dumont" <ddum...@us.ibm.com>
Subject Actions spec correction
Date Mon, 16 Jan 2012 18:08:29 GMT
Currently for declarative actions we have this example in the spec:
http://opensocial-resources.googlecode.com/svn/spec/2.0/Core-Gadget.xml#rfc.section.C.1.4


<Param name="action-contributions"><![CDATA[
  <action id="org.samplevoip.callbyperson" dataObject="opensocial.Person" 
label="Call using VOIP Phone"
   view="DialByPerson" icon="http://ww.samplervoip.org/phone.gif" />
  <action id="org.samplervoip.navLink" path="container/navigationLinks" 
label="Phone" />
]]></Param>

This differs from what the implementation expects, and what the currently 
checked-in test gadgets do:
<Param name="action-contributions"><![CDATA[
  <actions>
    <action id="org.samplevoip.chatwithperson" 
dataType="opensocial.Person" 
     label="Chat" tooltip="Chat" />
    <action id="org.samplevoip.callbyperson" dataType="opensocial.Person" 
     label="Call" tooltip="Call" />
    <action id="org.samplevoip.navLink" path="container/navigationLinks" 
label="Call Person" tooltip="Dial a Number"/>
  </actions>
]]></Param>

Note the missing <actions> parent tag in the spec example.

My question is: 
Would people rather see the spec changed?  or
Would people rather see the shindig implementation changed and the 
examples updated?  or
Would people rather have the spec left alone and the implementation 
updated to cope with both scenarios?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message