All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lib.xp.examples.portal.serviceUrl.js Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
var portalLib = require('/lib/xp/portal');
var assert = require('/lib/xp/testing');

// BEGIN
var url = portalLib.serviceUrl({
    service: 'myservice',
    params: {
        a: 1,
        b: 2
    }
});
// END

assert.assertEquals('ServiceUrlParams{type=server, params={a=[1], b=[2]}, service=myservice}', url);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy