I want to redirect to an other jsp page in a liferay portlet from js. The idea that I found is using a renderurl. The best code that I found that can help me as a first step is this one:  <a id="renderURLWithJS" href=""> This re...
How can I listen for the Save, Edit, Delete, and Cancel events from AlloyUI's Scheduler? I need to save the value in our database for future use, but I don't see any documentation for this.  The current code that I have is this:  YUI().use(&#...
How can we add dynamic aui form elements in liferay by using script or aui:script ?? If that is not possible, is there any alternate solution.  I have an aui form which has two sections. On clicking of a button, I want to add new sections to the form...
I have a form created via javascript that will be set as the content of a modal widget provided by Alloy UI. However I don't feel I am approaching this the right way. This question applies for javascript-created HTML in general.  I realize I shou...
I'm using the AlloyUI modal "Real World Example" directly from their website at: http://alloyui.com/examples/modal/real-world/  Using the example verbatim and changing the following line from:      visible: true,   to      visible: false,...
Im using liferay with piwik and would like to capture client side validation error events into a custom variable in piwik.  For e.g. the default user registration page has a number of fields and alloy ui validators configured.  I want to capture all...
I'm developing a portlet for a Liferay portal. I'm trying to use AlloyUI Data Table and my code is currently working, but they way in which I fear that I'm doing it in not an elegant and easy to maitain way.   Below is code from my View.j...
Hello I'm trying to create dropdown menu with Alloy UI.  <link rel="stylesheet" href="alloy2/aui-css/css/bootstrap.css"/> <script src="alloy2/aui/aui-min.js"></script>  <div class="aui-dropdown"...
I'm breaking my head trying to call a js function from a button element inside a form, here is my code:  <%  PortletPreferences prefs = renderRequest.getPreferences();  String employee = (String)prefs.getValue("name", "New Employee...
I have an Alloy UI Dropdown Component I want to render when a user clicks on one of four buttons - this dropdown should be positioned the left of which button was clicked  var toolsDropdown = new Y.Dropdown({     boundingBox: '#my-div',     t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.