How to use the jr.ctxid function in jr

To help you get started, we’ve selected a few jr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TIBCOSoftware / jasperreports / jasperreports / src / net / sf / jasperreports / web / servlets / resources / require / jasperreports-report.js View on Github external
register: function(component, DFD) {
            /*
                Add report properties to component object for reference. Used in ajax request.
             */
            component.config.url = this.config.url;
            component.config.ctxid = this.config['jr.ctxid'];

            /*
                Create component array.
             */
            this.components[component.config.type] = this.components[component.config.type] || [];
            this.components[component.config.type].push(component);

            /*
                Create component map.
             */
            var mapName = component.config.type + 'Map';
            this.components[mapName] = this.components[mapName] || {};
            this.components[mapName][component.config.id] = component;

            /*
                Deferred used to synchronize component registration which happens asynchronously due to require().
github TIBCOSoftware / jasperreports / jasperreports / src / net / sf / jasperreports / web / servlets / resources / require / jasperreports-report.js View on Github external
goToPage: function(config) {
			return jrLoader.ajaxLoad({
				url: this.config.url,
				options: {
					"jr.page": config.requestedPage,
					"jr.ctxid": this.config["jr.ctxid"]
				}
			});
		},
		refreshPage: function() {

jr

A job runner with support for dependencies and parallelism.

MIT
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis

Popular jr functions