Ashish Singh 5 Years Ago GitHub link for this code is not working. Please re-share. Please sign in to reply. Reply as... Cancel
Andre Kreienbring 3 Years Ago - Edited Thank you for this article! But can somebody please answer the following question? I've two aui:input fields: <aui:input name="TypeSettingsProperties--userId--" value="<%= userId %>" /> and <aui:input id="<portlet:namespace />userId" name="<portlet:namespace />userId" value="<%= userId %>" /> I don't understand why the script: if (event.newVal && event.newVal.length > 0) { selectedUser = event.newVal[0]; userName = selectedUser.name; userId = selectedUser.id; A.all('#<portlet:namespace/>userId').val(userId); A.all('#<portlet:namespace/>userName').val(userName); } only manipulates the first one? What is this "TypeSettingsProperties--userId--" and why is this working at all? Please sign in to reply. Reply as... Cancel
Chirag M Gurav 3 Years Ago - Edited Hi, Very help full blog !! github link mention at the end of the blog is not working can you share again https://github.com/pavel-savinov/liferay-portal/tree/callback/modules/apps/site-navigation/site-navigation-menu-item-callback Please sign in to reply. Reply as... Cancel