process_parameter = {};
function process_getComplex_init() {
$('#result').html('');
str = '
';
$('#content').html(str);
$('#get').click(function() {
process_getComplex($('#flag').val());
});
}
function process_getComplex(flag) {
$('#result').html('');
$.ajax({
type : 'get',
dataType : 'json',
url : '../jaxrs/process/' + flag + '/complex',
xhrFields : {
'withCredentials' : true
},
crossDomain : true
}).always(function(json) {
$('#result').html(JSON.stringify(json, null, 4));
});
}
function process_getAllowRerouteTo_init() {
$('#result').html('');
str = '';
$('#content').html(str);
$('#get').click(function() {
process_getAllowRerouteTo($('#flag').val());
});
}
function process_getAllowRerouteTo(flag) {
$('#result').html('');
$.ajax({
type : 'get',
dataType : 'json',
url : '../jaxrs/process/' + flag + '/allowrerouteto',
xhrFields : {
'withCredentials' : true
},
crossDomain : true
}).always(function(json) {
$('#result').html(JSON.stringify(json, null, 4));
});
}
function process_listWithApplication_init() {
$('#result').html('');
str = '';
$('#content').html(str);
$('#list').click(function() {
process_listWithApplication($('#applicationFlag').val());
});
}
function process_listWithApplication(applicationFlag) {
$('#result').html('');
$.ajax({
type : 'get',
dataType : 'json',
url : '../jaxrs/process/list/application/' + applicationFlag,
xhrFields : {
'withCredentials' : true
},
crossDomain : true
}).always(function(json) {
$('#result').html(JSON.stringify(json, null, 4));
});
}