(Opens New Window)
Mark as an Answer
March 21, 2013 1:58 PM
Rank: New Member
Join Date: August 6, 2011
Thank you for any assistance,
UPDATE (still need help):
Reference to bug submitted:
var categories = Liferay.Service.MB.MBCategory.getCategories(params);
var categories = Liferay.Service('/mbcategory/get-categories', params);
In the old invocation model, if you passed a callback after 'params', your call would be asynchronous. If you didn't, as shown above, your call would block until the service returned a result and that result would be returned from the call (into the var categories variable above).
The new calls seem to be asynchronous and return nothing.
Does anyone know what the new syntax is for the sychronous blocking versions of these calls?
Thanks for any help,
Sign in to vote.
Please sign in to flag this as inappropriate.