GithubHelp home page GithubHelp logo

mendixlabs / customstring Goto Github PK

View Code? Open in Web Editor NEW
3.0 15.0 10.0 3.75 MB

This widget adds a string to your page, taking a microflow as datasource.

Home Page: https://appstore.home.mendix.com/link/app/1426/Mendix/CustomString

License: Apache License 2.0

JavaScript 2.54% HTML 1.34% CSS 95.88% Ruby 0.24%
mendix-widget mendix

customstring's Introduction

CustomString

This widget adds a string to your page, taking a microflow as datasource.

Contributing

For more information on contributing to this repository visit [Contributing to a GitHub repository] (https://world.mendix.com/display/howto50/Contributing+to+a+GitHub+repository)

Typical usage scenario

Display a string, composed on the fly by a microflow. Choose whether you want to place the widget in a dataview or not (CustomString (No Context)) Use this widget instead of creating an attribute solely for display purposes. Now an additional attribute to store the string has become superfluous!

Installation

Import the widget to your project. Add either the Custom String or the Custom String (No Context) to a page. Configure the properties to determine how the widget will behave in your application.

Properties

  • Render as HTML - Determines if HTML elements in the generated string are escaped.
  • Source microflow - A microflow generating the string to display.

customstring's People

Contributors

jeltemx avatar mcpoowl avatar roelandsalij avatar tieniber avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

customstring's Issues

Nanoflow!

This widget would be perfect nanoflow use case!

Replace mx.ui.action with mx.data.action

With the new Mendix 8.5, the CustomString widget produces a deprecated message in the console:

DEPRECATED: mx.ui.action. Use mx.data.action directly instead. -- will be removed in version: 10.0

Upgrade to 7.23.8 no constructor found

image

I went from 7.23.5 to 7.23.8 a few weeks ago. I am now seeing that this widget is not loading (see screenshot above). Based on some googling I have tried clearing the cache but this did not work. The other suggestion involves deleting the entire widget folder and/or extracting the .mdk file. But that seems like I could risk damaging some other parts of my project.

I'm getting this is the logs which might be related:
Loading module failed! Check console log for more detailed debug information.

Which might be referring to this:
multipleDefine Error: multipleDefine
at l (http://localhost:8081/mxclientsystem/mxui/mxui.js?637133197653209575:5:426)
at Xe (http://localhost:8081/mxclientsystem/mxui/mxui.js?637133197653209575:5:11422)
at http://localhost:8081/mxclientsystem/mxui/mxui.js?637133197653209575:5:11858
at u (http://localhost:8081/mxclientsystem/mxui/mxui.js?637133197653209575:5:339)
at Je (http://localhost:8081/mxclientsystem/mxui/mxui.js?637133197653209575:5:11836)
at r (http://localhost:8081/mxclientsystem/mxui/mxui.js?637133197653209575:5:10417)
at HTMLScriptElement. (http://localhost:8081/mxclientsystem/mxui/mxui.js?637133197653209575:5:12797)

Mx 7.11 Issue

Mx 7.11 issue:

CustomString.js?636574041495279473:95

Uncaught (in promise) TypeError: Cannot read property 'indexOf' of null
at N.(anonymous function).E.checkString (http://localhost:8090/widgets/CustomString/widget/CustomString.js?636574041495279473:95:24)
at N.(anonymous function).E._processSourceMFCallback (http://localhost:8090/widgets/CustomString/widget/CustomString.js?636574041495279473:89:46)
at N.(anonymous function).E. (http://localhost:8090/mxclientsystem/mxui/mxui.js?636574041495279473:7:26309)
at http://localhost:8090/mxclientsystem/mxui/mxui.js?636574041495279473:7:1051203
at

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.