-
Notifications
You must be signed in to change notification settings - Fork 106
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
provide a Model for the GeoExt.form.recordToField() Method. #272
Comments
yes I am using this method, it was also part of GeoExt 1: https://github.com/bartvde/gxp2/blob/master/src/gxp/grid/FeatureEditor.js#L55 |
Thanks bartvde, makes sense. so the schema is an xsd I asume. Therefor the model for the record is a GeoExt.data.AttributeModel? |
correct @hutzelknecht |
this cries for an example. @bartvde do you have any example code for this - maybe similar to your FeatureEditor.js Class? Maybe some Example Data and a Schema? |
yeah I can probably cook up an example for this |
Hi - i just stumbled upon a helper method "recordToField" to translate a record (representing a field) into a field.
I don't fully undestand why this method is part or GeoExt. Where is or was this method used before? Is someone actually using this method?
I think it would be either useful to supply a model for the record, that is used as first argument with this method or expand the documentation so it is clear what the record should look like.
Maybe an example page would be nice.
The text was updated successfully, but these errors were encountered: