rhomobile / rhomobile-docs

Documentation for Rhomobile projects, in the form of a sinatra app.
http://docs.rhomobile.com
41 stars 22 forks source link

Native Extensions, usePropertyBag='propertyBagViaAccessors' not implemented #304

Open jtara opened 9 years ago

jtara commented 9 years ago

http://docs.rhomobile.com/en/5.0.30/guide/native_extensions

Documentation states:

none : any generated property bag code will not integrate this property accessorsViaPropertyBag : get and set will delegate to getProperty and setProperty propertyBagViaAccessors : getProperty and setProperty will delegate to get and set

The last option seems to not be implemented:

<PROPERTIES>
  <DESC>list of properties supported by instance of object</DESC>
  <PROPERTY name="simpleStringProperty" type="STRING" usePropertyBag="propertyBagViaAccessors" >
    <DESC>simple string property</DESC>
  </PROPERTY>
</PROPERTIES>

XML WARNING: unrecognized value "propertyBagViaAccessors" for attribute "usePropertyBag" in Element

jtara commented 9 years ago

FYI, default seems to be accessorsViaPropertyBag.

jtara commented 9 years ago

As well, nativeName seems unimplemented:

     <PROPERTIES>
      <DESC>list of properties supported by instance of object</DESC>
      <PROPERTY name="simpleStringProperty" type="STRING" nativeName="xyzzy" >
        <DESC>simple string property</DESC>
      </PROPERTY>
    </PROPERTIES>

XML WARNING: unrecognized attribute - "nativeName" in Element

jtara commented 9 years ago

As well, the example of nativeName seems corrupt in the documentation page.