You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Dan Dumont <dd...@us.ibm.com> on 2012/01/16 19:08:29 UTC

Actions spec correction

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?