-
-
Save natecavanaugh/1642136 to your computer and use it in GitHub Desktop.
Services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Liferay.Service('user/get-user-by-id', fn); | |
Liferay.Service('user/get-user-by-id', {}, fn); | |
Liferay.Service({ | |
'user/get-user-by-id': {} | |
}, fn); | |
Liferay.Service({ | |
service: 'assetvocabulary/get-vocabularies', | |
data: { vocabularyIds: [10455,13014] }, | |
on: { | |
success: function(event){ | |
console.log(this.get('responseData'); | |
} | |
} | |
} | |
}); | |
Liferay.Service({ | |
service: { | |
'user/get-user-by-id': {} | |
}, | |
on: { | |
success: function(event){ | |
console.log(this.get('responseData'); | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment