jonmak08/liferay-portal — pull request #23 by marclundgren (2012-03-30 18:42:33+00:00)
Title: LPS-26314 - AUI UI Request cmd 'get' lookup in SessionClickAction

To test I ran this script in Firebug:

AUI().use('aui-io-request', function(A){

A.io.request(themeDisplay.getPathMain() + '/portal/session_click', {
data: {
'marc': 100
}
});

A.io.request(themeDisplay.getPathMain() + '/portal/session_click', {
data: {
cmd: 'get',
key: 'marc'
},

after: {
success: function(){
console.log('responseData:');
console.log(this.get('responseData')); // expect 100
}
}
});
});