Questions tagged [alloy-ui]

Alloy is a UI metaframework that provides a consistent and simple API for building web applications across all three levels of the browser: structure, style and behaviour.

Alloy UI is a user interface web application framework. It's purpose is to help make building and designing web applications an enjoyable experience.

Alloy UI is a javascript framework which is built upon the . This framework is extensively used by portal as the de-facto javascript & UI framework.

Current version of the library is Alloy UI v2.5.x.

What questions should have this tag?

  • questions which involve using any function or modules of alloy-ui
  • questions which involve using alloy-ui taglibs in liferay
  • questions which involve using alloy-ui modules/functions with liferay

Interesting links

236 questions
0
votes
2 answers

How can I Destroy AUI-Form-Validator so I only have one instance

I am using Alloy UI and YUI3 and have a form which, depending on the the users option choice from a select dropdown, fires an ajax call to the server. The server returns new validation rules which I send to the AUI-Form-Validation module. The rules…
Karma Kaos
  • 69
  • 13
0
votes
1 answer

Validator for aui: select with autofield in Liferay

I wanted to know how can we write validator for aui:select field which is in Autofield category. This is my structure of the code: for( loop total number of items) { // CREATE aui select, and aui inputs by appending the index } There is no problem…
Kiran Kulkarni
  • 1,434
  • 2
  • 18
  • 40
0
votes
1 answer

JavaScript dialog pop up event wait for OK to be pressed

I got a delete (input submit) button which pops up a dialog (Alloy UI dialog, html) when clicked: A.all("#RFB input.ConfirmDelete").each(function(node){ node.on('click', function(event) { if(confirmed) { …
DannyThunder
  • 994
  • 1
  • 11
  • 29
0
votes
1 answer

Comma separated multiple inputs in one field using autocomplete

My requirement is exactly as shown by this jQuery plugin: But the only problem is I want to do it in Alloy-UI 2.5 in Liferay 6.2. I am able to have single input with the following script:
Prakash K
  • 11,669
  • 6
  • 51
  • 109
0
votes
1 answer

Send response from action method liferay

I have an actionURL in my jsp from which I am calling a method called "updateDB" in my java file. whenever I submit the form through an AJAX request using A.io.request , this udpateDB function in my java code is being called, where I am doing some…
Kiran Kulkarni
  • 1,434
  • 2
  • 18
  • 40
0
votes
1 answer

fading in/out modal using aui-modal

I'm using YUI and the alloyUI component aui-modal. This works fine but would be much nicer if it faded into view on open and faded out on close. Does anyone know how I can achieve this? Better yet would be to slide down on open and slideOut on close…
Karma Kaos
  • 69
  • 13
0
votes
1 answer

Combining aui-Tabview combined with aui-Pagination

I'm using AlloyUI components within a YUI script and am trying to combine aui-tabview (Pills) with aui-pagination such that clicking on each tab(pill) updates the pagination from the contents/nodelist for each tab. For example, if there are 7 items…
Karma Kaos
  • 69
  • 13
0
votes
1 answer

AlloyUI Form Builder trying to access the elements created dynamically

I have built a dynamic form using AlloyUI form builder. I want to capture the elements which ever I drag and drop in the bounding box. I came across something like this: function saveFieldsForm(){ var formXML =…
GeekStyle
  • 13
  • 1
  • 9
0
votes
1 answer

How to Import Java classes and Alloy-UI tag library in Dynamic Datalist (DDL) Freemarker/Velocity Display Template (Liferay 6.2)

Is there any way to Import Java classes and Alloy-UI tag library into a Liferay 6.2 Dynamic Data List (DDL) Freemarker/Velocity Display Template? For example, when editing the Display Template of a Dynamic Data List portlet (DDL), is there any way…
zeeble
  • 11
  • 1
  • 4
0
votes
2 answers

How to Include AlloyUI

I have some troubles including AlloyUI in my Liferay Portlet. Following this article, I have generated the following jsp: <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
FeinesFabi
  • 1,147
  • 2
  • 12
  • 25
0
votes
2 answers

show and hide div click on radio button using Alloy ui

Hi I want to show and hide div using alloy ui onclick function of radio button.I mentioned my code as below.please help me to solve this problem.when i clicked on married i want to open one div it has anniversary date and when I click on single it…
chirag soni
  • 1
  • 1
  • 2
  • 4
0
votes
2 answers

Alloy UI carousel

I am using Alloy UI for my slideshow and it works great. I have 2 issues. How can I stop the slideshow after the last slide? On click of Replay button, how do I replay the carousel?
SVJ
  • 1
  • 1
0
votes
1 answer

alloyui tree view right click option

I'm using jQuery Fancytree to create a tree view for webpage navigation. I really like the tree view of AlloyUI but there doesn't seem to be any right click option. Does anyone know of JavaScript/HTML based treeview Library that has right click drop…
codeBarer
  • 2,238
  • 7
  • 44
  • 75
0
votes
1 answer

AlloyUI: react to node - click event in Diagram Builder

i want to react in a different way to the event when a user clicks on a node in the diagram builder. I know how to create custom nodes (I found the discussion here on stackoverflow) but I do not know how to overwrite the code that gets called when a…
Breiti
  • 579
  • 5
  • 21
0
votes
1 answer

AlloyUI Diagram Builder: Connect nodes by ID instead of name

I am currently creating an AlloyUI Diagram Builder from data in a database. Everything works perfect except that nodes can only be connected by their names. The issue is that I will have nodes with the same names which I still need to be separate…
Breiti
  • 579
  • 5
  • 21