}
});
-
-CatalogItemDetailsEditor.contextTypes = {
- router: React.PropTypes.object,
- userProfile: React.PropTypes.object
-};
export default CatalogItemDetailsEditor;
},
componentWillUnmount() {
},
+ contextTypes: {
+ router: React.PropTypes.object,
+ userProfile: React.PropTypes.object
+ },
render() {
let json = '{}';
let bodyComponent = messages.detailsWelcome();
}
});
-DetailsPanel.contextTypes = {
- router: React.PropTypes.object,
- userProfile: React.PropTypes.object
-};
-
export default DetailsPanel;
const container = props.container;
const readonly = props.readonly;
+ const isEditable = !readonly; //true
+
if (!(DescriptorModelFactory.isContainer(container))) {
return
}
let catalogs = cds.getTransientCatalogs();
const name = path.join('.');
- const isEditable = !readonly; //true
const isGuid = Property.isGuid(property);
const isBoolean = Property.isBoolean(property);
const onChange = onFormFieldValueChanged.bind(container);