Questions tagged [yui]
A set of utilities and controls, created by Yahoo in JavaScript and CSS, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX
1,796
questions
0
votes
1answer
24 views
Run Code After Squarespace Popup Event Listener/Trigger
I need to run some custom JS after the modal popup is loaded into the viewport. What's the best way to piggy-back onto whatever event is triggered?
Once the pop-up is loaded, I need to execute ...
-1
votes
1answer
36 views
YUI (YAHOO) blocking my UI when i show the panel
i have a problem with this YUI modal , when i clic the button , it show the panel but is blocking the UI , and i cannot understand how to configure or prevent that behavior this is the code :
<asp:...
1
vote
1answer
48 views
Page layout rendered differently on github-pages
I created a user site on github-pages. For the layout, I am using yui to specify proportions. The layout seems to render correctly when viewed locally (opening index.html in a browser) but incorrectly ...
0
votes
1answer
77 views
Set Default SquareSpace Product Variants failing to get YUI element
I'm trying to set the default options on a product on my Squarespace website.
I'm using the brine template.
Here is the website:
https://pear-nectarine-6mdf.squarespace.com/childrens-subscription
...
0
votes
0answers
38 views
how to set aria-readonly to false for a table using jquery? i want to wrap the <td> inside <span> in document.rady function
Below code is copied from the chrome developer console , i want to enclose each td inside a span programmatically . i tried many was . i think aria-readonly atrribute of table is preventing me to wrap ...
0
votes
0answers
28 views
YUI calendar highlight today
I have very simple YUI calendar (yuilibrary)
How can I highlight today on this calendar, even if I choose other days?
YUI().use('calendar', function(Y) {
var calendar = new Y.Calendar({
...
0
votes
0answers
27 views
Webpack migration bundling issue for J2EE application with legacy JS libs i.e. YUI2 and Spring-JS/DOJO
I am trying to change the bundling strategy for a legacy application that currently uses JAWR bundling to webpack for Javascript/CSS resources.
The legacy application uses couple of legacy JS ...
0
votes
1answer
233 views
Why do I get the error Y Not Defined Error in Squarespace
I am using a Javascript code to inject into a squarespace website but when I do, I get the error "uncaught referenceerror y is not defined". I'm trying to use Squarespace's Forms to write to ...
0
votes
0answers
11 views
yui SSL “Uncaught TypeError: Cannot read property 'App' of undefined”
I updated http://orangelion.de/ to https://www.orangelion.de/ but with SSL it won't load.
Every yui.yahoo is updated to yui-s.yahoo and there should be no mixed content.
If someone could help i would ...
0
votes
0answers
14 views
Is it bad practice to set a YUI attribute value as a function?
In the YUI attribute docs it is stated that the value of an attribute can be of any type; See the link or image below.
I have a YUI Widget that has attributes that need to be passed in order for it ...
1
vote
1answer
94 views
Change a datatable cell value to an input text with YUI
I'm working on a project with a javascript library YUI and JSP.
I'm trying to manipulate a YUI datatable, some cells of the table are select options and input text:
What I'm trying to do is to ...
1
vote
1answer
52 views
Show Data in grid from DataSource in YUI?
I have attached my code in this question.
I am using YUI-3 for showing data in grid format from DataSource
I could not get data from datasource.But data passing from URL.
My grid showing No data ...
0
votes
1answer
289 views
How to bundle js/css in legacy java web application
We have some older java web app's which are struts mvc based and we are using Maven for our build. We are looking into ways of bundling the static content such as js, css etc.
Ideally what we want ...
1
vote
0answers
67 views
Override Javascript Function Expression
I have a scenario where I want to override/modify the javascript function expression. This is how the function expression looks like.
var func_1 = function func_1(){
// 300 lines of code
var ...
1
vote
2answers
90 views
array of callbacks as Promise?
I am working through some old legacy code dealing with network requests using RPC/YUI library. It essentially creates tags to handle network requests. There are no promises for these.Also, because ...
0
votes
0answers
30 views
response object is not defined in some scenarios
I am fixing a bug in this code. In some scenarios responseObj is null and says that
responseObj is not defined
Backend of this application is written in perl. Can anyone give a solution or any ...
1
vote
3answers
30 views
Fnd links containing particular string in href and remove href between slashes with javascript only
I have a use case, where i have to select all <a>, containing string in url like "/web/local" and remove "/web/local" from all href of all these links.
Note: i can't use jQuery. I can use ...
0
votes
0answers
54 views
Alfresco community 4.2.c pagination
In our old project we're using Alfresco 4.2.c community version.
There's a task page there, were you can use predefined filters to manage data you want to see.
I was able to add some extra filters ...
1
vote
0answers
22 views
Why is using Y.all with each (function) returns only one element translated
I'm working with SquareSpace and I am trying to translate blog posts meta dates in French, on the summary page where all the posts appear. I was using a logic where I get all the elements within a ...
0
votes
0answers
235 views
Yahoo.util.connect.asyncRequest POST with callback STOPPED WORKING SUDDENLY
I am using Yahoo.util.connect.asyncRequest POST with callback.
but it stopped working suddenly on UAT environment giving 500 internal server error as "Page not found"
However same code is working ...
1
vote
1answer
115 views
Week Picker CSS
The date picker we are using does not have week picker feature we need. I wonder if we can fake a week picker through CSS since the only day users can choose is Saturday.
I cannot just simply target ...
0
votes
1answer
84 views
Is it possible to set first day of alloy-ui scheduler weekview to monday insted sunday?
I'am using alloyui scheduler and weekview. I want to show from monday to sunday, not sunday to saturday.
Is it possible to set first day of alloy-ui scheduler weekview to monday insted sunday? I want ...
1
vote
1answer
555 views
YUI rich text editor broken on latest Firefox
Well, it been few days I'm observing that YUI 2.9 rich text editor is grayed out in latest Firefox version 58.
As per few Stackoverflow links I tried to patched the YUI library javascript files but ...
0
votes
1answer
50 views
Multiple tabview in same webcontent - LIFERAY - YUI library
I want to include 2 tabviews (2 individual groups of tabs) in the same webcontent in Liferay.
I don't know is it possible to instance twice the YUI().use('aui-tabview'...) or how I could do it.
...
1
vote
1answer
12 views
YUI 3 cssbutton module inclusion
I am trying to upgrade YUI library just as a test case but its just but it is asked me to include many libraries I included all it asked but finally it was reporting me that cssbutton module missing. ...
1
vote
1answer
65 views
YUI 2 to YUI 3 changesheet
Can someone provide me change sheet of YUI 2 to YUI 3 which I can use for upgrading from YUI 2 webtype application to YUI 3.
I tried to read from the official site and that couldn't help me as there ...
1
vote
1answer
31 views
YUI3 button events and Y.Extend modules
Could someone tell me what are the YUI3 latest button class events and can we use Y.extend for extending and if it works which modules should I include?
1
vote
0answers
68 views
YAHOO.extend and YAHOO.util.Element in YUI 3.18
Here is some code which was written using YUI 2.9 and need to upgrade to YUI 3.18 can someone help me please
var MyEntryField = function (parentWindow, entryElem) {
this.parentWindow = ...
1
vote
0answers
44 views
Wrapper upgrading in JavaScript (YUI )
Firstly, I am doing a case study in upgrading in YUI library from YUI 2.9 to YUI 3.18.
Here is a wrapper which is using YUI2 declaration in this way
var MyButton = function (parentWindow, buttonElem) ...
1
vote
1answer
73 views
YUI doesn't fire on.change when using bootstrap multiselect
I'm in a position where I am having to use jQuery and YUI within the same project. I am using Bootstrap multiselect - http://davidstutz.github.io/bootstrap-multiselect/
I am trying the below YUI code:...
0
votes
1answer
78 views
YUI SchedulerEventRecorder popup
hope you are well.
What I need to build is a calendar allowing my users to provide me their availability via a calendar and save that into the db.
I'm playing with the SchedulerEventRecorder and so ...
1
vote
1answer
125 views
Comparing YUI2 and YUI3
I was using YUI 2.9 version before and now to upgrade it to YUI 3.18.1 what are the benefits that I will be getting from it. From where can I get those things which got improvised with YUI up-...
0
votes
1answer
28 views
Load a link inside a SELECT tag in YUI
I have a SELECT with many option items like this:
<select>
<option data-link="http://www.foo.com">Link to Foo website</option>
<option data-link="http://www.bar.com">Link ...
0
votes
0answers
51 views
YUI Autocomplete Editing Issue
I am creating a webform and am in need of a textarea with autocomplete that pulls from a list of streets I've created. I have been using YUI3 Autocomplete widget and it has been working great, but I ...
0
votes
0answers
81 views
How to maintain the context in javascript async call?
I'm working with moodle version 3.2, and i want to catch all the ajax requests and delay them. I can catch them, but i can't maintain the context in which they were called.
Example: I have 2 ...
0
votes
1answer
90 views
How to show Total number of pages in YUI Paginator?
I am using YUI Paginator API for pagination and I need to show Total number of pages on screen. I saw that there is a function getTotalPages() in API but I am unsure about how to use it, there isn't ...
0
votes
1answer
79 views
Only display 1 article in RSS feed YUI
I only want to display one article but when I change the (0,2) to (0,1) nothing appears. Is there a quick solution?
YUI().use('yql', function(Y){
var query = 'select * from rss(0,2) where ...
1
vote
0answers
87 views
Onclick handler not firing on YUI MenuButton MenuItem when inside a YUI DataTable header
so this one is super-specific, but I'm hoping someone will have an insight.
I've been tasked with adding inline-filter buttons to the header of a YUI DataTable. It's YUI 2.7, I'm stuck with it as I'm ...
0
votes
2answers
174 views
Custom tables in the workflow details page
In addition to the currentTasks and workflowHistory tables I want to add two another tables. I added two blocks with the headers in workflow-form.get.html.ftl and two widgets in workflow-form.js. Also ...
1
vote
1answer
693 views
AlloyUI Scheduler - add custom attribute after loading from database
I've been struggling with this issue for a couple of days now, basically what I'm trying to accomplish is to add a custom attribute to each event that I load from the database.
I searched around for a ...
0
votes
0answers
702 views
YUI Compressor Minify all JS in a specific folder
is there a way to minify all the JS file into a specific folder and output it into another file path? because currently i'm using a single process like this:
java -jar yuicompressor-2.4.7.jar "C:\QG\...
0
votes
1answer
115 views
How to add https on Yui libraries links?
How can i add https to yui library links, i have used (https://yui-s.yahoo...) but unfortunately it is not working with every script as it is not working with gallery and editor scripts. Even i have ...
0
votes
1answer
74 views
YUI Library not working on SSL (secure server)
I use YUI Library for cropping image, but it works on http:// but not work on https://.
Any possible solution to solve this issue?
0
votes
0answers
103 views
YUI library to get contents of a website in a popup modal
Library : http://yuilibrary.com/
YUI().use('panel', function (Y) {
var dialog = new Y.Panel({
contentBox : //Need to get content from external website,
bodyContent: '',
...
0
votes
2answers
290 views
Moodle Atto 'plugin not found'
I've been trying to use the Atto plugin template (https://github.com/justinhunt/moodle-atto_newtemplate) to try and create my own Atto plugin. I've made the changes outlined in the README, and got ...
0
votes
1answer
66 views
Asterisk at the end of CSS property
What is the Asterisk at the end of CSS property (font and font-family)?
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/...
0
votes
1answer
160 views
How to open a folder in a new tab in Alfresco using AJAX?
I have View Policy button in my custom-toolbar.js. When I click the button it has to open the Policy folder in a new tab. This is what I have done so far.
/**
* View Policy button click ...
0
votes
2answers
340 views
How to refer to a child nodeRef in Alfresco-share?
I am working on a custom doclib javascript. I have a folder structure which is similar to A --> B --> C where A and B have multiple children. I have the noderef of the folder A which I have found out ...
1
vote
0answers
151 views
YUI Compressor on Windows 7 - unable to minify multiple files
I can minify individual files with the command
java -jar yuicompressor-2.4.8.jar <file to compress> -o <output file>
But I cannot minify multiple files. I tried:
java -jar yuicompressor-...
2
votes
1answer
2k views
Save, Edit, Delete, and Cancel events in AlloyUI Scheduler
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 ...