Giter Club home page Giter Club logo

mendix-json-widget's Introduction

JSON Editor/Viewer for Mendix

This widget can view and edit a JSON object. The object is stored in a String attribute on an Entity

Compatibility

The widget should be compatible with Mendix 5.21 and higher. The widget itself was built and tested in Mendix 7, but uses API's that are in Mendix 5 and 6 as well.

Features

  • View JSON
  • Edit JSON

Dependencies

This widget is built using the widget-base setup in combination with widget-base-helpers. The following external libraries are used:

TODO

  • Add schema for validation
  • Add objects for easy insertion

Configuration

The widget configuration speaks for itself. You should choose a String attribute that contains the JSON object. You can set readOnly or not.

License

This widget is licensed undewr Apache 2.0

mendix-json-widget's People

Contributors

jeltemx avatar

Stargazers

Wessel Buchling avatar

Watchers

James Cloos avatar  avatar

mendix-json-widget's Issues

SyntaxError: Unexpected end of JSON input

Hi,

When the attribute that contains the JSON string is empty then this error is shown to the user:

SyntaxError: Unexpected end of JSON input

I would be great if the widget handles this.

Regards,
Paul

White screen after login with IE 11

Hi Jelte,

Not my browser choice but my customer's :-( Internet Explorer

When I use this widget in my application and use IE11 (only one I can test with) I get the infamous white screen after login. My customer has 10 or later.

Works fine in Edge, Chrome, Firefox, Safari and Opera. And still on Mx 5.21.1.1.

What to do?

Great widget btw, much appreciated by our web service users.

Regards,
Paul

The 'offlineCapable' attribute is not declared.

Hi Jelte,

When installing widget version 1.1.1 in Modeler 5.21.1.1 I get this error:

Package 'C:\...\widgets\JSON.mpk': Widget XML file 'JSON/Editor.xml' does not conform to the XML schema:
The 'offlineCapable' attribute is not declared.

I removed that from Editor.xml and then the modeler accepts the widget. However at runtime I get this in the web UI:

No constructor found for widget JSON.widget.Editor

Regards,
Paul

No constructor found for widget JSON.widget.Editor Mx 7.23

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.