Skip to content

Instantly share code, notes, and snippets.

new A.ColorPicker({
hsv: {
alpha: false
},
color: {
cols: 3
},
render: true
});
@eduardolundgren
eduardolundgren / error.txt
Created April 17, 2013 08:44
Error when save password reminder on a clear database
01:42:23,971 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1437] Checking for available updates
01:42:23,973 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1481] Finished checking for available updates in 0 ms
Apr 17, 2013 1:42:30 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 41 in the jsp file: /html/taglib/aui/select/init-ext.jspf
The method buildCss(String, String, boolean, boolean, boolean, String) in the type AUIUtil is not applicable for the arguments (String, boolean, boolean, boolean, boolean, boolean, String)
38: title = LanguageUtil.get(pageContext, title);
39: }
_afterUiSetVisible: function(val) {
var instance = this,
boundingBox = instance.get('boundingBox'),
transition = instance.get('transition');
// if (!transition) {
boundingBox.setStyle('display', val ? 'block' : 'none');
return;
// }
@eduardolundgren
eduardolundgren / editable.js
Last active December 16, 2015 07:39
Y.Base class editable
A.Editable = A.Base.create('editable', Y.Base, [],
{
initializer: function(config) {
var instance = this,
node = instance.get('node'),
eventType = instance.get('eventType');
node.on(eventType, instance._onEdit, instance);
},
@eduardolundgren
eduardolundgren / view.jsp
Created April 9, 2013 23:48
input software catalog
<%--
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
var StdMod = A.WidgetStdMod,
getClassName = A.getClassName;
A.Modal = A.Base.create('modal', A.Widget, [
A.WidgetPosition,
A.WidgetStdMod,
A.WidgetAutohide,
A.WidgetButtons,
A.WidgetModality,
A.WidgetPositionAlign,
var Lang = A.Lang,
AArray = A.Array,
AObject = A.Object,
_UNDERLINE = '_',
HashMap = function() {
A.EventTarget.call(this, {emitFacade:true});
this.initializer();
'put/remove/clear events': function() {
var cleared = false,
put = false,
removed = false,
afterPut = false,
afterRemove = false,
afterClear = false,
map = new Y.Map({
on: {
clear: function(event) {
var HashSet = function() {
this.initializer();
};
HashSet.PRESENT = {};
HashSet.prototype = {
_map: null,
initializer: function() {
function getContent(json) {
return '<div>' + json.html + '</div>';
}
// roda a funcao atual
getContent({
html: 'dummy'
});