Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jtara opened this issue Mar 26, 2015 · 3 comments
Open
Assignees

Comments

@jtara
Copy link

jtara commented Mar 26, 2015

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
Copy link
Author

jtara commented Mar 26, 2015

FYI, default seems to be accessorsViaPropertyBag.

@jtara
Copy link
Author

jtara commented Mar 26, 2015

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
Copy link
Author

jtara commented Mar 26, 2015

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

@michaelToews michaelToews assigned rognar and cfh463 and unassigned rognar Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants