JBoss Rich Faces SVN: r13232 - trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-03-26 14:40:52 -0400 (Thu, 26 Mar 2009)
New Revision: 13232
Removed:
trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js
Log:
jQuery UI moved into framework\impl
Deleted: trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js
===================================================================
--- trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js 2009-03-26 18:40:32 UTC (rev 13231)
+++ trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js 2009-03-26 18:40:52 UTC (rev 13232)
@@ -1,519 +0,0 @@
-/*
- * jQuery UI 1.7.1
- *
- * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * http://docs.jquery.com/UI
- */
-;jQuery.ui || (function($) {
-
-var _remove = $.fn.remove,
- isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
-
-//Helper functions and ui object
-$.ui = {
- version: "1.7.1",
-
- // $.ui.plugin is deprecated. Use the proxy pattern instead.
- plugin: {
- add: function(module, option, set) {
- var proto = $.ui[module].prototype;
- for(var i in set) {
- proto.plugins[i] = proto.plugins[i] || [];
- proto.plugins[i].push([option, set[i]]);
- }
- },
- call: function(instance, name, args) {
- var set = instance.plugins[name];
- if(!set || !instance.element[0].parentNode) { return; }
-
- for (var i = 0; i < set.length; i++) {
- if (instance.options[set[i][0]]) {
- set[i][1].apply(instance.element, args);
- }
- }
- }
- },
-
- contains: function(a, b) {
- return document.compareDocumentPosition
- ? a.compareDocumentPosition(b) & 16
- : a !== b && a.contains(b);
- },
-
- hasScroll: function(el, a) {
-
- //If overflow is hidden, the element might have extra content, but the user wants to hide it
- if ($(el).css('overflow') == 'hidden') { return false; }
-
- var scroll = (a && a == 'left') ? 'scrollLeft' : 'scrollTop',
- has = false;
-
- if (el[scroll] > 0) { return true; }
-
- // TODO: determine which cases actually cause this to happen
- // if the element doesn't have the scroll set, see if it's possible to
- // set the scroll
- el[scroll] = 1;
- has = (el[scroll] > 0);
- el[scroll] = 0;
- return has;
- },
-
- isOverAxis: function(x, reference, size) {
- //Determines when x coordinate is over "b" element axis
- return (x > reference) && (x < (reference + size));
- },
-
- isOver: function(y, x, top, left, height, width) {
- //Determines when x, y coordinates is over "b" element
- return $.ui.isOverAxis(y, top, height) && $.ui.isOverAxis(x, left, width);
- },
-
- keyCode: {
- BACKSPACE: 8,
- CAPS_LOCK: 20,
- COMMA: 188,
- CONTROL: 17,
- DELETE: 46,
- DOWN: 40,
- END: 35,
- ENTER: 13,
- ESCAPE: 27,
- HOME: 36,
- INSERT: 45,
- LEFT: 37,
- NUMPAD_ADD: 107,
- NUMPAD_DECIMAL: 110,
- NUMPAD_DIVIDE: 111,
- NUMPAD_ENTER: 108,
- NUMPAD_MULTIPLY: 106,
- NUMPAD_SUBTRACT: 109,
- PAGE_DOWN: 34,
- PAGE_UP: 33,
- PERIOD: 190,
- RIGHT: 39,
- SHIFT: 16,
- SPACE: 32,
- TAB: 9,
- UP: 38
- }
-};
-
-// WAI-ARIA normalization
-if (isFF2) {
- var attr = $.attr,
- removeAttr = $.fn.removeAttr,
- ariaNS = "http://www.w3.org/2005/07/aaa",
- ariaState = /^aria-/,
- ariaRole = /^wairole:/;
-
- $.attr = function(elem, name, value) {
- var set = value !== undefined;
-
- return (name == 'role'
- ? (set
- ? attr.call(this, elem, name, "wairole:" + value)
- : (attr.apply(this, arguments) || "").replace(ariaRole, ""))
- : (ariaState.test(name)
- ? (set
- ? elem.setAttributeNS(ariaNS,
- name.replace(ariaState, "aaa:"), value)
- : attr.call(this, elem, name.replace(ariaState, "aaa:")))
- : attr.apply(this, arguments)));
- };
-
- $.fn.removeAttr = function(name) {
- return (ariaState.test(name)
- ? this.each(function() {
- this.removeAttributeNS(ariaNS, name.replace(ariaState, ""));
- }) : removeAttr.call(this, name));
- };
-}
-
-//jQuery plugins
-$.fn.extend({
- remove: function() {
- // Safari has a native remove event which actually removes DOM elements,
- // so we have to use triggerHandler instead of trigger (#3037).
- $("*", this).add(this).each(function() {
- $(this).triggerHandler("remove");
- });
- return _remove.apply(this, arguments );
- },
-
- enableSelection: function() {
- return this
- .attr('unselectable', 'off')
- .css('MozUserSelect', '')
- .unbind('selectstart.ui');
- },
-
- disableSelection: function() {
- return this
- .attr('unselectable', 'on')
- .css('MozUserSelect', 'none')
- .bind('selectstart.ui', function() { return false; });
- },
-
- scrollParent: function() {
- var scrollParent;
- if(($.browser.msie && (/(static|relative)/).test(this.css('position'))) || (/absolute/).test(this.css('position'))) {
- scrollParent = this.parents().filter(function() {
- return (/(relative|absolute|fixed)/).test($.curCSS(this,'position',1)) && (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
- }).eq(0);
- } else {
- scrollParent = this.parents().filter(function() {
- return (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
- }).eq(0);
- }
-
- return (/fixed/).test(this.css('position')) || !scrollParent.length ? $(document) : scrollParent;
- }
-});
-
-
-//Additional selectors
-$.extend($.expr[':'], {
- data: function(elem, i, match) {
- return !!$.data(elem, match[3]);
- },
-
- focusable: function(element) {
- var nodeName = element.nodeName.toLowerCase(),
- tabIndex = $.attr(element, 'tabindex');
- return (/input|select|textarea|button|object/.test(nodeName)
- ? !element.disabled
- : 'a' == nodeName || 'area' == nodeName
- ? element.href || !isNaN(tabIndex)
- : !isNaN(tabIndex))
- // the element and all of its ancestors must be visible
- // the browser may report that the area is hidden
- && !$(element)['area' == nodeName ? 'parents' : 'closest'](':hidden').length;
- },
-
- tabbable: function(element) {
- var tabIndex = $.attr(element, 'tabindex');
- return (isNaN(tabIndex) || tabIndex >= 0) && $(element).is(':focusable');
- }
-});
-
-
-// $.widget is a factory to create jQuery plugins
-// taking some boilerplate code out of the plugin code
-function getter(namespace, plugin, method, args) {
- function getMethods(type) {
- var methods = $[namespace][plugin][type] || [];
- return (typeof methods == 'string' ? methods.split(/,?\s+/) : methods);
- }
-
- var methods = getMethods('getter');
- if (args.length == 1 && typeof args[0] == 'string') {
- methods = methods.concat(getMethods('getterSetter'));
- }
- return ($.inArray(method, methods) != -1);
-}
-
-$.widget = function(name, prototype) {
- var namespace = name.split(".")[0];
- name = name.split(".")[1];
-
- // create plugin method
- $.fn[name] = function(options) {
- var isMethodCall = (typeof options == 'string'),
- args = Array.prototype.slice.call(arguments, 1);
-
- // prevent calls to internal methods
- if (isMethodCall && options.substring(0, 1) == '_') {
- return this;
- }
-
- // handle getter methods
- if (isMethodCall && getter(namespace, name, options, args)) {
- var instance = $.data(this[0], name);
- return (instance ? instance[options].apply(instance, args)
- : undefined);
- }
-
- // handle initialization and non-getter methods
- return this.each(function() {
- var instance = $.data(this, name);
-
- // constructor
- (!instance && !isMethodCall &&
- $.data(this, name, new $[namespace][name](this, options))._init());
-
- // method call
- (instance && isMethodCall && $.isFunction(instance[options]) &&
- instance[options].apply(instance, args));
- });
- };
-
- // create widget constructor
- $[namespace] = $[namespace] || {};
- $[namespace][name] = function(element, options) {
- var self = this;
-
- this.namespace = namespace;
- this.widgetName = name;
- this.widgetEventPrefix = $[namespace][name].eventPrefix || name;
- this.widgetBaseClass = namespace + '-' + name;
-
- this.options = $.extend({},
- $.widget.defaults,
- $[namespace][name].defaults,
- $.metadata && $.metadata.get(element)[name],
- options);
-
- this.element = $(element)
- .bind('setData.' + name, function(event, key, value) {
- if (event.target == element) {
- return self._setData(key, value);
- }
- })
- .bind('getData.' + name, function(event, key) {
- if (event.target == element) {
- return self._getData(key);
- }
- })
- .bind('remove', function() {
- return self.destroy();
- });
- };
-
- // add widget prototype
- $[namespace][name].prototype = $.extend({}, $.widget.prototype, prototype);
-
- // TODO: merge getter and getterSetter properties from widget prototype
- // and plugin prototype
- $[namespace][name].getterSetter = 'option';
-};
-
-$.widget.prototype = {
- _init: function() {},
- destroy: function() {
- this.element.removeData(this.widgetName)
- .removeClass(this.widgetBaseClass + '-disabled' + ' ' + this.namespace + '-state-disabled')
- .removeAttr('aria-disabled');
- },
-
- option: function(key, value) {
- var options = key,
- self = this;
-
- if (typeof key == "string") {
- if (value === undefined) {
- return this._getData(key);
- }
- options = {};
- options[key] = value;
- }
-
- $.each(options, function(key, value) {
- self._setData(key, value);
- });
- },
- _getData: function(key) {
- return this.options[key];
- },
- _setData: function(key, value) {
- this.options[key] = value;
-
- if (key == 'disabled') {
- this.element
- [value ? 'addClass' : 'removeClass'](
- this.widgetBaseClass + '-disabled' + ' ' +
- this.namespace + '-state-disabled')
- .attr("aria-disabled", value);
- }
- },
-
- enable: function() {
- this._setData('disabled', false);
- },
- disable: function() {
- this._setData('disabled', true);
- },
-
- _trigger: function(type, event, data) {
- var callback = this.options[type],
- eventName = (type == this.widgetEventPrefix
- ? type : this.widgetEventPrefix + type);
-
- event = $.Event(event);
- event.type = eventName;
-
- // copy original event properties over to the new event
- // this would happen if we could call $.event.fix instead of $.Event
- // but we don't have a way to force an event to be fixed multiple times
- if (event.originalEvent) {
- for (var i = $.event.props.length, prop; i;) {
- prop = $.event.props[--i];
- event[prop] = event.originalEvent[prop];
- }
- }
-
- this.element.trigger(event, data);
-
- return !($.isFunction(callback) && callback.call(this.element[0], event, data) === false
- || event.isDefaultPrevented());
- }
-};
-
-$.widget.defaults = {
- disabled: false
-};
-
-
-/** Mouse Interaction Plugin **/
-
-$.ui.mouse = {
- _mouseInit: function() {
- var self = this;
-
- this.element
- .bind('mousedown.'+this.widgetName, function(event) {
- return self._mouseDown(event);
- })
- .bind('click.'+this.widgetName, function(event) {
- if(self._preventClickEvent) {
- self._preventClickEvent = false;
- event.stopImmediatePropagation();
- return false;
- }
- });
-
- // Prevent text selection in IE
- if ($.browser.msie) {
- this._mouseUnselectable = this.element.attr('unselectable');
- this.element.attr('unselectable', 'on');
- }
-
- this.started = false;
- },
-
- // TODO: make sure destroying one instance of mouse doesn't mess with
- // other instances of mouse
- _mouseDestroy: function() {
- this.element.unbind('.'+this.widgetName);
-
- // Restore text selection in IE
- ($.browser.msie
- && this.element.attr('unselectable', this._mouseUnselectable));
- },
-
- _mouseDown: function(event) {
- // don't let more than one widget handle mouseStart
- // TODO: figure out why we have to use originalEvent
- event.originalEvent = event.originalEvent || {};
- if (event.originalEvent.mouseHandled) { return; }
-
- // we may have missed mouseup (out of window)
- (this._mouseStarted && this._mouseUp(event));
-
- this._mouseDownEvent = event;
-
- var self = this,
- btnIsLeft = (event.which == 1),
- elIsCancel = (typeof this.options.cancel == "string" ? $(event.target).parents().add(event.target).filter(this.options.cancel).length : false);
- if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {
- return true;
- }
-
- this.mouseDelayMet = !this.options.delay;
- if (!this.mouseDelayMet) {
- this._mouseDelayTimer = setTimeout(function() {
- self.mouseDelayMet = true;
- }, this.options.delay);
- }
-
- if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
- this._mouseStarted = (this._mouseStart(event) !== false);
- if (!this._mouseStarted) {
- event.preventDefault();
- return true;
- }
- }
-
- // these delegates are required to keep context
- this._mouseMoveDelegate = function(event) {
- return self._mouseMove(event);
- };
- this._mouseUpDelegate = function(event) {
- return self._mouseUp(event);
- };
- $(document)
- .bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
- .bind('mouseup.'+this.widgetName, this._mouseUpDelegate);
-
- // preventDefault() is used to prevent the selection of text here -
- // however, in Safari, this causes select boxes not to be selectable
- // anymore, so this fix is needed
- ($.browser.safari || event.preventDefault());
-
- event.originalEvent.mouseHandled = true;
- return true;
- },
-
- _mouseMove: function(event) {
- // IE mouseup check - mouseup happened when mouse was out of window
- if ($.browser.msie && !event.button) {
- return this._mouseUp(event);
- }
-
- if (this._mouseStarted) {
- this._mouseDrag(event);
- return event.preventDefault();
- }
-
- if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
- this._mouseStarted =
- (this._mouseStart(this._mouseDownEvent, event) !== false);
- (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event));
- }
-
- return !this._mouseStarted;
- },
-
- _mouseUp: function(event) {
- $(document)
- .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
- .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate);
-
- if (this._mouseStarted) {
- this._mouseStarted = false;
- this._preventClickEvent = (event.target == this._mouseDownEvent.target);
- this._mouseStop(event);
- }
-
- return false;
- },
-
- _mouseDistanceMet: function(event) {
- return (Math.max(
- Math.abs(this._mouseDownEvent.pageX - event.pageX),
- Math.abs(this._mouseDownEvent.pageY - event.pageY)
- ) >= this.options.distance
- );
- },
-
- _mouseDelayMet: function(event) {
- return this.mouseDelayMet;
- },
-
- // These are placeholder methods, to be overriden by extending plugin
- _mouseStart: function(event) {},
- _mouseDrag: function(event) {},
- _mouseStop: function(event) {},
- _mouseCapture: function(event) { return true; }
-};
-
-$.ui.mouse.defaults = {
- cancel: null,
- distance: 1,
- delay: 0
-};
-
-})(jQuery);
15 years, 9 months
JBoss Rich Faces SVN: r13231 - trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-03-26 14:40:32 -0400 (Thu, 26 Mar 2009)
New Revision: 13231
Added:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js
Log:
jQuery UI moved into framework\impl
Copied: trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js (from rev 13218, trunk/ui/colorPicker/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js)
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js (rev 0)
+++ trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/ui.core.js 2009-03-26 18:40:32 UTC (rev 13231)
@@ -0,0 +1,519 @@
+/*
+ * jQuery UI 1.7.1
+ *
+ * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+ *
+ * http://docs.jquery.com/UI
+ */
+;jQuery.ui || (function($) {
+
+var _remove = $.fn.remove,
+ isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
+
+//Helper functions and ui object
+$.ui = {
+ version: "1.7.1",
+
+ // $.ui.plugin is deprecated. Use the proxy pattern instead.
+ plugin: {
+ add: function(module, option, set) {
+ var proto = $.ui[module].prototype;
+ for(var i in set) {
+ proto.plugins[i] = proto.plugins[i] || [];
+ proto.plugins[i].push([option, set[i]]);
+ }
+ },
+ call: function(instance, name, args) {
+ var set = instance.plugins[name];
+ if(!set || !instance.element[0].parentNode) { return; }
+
+ for (var i = 0; i < set.length; i++) {
+ if (instance.options[set[i][0]]) {
+ set[i][1].apply(instance.element, args);
+ }
+ }
+ }
+ },
+
+ contains: function(a, b) {
+ return document.compareDocumentPosition
+ ? a.compareDocumentPosition(b) & 16
+ : a !== b && a.contains(b);
+ },
+
+ hasScroll: function(el, a) {
+
+ //If overflow is hidden, the element might have extra content, but the user wants to hide it
+ if ($(el).css('overflow') == 'hidden') { return false; }
+
+ var scroll = (a && a == 'left') ? 'scrollLeft' : 'scrollTop',
+ has = false;
+
+ if (el[scroll] > 0) { return true; }
+
+ // TODO: determine which cases actually cause this to happen
+ // if the element doesn't have the scroll set, see if it's possible to
+ // set the scroll
+ el[scroll] = 1;
+ has = (el[scroll] > 0);
+ el[scroll] = 0;
+ return has;
+ },
+
+ isOverAxis: function(x, reference, size) {
+ //Determines when x coordinate is over "b" element axis
+ return (x > reference) && (x < (reference + size));
+ },
+
+ isOver: function(y, x, top, left, height, width) {
+ //Determines when x, y coordinates is over "b" element
+ return $.ui.isOverAxis(y, top, height) && $.ui.isOverAxis(x, left, width);
+ },
+
+ keyCode: {
+ BACKSPACE: 8,
+ CAPS_LOCK: 20,
+ COMMA: 188,
+ CONTROL: 17,
+ DELETE: 46,
+ DOWN: 40,
+ END: 35,
+ ENTER: 13,
+ ESCAPE: 27,
+ HOME: 36,
+ INSERT: 45,
+ LEFT: 37,
+ NUMPAD_ADD: 107,
+ NUMPAD_DECIMAL: 110,
+ NUMPAD_DIVIDE: 111,
+ NUMPAD_ENTER: 108,
+ NUMPAD_MULTIPLY: 106,
+ NUMPAD_SUBTRACT: 109,
+ PAGE_DOWN: 34,
+ PAGE_UP: 33,
+ PERIOD: 190,
+ RIGHT: 39,
+ SHIFT: 16,
+ SPACE: 32,
+ TAB: 9,
+ UP: 38
+ }
+};
+
+// WAI-ARIA normalization
+if (isFF2) {
+ var attr = $.attr,
+ removeAttr = $.fn.removeAttr,
+ ariaNS = "http://www.w3.org/2005/07/aaa",
+ ariaState = /^aria-/,
+ ariaRole = /^wairole:/;
+
+ $.attr = function(elem, name, value) {
+ var set = value !== undefined;
+
+ return (name == 'role'
+ ? (set
+ ? attr.call(this, elem, name, "wairole:" + value)
+ : (attr.apply(this, arguments) || "").replace(ariaRole, ""))
+ : (ariaState.test(name)
+ ? (set
+ ? elem.setAttributeNS(ariaNS,
+ name.replace(ariaState, "aaa:"), value)
+ : attr.call(this, elem, name.replace(ariaState, "aaa:")))
+ : attr.apply(this, arguments)));
+ };
+
+ $.fn.removeAttr = function(name) {
+ return (ariaState.test(name)
+ ? this.each(function() {
+ this.removeAttributeNS(ariaNS, name.replace(ariaState, ""));
+ }) : removeAttr.call(this, name));
+ };
+}
+
+//jQuery plugins
+$.fn.extend({
+ remove: function() {
+ // Safari has a native remove event which actually removes DOM elements,
+ // so we have to use triggerHandler instead of trigger (#3037).
+ $("*", this).add(this).each(function() {
+ $(this).triggerHandler("remove");
+ });
+ return _remove.apply(this, arguments );
+ },
+
+ enableSelection: function() {
+ return this
+ .attr('unselectable', 'off')
+ .css('MozUserSelect', '')
+ .unbind('selectstart.ui');
+ },
+
+ disableSelection: function() {
+ return this
+ .attr('unselectable', 'on')
+ .css('MozUserSelect', 'none')
+ .bind('selectstart.ui', function() { return false; });
+ },
+
+ scrollParent: function() {
+ var scrollParent;
+ if(($.browser.msie && (/(static|relative)/).test(this.css('position'))) || (/absolute/).test(this.css('position'))) {
+ scrollParent = this.parents().filter(function() {
+ return (/(relative|absolute|fixed)/).test($.curCSS(this,'position',1)) && (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
+ }).eq(0);
+ } else {
+ scrollParent = this.parents().filter(function() {
+ return (/(auto|scroll)/).test($.curCSS(this,'overflow',1)+$.curCSS(this,'overflow-y',1)+$.curCSS(this,'overflow-x',1));
+ }).eq(0);
+ }
+
+ return (/fixed/).test(this.css('position')) || !scrollParent.length ? $(document) : scrollParent;
+ }
+});
+
+
+//Additional selectors
+$.extend($.expr[':'], {
+ data: function(elem, i, match) {
+ return !!$.data(elem, match[3]);
+ },
+
+ focusable: function(element) {
+ var nodeName = element.nodeName.toLowerCase(),
+ tabIndex = $.attr(element, 'tabindex');
+ return (/input|select|textarea|button|object/.test(nodeName)
+ ? !element.disabled
+ : 'a' == nodeName || 'area' == nodeName
+ ? element.href || !isNaN(tabIndex)
+ : !isNaN(tabIndex))
+ // the element and all of its ancestors must be visible
+ // the browser may report that the area is hidden
+ && !$(element)['area' == nodeName ? 'parents' : 'closest'](':hidden').length;
+ },
+
+ tabbable: function(element) {
+ var tabIndex = $.attr(element, 'tabindex');
+ return (isNaN(tabIndex) || tabIndex >= 0) && $(element).is(':focusable');
+ }
+});
+
+
+// $.widget is a factory to create jQuery plugins
+// taking some boilerplate code out of the plugin code
+function getter(namespace, plugin, method, args) {
+ function getMethods(type) {
+ var methods = $[namespace][plugin][type] || [];
+ return (typeof methods == 'string' ? methods.split(/,?\s+/) : methods);
+ }
+
+ var methods = getMethods('getter');
+ if (args.length == 1 && typeof args[0] == 'string') {
+ methods = methods.concat(getMethods('getterSetter'));
+ }
+ return ($.inArray(method, methods) != -1);
+}
+
+$.widget = function(name, prototype) {
+ var namespace = name.split(".")[0];
+ name = name.split(".")[1];
+
+ // create plugin method
+ $.fn[name] = function(options) {
+ var isMethodCall = (typeof options == 'string'),
+ args = Array.prototype.slice.call(arguments, 1);
+
+ // prevent calls to internal methods
+ if (isMethodCall && options.substring(0, 1) == '_') {
+ return this;
+ }
+
+ // handle getter methods
+ if (isMethodCall && getter(namespace, name, options, args)) {
+ var instance = $.data(this[0], name);
+ return (instance ? instance[options].apply(instance, args)
+ : undefined);
+ }
+
+ // handle initialization and non-getter methods
+ return this.each(function() {
+ var instance = $.data(this, name);
+
+ // constructor
+ (!instance && !isMethodCall &&
+ $.data(this, name, new $[namespace][name](this, options))._init());
+
+ // method call
+ (instance && isMethodCall && $.isFunction(instance[options]) &&
+ instance[options].apply(instance, args));
+ });
+ };
+
+ // create widget constructor
+ $[namespace] = $[namespace] || {};
+ $[namespace][name] = function(element, options) {
+ var self = this;
+
+ this.namespace = namespace;
+ this.widgetName = name;
+ this.widgetEventPrefix = $[namespace][name].eventPrefix || name;
+ this.widgetBaseClass = namespace + '-' + name;
+
+ this.options = $.extend({},
+ $.widget.defaults,
+ $[namespace][name].defaults,
+ $.metadata && $.metadata.get(element)[name],
+ options);
+
+ this.element = $(element)
+ .bind('setData.' + name, function(event, key, value) {
+ if (event.target == element) {
+ return self._setData(key, value);
+ }
+ })
+ .bind('getData.' + name, function(event, key) {
+ if (event.target == element) {
+ return self._getData(key);
+ }
+ })
+ .bind('remove', function() {
+ return self.destroy();
+ });
+ };
+
+ // add widget prototype
+ $[namespace][name].prototype = $.extend({}, $.widget.prototype, prototype);
+
+ // TODO: merge getter and getterSetter properties from widget prototype
+ // and plugin prototype
+ $[namespace][name].getterSetter = 'option';
+};
+
+$.widget.prototype = {
+ _init: function() {},
+ destroy: function() {
+ this.element.removeData(this.widgetName)
+ .removeClass(this.widgetBaseClass + '-disabled' + ' ' + this.namespace + '-state-disabled')
+ .removeAttr('aria-disabled');
+ },
+
+ option: function(key, value) {
+ var options = key,
+ self = this;
+
+ if (typeof key == "string") {
+ if (value === undefined) {
+ return this._getData(key);
+ }
+ options = {};
+ options[key] = value;
+ }
+
+ $.each(options, function(key, value) {
+ self._setData(key, value);
+ });
+ },
+ _getData: function(key) {
+ return this.options[key];
+ },
+ _setData: function(key, value) {
+ this.options[key] = value;
+
+ if (key == 'disabled') {
+ this.element
+ [value ? 'addClass' : 'removeClass'](
+ this.widgetBaseClass + '-disabled' + ' ' +
+ this.namespace + '-state-disabled')
+ .attr("aria-disabled", value);
+ }
+ },
+
+ enable: function() {
+ this._setData('disabled', false);
+ },
+ disable: function() {
+ this._setData('disabled', true);
+ },
+
+ _trigger: function(type, event, data) {
+ var callback = this.options[type],
+ eventName = (type == this.widgetEventPrefix
+ ? type : this.widgetEventPrefix + type);
+
+ event = $.Event(event);
+ event.type = eventName;
+
+ // copy original event properties over to the new event
+ // this would happen if we could call $.event.fix instead of $.Event
+ // but we don't have a way to force an event to be fixed multiple times
+ if (event.originalEvent) {
+ for (var i = $.event.props.length, prop; i;) {
+ prop = $.event.props[--i];
+ event[prop] = event.originalEvent[prop];
+ }
+ }
+
+ this.element.trigger(event, data);
+
+ return !($.isFunction(callback) && callback.call(this.element[0], event, data) === false
+ || event.isDefaultPrevented());
+ }
+};
+
+$.widget.defaults = {
+ disabled: false
+};
+
+
+/** Mouse Interaction Plugin **/
+
+$.ui.mouse = {
+ _mouseInit: function() {
+ var self = this;
+
+ this.element
+ .bind('mousedown.'+this.widgetName, function(event) {
+ return self._mouseDown(event);
+ })
+ .bind('click.'+this.widgetName, function(event) {
+ if(self._preventClickEvent) {
+ self._preventClickEvent = false;
+ event.stopImmediatePropagation();
+ return false;
+ }
+ });
+
+ // Prevent text selection in IE
+ if ($.browser.msie) {
+ this._mouseUnselectable = this.element.attr('unselectable');
+ this.element.attr('unselectable', 'on');
+ }
+
+ this.started = false;
+ },
+
+ // TODO: make sure destroying one instance of mouse doesn't mess with
+ // other instances of mouse
+ _mouseDestroy: function() {
+ this.element.unbind('.'+this.widgetName);
+
+ // Restore text selection in IE
+ ($.browser.msie
+ && this.element.attr('unselectable', this._mouseUnselectable));
+ },
+
+ _mouseDown: function(event) {
+ // don't let more than one widget handle mouseStart
+ // TODO: figure out why we have to use originalEvent
+ event.originalEvent = event.originalEvent || {};
+ if (event.originalEvent.mouseHandled) { return; }
+
+ // we may have missed mouseup (out of window)
+ (this._mouseStarted && this._mouseUp(event));
+
+ this._mouseDownEvent = event;
+
+ var self = this,
+ btnIsLeft = (event.which == 1),
+ elIsCancel = (typeof this.options.cancel == "string" ? $(event.target).parents().add(event.target).filter(this.options.cancel).length : false);
+ if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {
+ return true;
+ }
+
+ this.mouseDelayMet = !this.options.delay;
+ if (!this.mouseDelayMet) {
+ this._mouseDelayTimer = setTimeout(function() {
+ self.mouseDelayMet = true;
+ }, this.options.delay);
+ }
+
+ if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
+ this._mouseStarted = (this._mouseStart(event) !== false);
+ if (!this._mouseStarted) {
+ event.preventDefault();
+ return true;
+ }
+ }
+
+ // these delegates are required to keep context
+ this._mouseMoveDelegate = function(event) {
+ return self._mouseMove(event);
+ };
+ this._mouseUpDelegate = function(event) {
+ return self._mouseUp(event);
+ };
+ $(document)
+ .bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
+ .bind('mouseup.'+this.widgetName, this._mouseUpDelegate);
+
+ // preventDefault() is used to prevent the selection of text here -
+ // however, in Safari, this causes select boxes not to be selectable
+ // anymore, so this fix is needed
+ ($.browser.safari || event.preventDefault());
+
+ event.originalEvent.mouseHandled = true;
+ return true;
+ },
+
+ _mouseMove: function(event) {
+ // IE mouseup check - mouseup happened when mouse was out of window
+ if ($.browser.msie && !event.button) {
+ return this._mouseUp(event);
+ }
+
+ if (this._mouseStarted) {
+ this._mouseDrag(event);
+ return event.preventDefault();
+ }
+
+ if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
+ this._mouseStarted =
+ (this._mouseStart(this._mouseDownEvent, event) !== false);
+ (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event));
+ }
+
+ return !this._mouseStarted;
+ },
+
+ _mouseUp: function(event) {
+ $(document)
+ .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
+ .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate);
+
+ if (this._mouseStarted) {
+ this._mouseStarted = false;
+ this._preventClickEvent = (event.target == this._mouseDownEvent.target);
+ this._mouseStop(event);
+ }
+
+ return false;
+ },
+
+ _mouseDistanceMet: function(event) {
+ return (Math.max(
+ Math.abs(this._mouseDownEvent.pageX - event.pageX),
+ Math.abs(this._mouseDownEvent.pageY - event.pageY)
+ ) >= this.options.distance
+ );
+ },
+
+ _mouseDelayMet: function(event) {
+ return this.mouseDelayMet;
+ },
+
+ // These are placeholder methods, to be overriden by extending plugin
+ _mouseStart: function(event) {},
+ _mouseDrag: function(event) {},
+ _mouseStop: function(event) {},
+ _mouseCapture: function(event) { return true; }
+};
+
+$.ui.mouse.defaults = {
+ cancel: null,
+ distance: 1,
+ delay: 0
+};
+
+})(jQuery);
15 years, 9 months
JBoss Rich Faces SVN: r13230 - trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-03-26 14:21:19 -0400 (Thu, 26 Mar 2009)
New Revision: 13230
Modified:
trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxUtils.js
Log:
https://jira.jboss.org/jira/browse/RF-6600
Modified: trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxUtils.js
===================================================================
--- trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxUtils.js 2009-03-26 18:10:54 UTC (rev 13229)
+++ trunk/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/comboboxUtils.js 2009-03-26 18:21:19 UTC (rev 13230)
@@ -63,15 +63,18 @@
var viewportheight = 0;
- // must be checked in the next prototype release version !!!
+ /*// must be checked in the next prototype release version !!!
if(Richfaces.browser.isIE6) {
var height = (document.compatMode=='CSS1Compat') ? document.documentElement['clientHeight'] : document.body['clientHeigth'];
var scrollHeight = document.viewport.getScrollOffsets().top;
viewportheight = height + scrollHeight;
} else {
viewportheight = document.viewport.getDimensions().height + document.viewport.getScrollOffsets().top;
- }
+ }*/
+ var jqw = jQuery(window);
+ viewportheight = jqw.height() + jqw.scrollTop();
+
return viewportheight;
}
15 years, 9 months
JBoss Rich Faces SVN: r13229 - trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2009-03-26 14:10:54 -0400 (Thu, 26 Mar 2009)
New Revision: 13229
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/FileManager.java
Log:
Loading images from image.jar
Modified: trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/FileManager.java
===================================================================
--- trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/FileManager.java 2009-03-26 17:33:47 UTC (rev 13228)
+++ trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/FileManager.java 2009-03-26 18:10:54 UTC (rev 13229)
@@ -20,356 +20,422 @@
*/
package org.richfaces.realworld.manager;
+import org.jboss.seam.Component;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.AutoCreate;
+import org.jboss.seam.annotations.Create;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.realworld.service.Constants;
+
+import javax.imageio.ImageIO;
+import javax.imageio.ImageReader;
+import javax.imageio.ImageWriter;
+import javax.imageio.stream.ImageInputStream;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.Transparency;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
+import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
-import java.util.List;
+import java.util.Enumeration;
+import java.util.zip.ZipEntry;
+import java.util.jar.JarEntry;
+import java.util.jar.JarFile;
-import javax.imageio.ImageIO;
-import javax.imageio.ImageReader;
-import javax.imageio.ImageWriter;
-import javax.imageio.stream.ImageInputStream;
-
-import org.jboss.seam.Component;
-import org.jboss.seam.ScopeType;
-import org.jboss.seam.annotations.AutoCreate;
-import org.jboss.seam.annotations.Create;
-import org.jboss.seam.annotations.Name;
-import org.jboss.seam.annotations.Scope;
-import org.richfaces.realworld.service.Constants;
-
@Name("fileManager")
@Scope(ScopeType.APPLICATION)
@AutoCreate
public class FileManager {
- private static final String _SMALL160 = "_small160";
- private static final String _SMALL120 = "_small120";
- private static final String _SMALL80 = "_small80";
- private static final String _SMALL200 = "_small200";
- private static final String _MEDIUM = "_medium";
- private static final String _MINI = "_mini";
-
- static final String UPLOAD_ROOT_COMPONENT_NAME = "uploadRoot";
- static final String UPLOAD_ROOT_PATH_COMPONENT_NAME = "uploadRootPath";
+ private static final String _SMALL160 = "_small160";
+ private static final String _SMALL120 = "_small120";
+ private static final String _SMALL80 = "_small80";
+ private static final String _SMALL200 = "_small200";
+ private static final String _MEDIUM = "_medium";
+ private static final String _MINI = "_mini";
- private File uploadRoot;
- private String uploadRootPath;
+ private static final String UPLOAD_ROOT_COMPONENT_NAME = "uploadRoot";
+ private static final String UPLOAD_ROOT_PATH_COMPONENT_NAME = "uploadRootPath";
- //TODO nick - i suggest to hide this from external services at all
- public File getUploadRoot() {
- return uploadRoot;
- }
+ private static final String IMAGE_JAR = "images.jar";
- @Create
- public void create() {
- uploadRoot = (File)Component.getInstance(UPLOAD_ROOT_COMPONENT_NAME, ScopeType.APPLICATION);
- uploadRootPath = (String)Component.getInstance(UPLOAD_ROOT_PATH_COMPONENT_NAME, ScopeType.APPLICATION);
- }
-
- public void setUploadRoot(String uploadRootPath) throws IOException {
- if (uploadRootPath != null) {
- this.uploadRoot = new File(uploadRootPath);
- for (String f : uploadRoot.list()) {
- File temp = new File(uploadRoot, f);
- temp.delete();
- }
- uploadRoot.delete();
- uploadRoot.mkdirs();
- this.uploadRootPath = this.uploadRoot.getCanonicalPath()
- + File.separator;
- } else {
- this.uploadRoot = null;
- this.uploadRootPath = null;
- }
- }
+ private File uploadRoot;
+ private String uploadRootPath;
-
+ //TODO nick - i suggest to hide this from external services at all
+ public File getUploadRoot() {
+ return uploadRoot;
+ }
- private File getFileByPath(String path) {
- if (this.uploadRoot != null) {
- File result = new File(this.uploadRoot, path);
+ @Create
+ public void create() {
+ uploadRoot = (File) Component.getInstance(UPLOAD_ROOT_COMPONENT_NAME, ScopeType.APPLICATION);
+ if (!uploadRoot.exists() && !uploadRoot.mkdir()) {
+ logError("Can't create directory: " + uploadRoot.getName(), null);
+ }
- try {
- String resultCanonicalPath = result.getCanonicalPath();
- if (!resultCanonicalPath.startsWith(this.uploadRootPath)) {
- // TODO log error
- result = null;
- }
+ uploadRootPath = (String) Component.getInstance(UPLOAD_ROOT_PATH_COMPONENT_NAME, ScopeType.APPLICATION);
- return result;
- } catch (IOException e) {
- // TODO: handle exception
- result = null;
- }
+ final JarFile jarFile;
+ try {
+ jarFile = new JarFile(this.getClass().getClassLoader()
+ .getResource("WEB-INF/lib/" + IMAGE_JAR).getPath());
+ } catch (IOException e) {
+ logError(IMAGE_JAR + " not found, please check it in WEB-INF/lib ", e);
+ return;
+ }
- return result;
- }
+ extract(jarFile);
+ }
- return null;
- }
+ private String joinFiles(String... files) {
+ final StringBuilder res = new StringBuilder();
+ for (String file : files) {
+ res.append(file).append(File.pathSeparatorChar);
+ }
- public boolean isDirectoryPresent(String directory) {
- File file = getFileByPath(directory);
- return file.exists() && file.isDirectory();
- }
+ return res.substring(0, res.length() - 1);
+ }
- public void deleteDirectory(String... directories) {
- String directory = new String();
- for (String chunk : directories) {
- directory += chunk + File.separator;
- }
- File file = getFileByPath(directory);
- if (file.exists()) {
- for (String f : file.list()) {
- File temp = new File(file, f);
- temp.delete();
- }
- file.delete();
- }
- }
+ private void logError(String s, Exception e) {
+ if (s != null) {
+ System.out.println(s);
+ }
- public boolean renameDirectory(String directoryOld, String directoryNew) {
- File fileOld = getFileByPath(directoryOld);
- File fileNew = getFileByPath(directoryNew);
+ if (e != null) {
+ e.printStackTrace();
+ }
+ }
- createDirectoryIfNotExist(directoryNew);
- if (fileNew.exists()) {
- if (fileNew.isDirectory()) {
- return false;
- } else {
- fileNew.delete();
- }
- }
- fileOld.renameTo(fileNew);
- return true;
- }
+ public void extract(JarFile jarFile) {
+ final Enumeration<JarEntry> entries = jarFile.entries();
+ while (entries.hasMoreElements()) {
+ final JarEntry jarEntry = entries.nextElement();
+ System.out.println("Extracting file : " + jarEntry.getName());
+ final File tmpFile = new File(joinFiles(uploadRootPath, jarEntry.getName()));
+ if (jarEntry.isDirectory()) {
+ if (!tmpFile.mkdir()) {
+ logError("Can't create directory: " + tmpFile.getName(), null);
+ return;
+ }
+ } else {
+ extractEntryFile(jarFile, jarEntry, tmpFile);
+ }
+ }
+ }
- public void addDirectory(String... directories) {
- String directory = new String();
- for (String chunk : directories) {
- directory += chunk;
- }
- File file = getFileByPath(directory);
- file.mkdirs();
- }
+ private void extractEntryFile(JarFile jarFile, ZipEntry jarEntry, File tmpFile) {
+ try {
+ final InputStream in = jarFile.getInputStream(jarEntry);
+ final FileOutputStream out = new FileOutputStream(tmpFile);
- public boolean addImage(String fileName, String tempFilePath) {
- createDirectoryIfNotExist(fileName);
- writeFile(fileName, tempFilePath, _SMALL80, 80, true);
- writeFile(fileName, tempFilePath, _SMALL120, 120, true);
- writeFile(fileName, tempFilePath, _SMALL160, 160, true);
- writeFile(fileName, tempFilePath, _SMALL200, 200, true);
- writeFile(fileName, tempFilePath, _MINI, 150, true);
- writeFile(fileName, tempFilePath, _MEDIUM, 600, true);
- return true;
- }
+ int readedBytes = in.read();
+ while (readedBytes != -1) {
+ out.write(readedBytes);
+ readedBytes = in.read();
+ }
- public static BufferedImage bitmapToImage(String data, String format) throws IOException {
- InputStream inb = new FileInputStream(data);
- ImageReader rdr = (ImageReader) ImageIO.getImageReadersByFormatName(format).next();
- ImageInputStream imageInput = ImageIO.createImageInputStream(inb);
- rdr.setInput(imageInput);
- BufferedImage image = rdr.read(0);
- inb.close();
- return image;
- }
+ out.close();
+ in.close();
+ } catch (FileNotFoundException e) {
+ logError(e.getMessage(), e);
+ } catch (IOException e) {
+ logError(e.getMessage(), e);
+ }
+ }
- public static void imageToBitmap(BufferedImage image, String data, String format) throws IOException {
- OutputStream inb = new FileOutputStream(data);
- ImageWriter wrt = (ImageWriter) ImageIO.getImageWritersByFormatName(format).next();
- ImageInputStream imageInput = ImageIO.createImageOutputStream(inb);
- wrt.setOutput(imageInput);
- wrt.write(image);
- inb.close();
- }
+ public void setUploadRoot(String uploadRootPath) throws IOException {
+ if (uploadRootPath != null) {
+ this.uploadRoot = new File(uploadRootPath);
+ for (String f : uploadRoot.list()) {
+ final File temp = new File(uploadRoot, f);
+ temp.delete();
+ }
+ uploadRoot.delete();
+ uploadRoot.mkdirs();
+ this.uploadRootPath = this.uploadRoot.getCanonicalPath() + File.separator;
+ } else {
+ this.uploadRoot = null;
+ this.uploadRootPath = null;
+ }
+ }
- /**
- * Convenience method that returns a scaled instance of the
- * provided {@code BufferedImage}.
- *
- * @param img the original image to be scaled
- * @param targetWidth the desired width of the scaled instance,
- * in pixels
- * @param targetHeight the desired height of the scaled instance,
- * in pixels
- * @param hint one of the rendering hints that corresponds to
- * {@code RenderingHints.KEY_INTERPOLATION} (e.g.
- * {@code RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR},
- * {@code RenderingHints.VALUE_INTERPOLATION_BILINEAR},
- * {@code RenderingHints.VALUE_INTERPOLATION_BICUBIC})
- * @param higherQuality if true, this method will use a multi-step
- * scaling technique that provides higher quality than the usual
- * one-step technique (only useful in downscaling cases, where
- * {@code targetWidth} or {@code targetHeight} is
- * smaller than the original dimensions, and generally only when
- * the {@code BILINEAR} hint is specified)
- * @return a scaled version of the original {@code BufferedImage}
- */
- public static BufferedImage getScaledInstance(BufferedImage img,
- int targetWidth,
- int targetHeight,
- Object hint,
- boolean higherQuality)
- {
- int type = (img.getTransparency() == Transparency.OPAQUE) ?
- BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB;
- BufferedImage ret = (BufferedImage)img;
- int w, h;
- if (higherQuality) {
- // Use multi-step technique: start with original size, then
- // scale down in multiple passes with drawImage()
- // until the target size is reached
- w = img.getWidth();
- h = img.getHeight();
- } else {
- // Use one-step technique: scale directly from original
- // size to target size with a single drawImage() call
- w = targetWidth;
- h = targetHeight;
- }
- do {
- if (higherQuality && w > targetWidth) {
- w /= 2;
- if (w < targetWidth) {
- w = targetWidth;
- }
- }
+ private File getFileByPath(String path) {
+ if (this.uploadRoot != null) {
+ File result = new File(this.uploadRoot, path);
- if (higherQuality && h > targetHeight) {
- h /= 2;
- if (h < targetHeight) {
- h = targetHeight;
- }
- }
+ try {
+ final String resultCanonicalPath = result.getCanonicalPath();
+ if (!resultCanonicalPath.startsWith(this.uploadRootPath)) {
+ // TODO log error
+ result = null;
+ }
+ return result;
+ } catch (IOException e) {
+ // TODO: handle exception
+ result = null;
+ }
- BufferedImage tmp = new BufferedImage(w, h, type);
- Graphics2D g2 = tmp.createGraphics();
- g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION, hint);
- g2.drawImage(ret, 0, 0, w, h, null);
- g2.dispose();
+ return result;
+ }
- ret = tmp;
- } while (w != targetWidth || h != targetHeight);
+ return null;
+ }
- return ret;
- }
-
- public void writeFile(String newFileName, String fileName,String pattern, int size, boolean includeUploadRoot) {
- BufferedImage bsrc =null;
- try {
- bsrc = bitmapToImage(fileName, "JPG");
- } catch (IOException e1) {
- // TODO Auto-generated catch block
- e1.printStackTrace();
- }
- int i = bsrc.getWidth() > bsrc.getHeight()? bsrc.getWidth(): bsrc.getHeight();
- double d = (double) size
- / i;
- Double yy = ((Double)d*bsrc.getWidth());
- int width = yy.intValue();
- yy = ((Double)d*bsrc.getHeight());
- int height= yy.intValue();
- BufferedImage bdest = getScaledInstance(bsrc, width, height, RenderingHints.VALUE_INTERPOLATION_BICUBIC, true);
- String dest = includeUploadRoot? this.uploadRootPath + transformPath(newFileName, pattern) : transformPath(newFileName, pattern);
- try {
- imageToBitmap(bdest, dest, "JPG");
- } catch (IOException ex) {
- // TODO Auto-generated catch block
- ex.printStackTrace();
- }
- }
+ public boolean isDirectoryPresent(String directory) {
+ final File file = getFileByPath(directory);
+ return file.exists() && file.isDirectory();
+ }
- public String transformPath(String target, String substitute) {
- String begin = target.substring(0, target.lastIndexOf(Constants.DOT));
- String end = target.substring(target.lastIndexOf(Constants.DOT));
- return begin + substitute + end;
- }
+ public void deleteDirectory(String... directories) {
+ final File file = getFileByPath(joinFiles(directories).toString());
+ if (file.exists()) {
+ for (String f : file.list()) {
+ final File temp = new File(file, f);
+ temp.delete();
+ }
+ file.delete();
+ }
+ }
- public void deleteImage(String fileName) {
- deleteImage(getFileByPath(fileName));
- deleteImage(getFileByPath(transformPath(fileName, _MINI)));
- deleteImage(getFileByPath(transformPath(fileName, _MEDIUM)));
- deleteImage(getFileByPath(transformPath(fileName, _SMALL80)));
- deleteImage(getFileByPath(transformPath(fileName, _SMALL120)));
- deleteImage(getFileByPath(transformPath(fileName, _SMALL160)));
- }
+ public boolean renameDirectory(String directoryOld, String directoryNew) {
+ final File fileOld = getFileByPath(directoryOld);
+ final File fileNew = getFileByPath(directoryNew);
- private void deleteImage(File file) {
- if (file.exists()) {
- file.delete();
- }
- }
+ createDirectoryIfNotExist(directoryNew);
+ if (fileNew.exists()) {
+ if (fileNew.isDirectory()) {
+ return false;
+ } else {
+ fileNew.delete();
+ }
+ }
+ fileOld.renameTo(fileNew);
+ return true;
+ }
- public String getPathOfImage(String path) {
- int i = path.lastIndexOf(Constants.SLASH);
- return path.substring(i);
- }
+ public void addDirectory(String... directories) {
+ final StringBuilder directory = new StringBuilder();
+ for (String chunk : directories) {
+ directory.append(chunk);
+ }
- public void renameImage(String fileNameOld, String fileNameNew) {
- createDirectoryIfNotExist(fileNameNew);
- renameImage(getFileByPath(fileNameNew), getFileByPath(fileNameOld));
-
- renameImage(getFileByPath(transformPath(fileNameNew, _MINI)),
- getFileByPath(transformPath(fileNameOld, _MINI)));
-
- renameImage(getFileByPath(transformPath(fileNameNew, _MEDIUM)),
- getFileByPath(transformPath(fileNameOld, _MEDIUM)));
-
- renameImage(getFileByPath(transformPath(fileNameNew, _SMALL80)),
- getFileByPath(transformPath(fileNameOld, _SMALL80)));
-
- renameImage(getFileByPath(transformPath(fileNameNew, _SMALL120)),
- getFileByPath(transformPath(fileNameOld, _SMALL120)));
-
- renameImage(getFileByPath(transformPath(fileNameNew, _SMALL160)),
- getFileByPath(transformPath(fileNameOld, _SMALL160)));
- }
+ final File file = getFileByPath(directory.toString());
+ file.mkdirs();
+ }
- private void renameImage(File fileNew, File fileOld) {
- if (fileNew.exists()) {
- fileNew.delete();
- }
- fileOld.renameTo(fileNew);
- }
+ public boolean addImage(String fileName, String tempFilePath) {
+ createDirectoryIfNotExist(fileName);
+ writeFile(fileName, tempFilePath, _SMALL80, 80, true);
+ writeFile(fileName, tempFilePath, _SMALL120, 120, true);
+ writeFile(fileName, tempFilePath, _SMALL160, 160, true);
+ writeFile(fileName, tempFilePath, _MINI, 150, true);
+ writeFile(fileName, tempFilePath, _MEDIUM, 600, true);
+ return true;
+ }
- private void createDirectoryIfNotExist(String fileNameNew) {
- int lastIndexOf = fileNameNew.lastIndexOf("/");
- if (lastIndexOf > 0) {
- String directory = fileNameNew.substring(0, lastIndexOf);
- File file = getFileByPath(directory);
- if (!file.exists()) {
- file.mkdirs();
- }
- }
- }
+ public static BufferedImage bitmapToImage(String data, String format) throws IOException {
+ final InputStream inb = new FileInputStream(data);
+ final ImageReader rdr = ImageIO.getImageReadersByFormatName(format).next();
+ final ImageInputStream imageInput = ImageIO.createImageInputStream(inb);
+ rdr.setInput(imageInput);
+ final BufferedImage image = rdr.read(0);
+ inb.close();
+ return image;
+ }
- public boolean isImagePresent(String fileName) {
- return getFileByPath(fileName) != null && getFileByPath(fileName).exists() && !getFileByPath(fileName).isDirectory();
- }
+ public static void imageToBitmap(BufferedImage image, String data, String format) throws IOException {
+ final OutputStream inb = new FileOutputStream(data);
+ final ImageWriter wrt = ImageIO.getImageWritersByFormatName(format).next();
+ final ImageInputStream imageInput = ImageIO.createImageOutputStream(inb);
+ wrt.setOutput(imageInput);
+ wrt.write(image);
+ inb.close();
+ }
- public File getImage(String fileName) {
- if (isImagePresent(fileName)) {
- return getFileByPath(fileName);
- }
- return null;
- }
-
- public File getImageFile(String fileName) {
- return new File(fileName);
- }
+ /**
+ * Convenience method that returns a scaled instance of the
+ * provided {@code BufferedImage}.
+ *
+ * @param img the original image to be scaled
+ * @param targetWidth the desired width of the scaled instance,
+ * in pixels
+ * @param targetHeight the desired height of the scaled instance,
+ * in pixels
+ * @param hint one of the rendering hints that corresponds to
+ * {@code RenderingHints.KEY_INTERPOLATION} (e.g.
+ * {@code RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR},
+ * {@code RenderingHints.VALUE_INTERPOLATION_BILINEAR},
+ * {@code RenderingHints.VALUE_INTERPOLATION_BICUBIC})
+ * @param higherQuality if true, this method will use a multi-step
+ * scaling technique that provides higher quality than the usual
+ * one-step technique (only useful in downscaling cases, where
+ * {@code targetWidth} or {@code targetHeight} is
+ * smaller than the original dimensions, and generally only when
+ * the {@code BILINEAR} hint is specified)
+ * @return a scaled version of the original {@code BufferedImage}
+ */
+ public static BufferedImage getScaledInstance(BufferedImage img,
+ int targetWidth,
+ int targetHeight,
+ Object hint,
+ boolean higherQuality) {
+ final int type = img.getTransparency() == Transparency.OPAQUE ?
+ BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB;
+ BufferedImage ret = (BufferedImage) img;
+ int w;
+ int h;
+ if (higherQuality) {
+ // Use multi-step technique: start with original size, then
+ // scale down in multiple passes with drawImage()
+ // until the target size is reached
+ w = img.getWidth();
+ h = img.getHeight();
+ } else {
+ // Use one-step technique: scale directly from original
+ // size to target size with a single drawImage() call
+ w = targetWidth;
+ h = targetHeight;
+ }
- public void deleteDirectories(List<String> directoriesToDelete) {
- for (String directory : directoriesToDelete) {
- deleteDirectory(directory);
- }
- }
-}
+ do {
+ if (higherQuality && w > targetWidth) {
+ w /= 2;
+ if (w < targetWidth) {
+ w = targetWidth;
+ }
+ }
+
+ if (higherQuality && h > targetHeight) {
+ h /= 2;
+ if (h < targetHeight) {
+ h = targetHeight;
+ }
+ }
+
+ final BufferedImage tmp = new BufferedImage(w, h, type);
+ final Graphics2D g2 = tmp.createGraphics();
+ g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION, hint);
+ g2.drawImage(ret, 0, 0, w, h, null);
+ g2.dispose();
+
+ ret = tmp;
+ } while (w != targetWidth || h != targetHeight);
+
+ return ret;
+ }
+
+ public void writeFile(String newFileName, String fileName, String pattern, int size, boolean includeUploadRoot) {
+ BufferedImage bsrc = null;
+ try {
+ bsrc = bitmapToImage(fileName, "JPG");
+ } catch (IOException e1) {
+ // TODO Auto-generated catch block
+ e1.printStackTrace();
+ }
+ final int i = bsrc.getWidth() > bsrc.getHeight() ? bsrc.getWidth() : bsrc.getHeight();
+ final double d = ((double) size) / i;
+ final int width = (int) d * bsrc.getWidth();
+ final int height = (int) d * bsrc.getHeight();
+ final BufferedImage bdest = getScaledInstance(bsrc, width, height, RenderingHints.VALUE_INTERPOLATION_BICUBIC, true);
+ final String dest = includeUploadRoot ? this.uploadRootPath + transformPath(newFileName, pattern) : transformPath(newFileName, pattern);
+ try {
+ imageToBitmap(bdest, dest, "JPG");
+ } catch (IOException ex) {
+ // TODO Auto-generated catch block
+ ex.printStackTrace();
+ }
+ }
+
+ public String transformPath(String target, String substitute) {
+ final String begin = target.substring(0, target.lastIndexOf(Constants.DOT));
+ final String end = target.substring(target.lastIndexOf(Constants.DOT));
+ return begin + substitute + end;
+ }
+
+ public void deleteImage(String fileName) {
+ deleteImage(getFileByPath(fileName));
+ deleteImage(getFileByPath(transformPath(fileName, _MINI)));
+ deleteImage(getFileByPath(transformPath(fileName, _MEDIUM)));
+ deleteImage(getFileByPath(transformPath(fileName, _SMALL80)));
+ deleteImage(getFileByPath(transformPath(fileName, _SMALL120)));
+ deleteImage(getFileByPath(transformPath(fileName, _SMALL160)));
+ }
+
+ private void deleteImage(File file) {
+ if (file.exists()) {
+ file.delete();
+ }
+ }
+
+ public String getPathOfImage(String path) {
+ final int i = path.lastIndexOf(Constants.SLASH);
+ return path.substring(i);
+ }
+
+ public void renameImage(String fileNameOld, String fileNameNew) {
+ createDirectoryIfNotExist(fileNameNew);
+ renameImage(getFileByPath(fileNameNew), getFileByPath(fileNameOld));
+
+ renameImage(getFileByPath(transformPath(fileNameNew, _MINI)),
+ getFileByPath(transformPath(fileNameOld, _MINI)));
+
+ renameImage(getFileByPath(transformPath(fileNameNew, _MEDIUM)),
+ getFileByPath(transformPath(fileNameOld, _MEDIUM)));
+
+ renameImage(getFileByPath(transformPath(fileNameNew, _SMALL80)),
+ getFileByPath(transformPath(fileNameOld, _SMALL80)));
+
+ renameImage(getFileByPath(transformPath(fileNameNew, _SMALL120)),
+ getFileByPath(transformPath(fileNameOld, _SMALL120)));
+
+ renameImage(getFileByPath(transformPath(fileNameNew, _SMALL160)),
+ getFileByPath(transformPath(fileNameOld, _SMALL160)));
+ }
+
+ private void renameImage(File fileNew, File fileOld) {
+ if (fileNew.exists()) {
+ fileNew.delete();
+ }
+ fileOld.renameTo(fileNew);
+ }
+
+ private void createDirectoryIfNotExist(String fileNameNew) {
+ final int lastIndexOf = fileNameNew.lastIndexOf('/');
+ if (lastIndexOf > 0) {
+ final String directory = fileNameNew.substring(0, lastIndexOf);
+ final File file = getFileByPath(directory);
+ if (!file.exists()) {
+ file.mkdirs();
+ }
+ }
+ }
+
+ public boolean isImagePresent(String fileName) {
+ return getFileByPath(fileName) != null && getFileByPath(fileName).exists() && !getFileByPath(fileName).isDirectory();
+ }
+
+ public File getImage(String fileName) {
+ if (isImagePresent(fileName)) {
+ return getFileByPath(fileName);
+ }
+ return null;
+ }
+
+ public File getImageFile(String fileName) {
+ return new File(fileName);
+ }
+
+ public void deleteDirectories(Iterable<String> directoriesToDelete) {
+ for (String directory : directoriesToDelete) {
+ deleteDirectory(directory);
+ }
+ }
+}
\ No newline at end of file
15 years, 9 months
JBoss Rich Faces SVN: r13228 - trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-03-26 13:33:47 -0400 (Thu, 26 Mar 2009)
New Revision: 13228
Modified:
trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss
trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss
Log:
https://jira.jboss.org/jira/browse/RF-6509
Modified: trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss 2009-03-26 17:14:41 UTC (rev 13227)
+++ trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended.xcss 2009-03-26 17:33:47 UTC (rev 13228)
@@ -113,11 +113,11 @@
</u:style>
</u:selector>
- <u:selector name="*|textarea[disabled]">
+ <u:selector name="*|textarea[disabled], *|select[disabled]">
<u:style name="color" skin="panelBorderColor" />
</u:selector>
- <u:selector name="textarea[type="textarea"][disabled], input[type="text"][disabled], input[type="password"][disabled]">
+ <u:selector name="textarea[type="textarea"][disabled], input[type="text"][disabled], input[type="password"][disabled], select[disabled]">
<u:style name="color" skin="panelBorderColor" />
</u:selector>
Modified: trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss
===================================================================
--- trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss 2009-03-26 17:14:41 UTC (rev 13227)
+++ trunk/ui/core/src/main/resources/org/richfaces/renderkit/html/css/extended_classes.xcss 2009-03-26 17:33:47 UTC (rev 13228)
@@ -146,13 +146,14 @@
</u:style>
</u:selector>
- <u:selector name=".rich-container *|textarea[disabled]">
+ <u:selector name=".rich-container *|textarea[disabled], .rich-container *|select[disabled]">
<u:style name="color" skin="panelBorderColor" />
</u:selector>
-
- <u:selector name=".rich-textarea-disabled, .rich-container textarea[type="textarea"][disabled], .rich-textarea-textarea-disabled,
+
+ <u:selector name=".rich-textarea-disabled, .rich-container textarea[type="textarea"][disabled], .rich-textarea-textarea-disabled,
.rich-container input[type="text"][disabled], .rich-input-text-disabled,
- .rich-container input[type="password"][disabled], .rich-input-password-disabled">
+ .rich-container input[type="password"][disabled], .rich-input-password-disabled,
+ .rich-container select[disabled], .rich-select-disabled">
<u:style name="color" skin="panelBorderColor" />
</u:selector>
</f:template>
\ No newline at end of file
15 years, 9 months
JBoss Rich Faces SVN: r13227 - Reports/3.3.1 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-03-26 13:14:41 -0400 (Thu, 26 Mar 2009)
New Revision: 13227
Modified:
trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
Log:
7 new issues
Modified: trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13226 - Reports/3.3.1 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-03-26 12:43:02 -0400 (Thu, 26 Mar 2009)
New Revision: 13226
Modified:
trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13225 - Reports/3.3.1 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-03-26 12:40:07 -0400 (Thu, 26 Mar 2009)
New Revision: 13225
Modified:
trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13224 - in trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload: Noname/5 and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2009-03-26 12:26:58 -0400 (Thu, 26 Mar 2009)
New Revision: 13224
Removed:
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203015_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203034_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203036_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203043_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203049_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203052_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203053_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203054_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203058_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203066_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203067_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203071_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203072_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203073_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203076_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/23048_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400003_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400033_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400048_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400081_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/479031_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/balloon_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/hghjump_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn01_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn04_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn29_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn39_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn64_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/sa28_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/swimmer_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/1_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/2_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/3_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400018_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400036_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400069_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400076_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400083_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/4_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/5_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/6_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/7_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/church_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/pinn71_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/pinn82_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184023_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184030_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184031_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184033_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184034_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184035_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184038_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184040_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184044_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184046_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184047_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184053_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184057_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184063_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184069_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184072_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184077_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184078_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184079_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/400000_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/067_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/10005_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400004_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400008_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400027_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400028_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400034_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400035_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400063_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400095_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/deer_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/dog2_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/pinn40_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/pinn51_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/turtle_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132000_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132022_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132051_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132059_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132060_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132071_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132074_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132078_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/142011_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/142039_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/167049_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/167055_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/400010_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/400073_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/403011_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45000_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45001_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45002_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45003_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45004_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45005_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45006_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45009_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45010_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45012_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45013_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45014_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45016_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45017_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45018_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45019_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45020_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45021_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45022_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45023_mini.jpg
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45024_mini.jpg
Log:
Delete mini images
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203015_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203034_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203036_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203043_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203049_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203052_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203053_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203054_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203058_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203066_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203067_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203071_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203072_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203073_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/2/203076_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/23048_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400003_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400033_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400048_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/400081_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/479031_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/balloon_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/hghjump_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn01_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn04_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn29_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn39_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/pinn64_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/sa28_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Noname/5/swimmer_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/1_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/2_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/3_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400018_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400036_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400069_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400076_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/400083_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/4_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/5_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/6_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/7_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/church_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/pinn71_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/1/pinn82_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184023_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184030_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184031_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184033_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184034_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184035_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184038_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184040_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184044_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184046_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184047_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184053_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184057_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184063_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184069_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184072_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184077_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184078_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/184079_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/Viking/4/400000_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/067_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/10005_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400004_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400008_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400027_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400028_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400034_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400035_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400063_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/400095_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/deer_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/dog2_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/pinn40_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/pinn51_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/0/turtle_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132000_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132022_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132051_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132059_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132060_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132071_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132074_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/132078_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/142011_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/142039_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/167049_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/167055_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/400010_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/400073_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/3/403011_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45000_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45001_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45002_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45003_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45004_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45005_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45006_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45009_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45010_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45012_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45013_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45014_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45016_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45017_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45018_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45019_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45020_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45021_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45022_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45023_mini.jpg
===================================================================
(Binary files differ)
Deleted: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/Upload/amarkhel/6/45024_mini.jpg
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13223 - trunk/ui/colorPicker/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2009-03-26 12:02:30 -0400 (Thu, 26 Mar 2009)
New Revision: 13223
Modified:
trunk/ui/colorPicker/src/main/config/component/colorPicker.xml
Log:
https://jira.jboss.org/jira/browse/RF-6559 - unnecessary attributes are hidden
Modified: trunk/ui/colorPicker/src/main/config/component/colorPicker.xml
===================================================================
--- trunk/ui/colorPicker/src/main/config/component/colorPicker.xml 2009-03-26 15:51:43 UTC (rev 13222)
+++ trunk/ui/colorPicker/src/main/config/component/colorPicker.xml 2009-03-26 16:02:30 UTC (rev 13223)
@@ -60,5 +60,29 @@
&ui_component_attributes;
&html_events;
&ui_input_attributes;
+
+ <property hidden="true">
+ <name>valid</name>
+ <classname>boolean</classname>
+ <description>
+ valid
+ </description>
+ </property>
+ <property hidden="true">
+ <name>required</name>
+ <classname>boolean</classname>
+ <description>If "true", this component is checked for non-empty input</description>
+ </property>
+ <property hidden="true">
+ <name>requiredMessage</name>
+ <classname>java.lang.String</classname>
+ <description>A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used</description>
+ </property>
+ <property hidden="true">
+ <name>localValueSet</name>
+ <classname>boolean</classname>
+ <description>localValueSet</description>
+ </property>
</component>
</components>
+
\ No newline at end of file
15 years, 9 months