marianol / jasperembedsample Goto Github PK
View Code? Open in Web Editor NEWEmbedded Demo using visualize.js
License: GNU Affero General Public License v3.0
Embedded Demo using visualize.js
License: GNU Affero General Public License v3.0
In that particular page there is an intermittent error popping up referring to a resource not fund (404) error.
It looks like some type of race condition since it comes up always the first time you run the sample and then disappears unless you run it form other browser or an incognito window
the samples merged were using different jquery UI.
this can be optimize to decrease the size of the package
we are hardcoding username/password for each request - perhaps instead we'll just call rest login method instead?
When deploying the sample in a webserver (not a Tomcat container) the dashboard save option does not work. i.e. Apache HTTP @ localhost and Tomcat @ 127.0.0.1:8080
The error I get is:
XMLHttpRequest cannot load http://127.0.0.1:8080/dashboardsaver?username=default. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1' is therefore not allowed access.
We should see if we can make the save option work from any domain since Visualize let us to host the web application separate from the App container.
Currently each file is calling the BIF.init method and passing in a hardcoded location for the server - we need to think of a way to centralize this in one file so that those not running on localhost:8080/jasperserver-pro can configure this project
If you have more then one report on the screen and click the set button when viewing the input controls for that report a combined collection of all input controls on the screen is collect from all reports and not just the one you are viewing. Christoph said he had an idea on how to filter this list down to just the current report being looked at.
It looks like we are looking for options object (control.state.options) to build out the dashboard Input control UI. But if the first input control in a report has no options but a free text input control we are getting no UI update and the error.
Looks like @GeneArnold found a workaround for this so assigning it to him to fix it :)
Opened a new branch SHA: be4268f to work on this.
There are new features available so will try to add these in as i go.
Cleanup the code and get all the the Javascript in external files
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.