JBoss Rich Faces SVN: r1985 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-08-01 12:23:15 -0400 (Wed, 01 Aug 2007)
New Revision: 1985
Modified:
trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml
trunk/docs/userguide/en/src/main/resources/images/virtualEarth.png
trunk/docs/userguide/en/src/main/resources/images/virtualEarth1.png
Log:
http://jira.jboss.com/jira/browse/RF-458
Modified: trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml 2007-08-01 16:23:13 UTC (rev 1984)
+++ trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.xml 2007-08-01 16:23:15 UTC (rev 1985)
@@ -113,9 +113,25 @@
dashboardSize="Normal" zoom="11" mapStyle="Hybrid" var="map" />
...
]]></programlisting>
+
+ <para>To set all these parameters and perform some activity (Zoom In/Out etc.) is possible with
+ your JavaScript, i.e. declare a name of an object on a <property>map</property> in the <emphasis>
+ <property>"var"</property>
+ </emphasis> attribute and then call the object directly with API <emphasis><property>Microsoft Virtual Earth map</property>.</emphasis></para>
+ <para>For example, to approximate a map for <emphasis>
+ <property>"var"</property>
+ </emphasis>= <property>"map"</property> declared inside the component, call
+ map.ZoomIn() on an event.</para>
+ <para>Moreover, to add e.g. some JavaScript effects, events defined on it are used.</para>
+ <itemizedlist>
+ <listitem> onmouseover </listitem>
+ <listitem> onclick </listitem>
+ <listitem> onmouseout </listitem>
+ <listitem> etc. </listitem>
+ </itemizedlist>
</section>
- <!--section>
+ <section>
<title>Look-and-Feel Customization</title>
<para><property>Virtual Earth map</property> component isn't tied to skin parameters, as there is no
additional elements on it, except the ones provided with <emphasis><property>Virtual Earth map</property>.</emphasis></para>
@@ -125,7 +141,7 @@
<para>rich-virtualEarth map is a predefined style class for the map. It's possible to define some
standard properties for all <property>maps</property> components on a page (padding, border,
etc.) with the definition of the component.</para>
- </section-->
+ </section>
<section>
<title>Relevant resources links</title>
<para>
Modified: trunk/docs/userguide/en/src/main/resources/images/virtualEarth.png
===================================================================
(Binary files differ)
Modified: trunk/docs/userguide/en/src/main/resources/images/virtualEarth1.png
===================================================================
(Binary files differ)
16 years, 8 months
JBoss Rich Faces SVN: r1984 - trunk/ui/tree/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: A.Skokov
Date: 2007-08-01 12:23:13 -0400 (Wed, 01 Aug 2007)
New Revision: 1984
Modified:
trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent
Log:
http://jira.jboss.com/jira/browse/RF-495
Modified: trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent
===================================================================
--- trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent 2007-08-01 16:06:23 UTC (rev 1983)
+++ trunk/ui/tree/src/main/config/component/commonTreeAttributes.ent 2007-08-01 16:23:13 UTC (rev 1984)
@@ -25,9 +25,15 @@
<classname>java.lang.String</classname>
<description>Corresponds to the HTML class attribute. Applied to highlighted node</description>
</property>
-
<property>
<name>reRender</name>
<classname>java.lang.Object</classname>
<description>Id[s] (in format of call UIComponent.findComponent()) of components, rendered in case of AjaxRequest caused by this component. Can be single id, comma-separated list of Ids, or EL Expression with array or Collection</description>
</property>
+ <property>
+ <name>ignoreDupResponses</name>
+ <classname>boolean</classname>
+ <description>
+ If "true", unfinished request will be aborted on new event
+ </description>
+ </property>
16 years, 8 months
JBoss Rich Faces SVN: r1983 - in trunk/sandbox/ui/calendar/src/main: resources/org/richfaces/renderkit/html/scripts and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-08-01 12:06:23 -0400 (Wed, 01 Aug 2007)
New Revision: 1983
Modified:
trunk/sandbox/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
trunk/sandbox/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
fixes
Modified: trunk/sandbox/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- trunk/sandbox/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-08-01 15:33:18 UTC (rev 1982)
+++ trunk/sandbox/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-08-01 16:06:23 UTC (rev 1983)
@@ -130,11 +130,11 @@
}
String selectedDateString = (String) requestParameterMap.get(clientId
- + "InputSelectedDate");
- if (selectedDateString != null) {
+ + "InputDate");
+ if ( selectedDateString != null) {
((UICalendar) component).setSubmittedValue(selectedDateString);
}
- }
+ }
public void encodeChildren(FacesContext context, UIComponent calendar)
throws IOException {
Modified: trunk/sandbox/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/sandbox/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-01 15:33:18 UTC (rev 1982)
+++ trunk/sandbox/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-01 16:06:23 UTC (rev 1983)
@@ -1039,10 +1039,11 @@
CalendarView = {};
CalendarView.getControl = function(text, functionName) {
var attr = {
- onclick: (functionName ? "Richfaces.invokeOnComponent('richfaces:calendar',this,'"+functionName+"');" : "")+"return false;"
+ onclick: (functionName ? "Richfaces.invokeOnComponent('richfaces:calendar',this,'"+functionName+"');" : "")+"return false;",
+ className: "calendar_btn"
};
- return new E('span',attr,[new T(text)]);
+ return new E('div',attr,[new T(text)]);
};
CalendarView.nextYearControl = CalendarView.getControl(">>", "nextYear");
@@ -1061,11 +1062,11 @@
[
new E('tr',{},
[
- new E('td',{'class': 'calendar_tool calendar_btn'},
+ new E('td',{'class': 'calendar_tool'},
[
new ET(function (context) { return Richfaces.evalMacro("previousYearControl", context)})
]),
- new E('td',{'class': 'calendar_tool calendar_btn'},
+ new E('td',{'class': 'calendar_tool'},
[
new ET(function (context) { return Richfaces.evalMacro("previousMonthControl", context)})
]),
@@ -1073,11 +1074,11 @@
[
new ET(function (context) { return Richfaces.evalMacro("currentMonthControl", context)})
]),
- new E('td',{'class': 'calendar_tool calendar_btn'},
+ new E('td',{'class': 'calendar_tool'},
[
new ET(function (context) { return Richfaces.evalMacro("nextMonthControl", context)})
]),
- new E('td',{'class': 'calendar_tool calendar_btn'},
+ new E('td',{'class': 'calendar_tool'},
[
new ET(function (context) { return Richfaces.evalMacro("nextYearControl", context)})
])
@@ -1093,15 +1094,15 @@
[
new E('tr',{},
[
- new E('td',{'class': 'calendar_toolfooter calendar_btn', 'style': 'white-space:nowrap'},
+ new E('td',{'class': 'calendar_toolfooter', 'style': 'white-space:nowrap'},
[
new ET(function (context) { return Richfaces.evalMacro("selectedDateControl", context)})
]),
- new E('td',{'class': 'calendar_toolfooter calendar_btn', 'width': '100%'},
+ new E('td',{'class': 'calendar_toolfooter', 'width': '100%'},
[
new ET(function (context) { return Richfaces.evalMacro("helpControl", context)})
]),
- new E('td',{'class': 'calendar_toolfooter calendar_btn', 'align': 'right'},
+ new E('td',{'class': 'calendar_toolfooter', 'align': 'right'},
[
new ET(function (context) { return Richfaces.evalMacro("todayControl", context)})
])
Modified: trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-08-01 15:33:18 UTC (rev 1982)
+++ trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-08-01 16:06:23 UTC (rev 1983)
@@ -68,6 +68,7 @@
> <input
x:passThruWithExclusions="name"
id="#{clientId}InputDate"
+ name="#{clientId}InputDate"
value="#{this:getInputValue(context,component)}"
type="text"
readonly="#{component.attributes['readonly']}"
16 years, 8 months
JBoss Rich Faces SVN: r1982 - trunk/sandbox/ui/calendar/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-08-01 11:33:18 -0400 (Wed, 01 Aug 2007)
New Revision: 1982
Modified:
trunk/sandbox/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
Log:
TODO tasks were made
Modified: trunk/sandbox/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
===================================================================
--- trunk/sandbox/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2007-08-01 13:56:53 UTC (rev 1981)
+++ trunk/sandbox/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2007-08-01 15:33:18 UTC (rev 1982)
@@ -64,7 +64,7 @@
private static final String COMPONENT_FAMILY = "org.richfaces.Calendar";
private final static Log log = LogFactory.getLog(UICalendar.class);
-
+
public abstract Locale getLocale();
public abstract void setLocale(Locale locale);
@@ -170,13 +170,15 @@
} else {
setCurrentDate(currentDate);
}
+
} catch (Exception e) {
setValid(false);
//XXX nick - kaa - add log.debug(...)
if (log.isDebugEnabled()) {
- log.debug(" updateCurrentDate method throws exception: "+e.getMessage(),e);
+ log.debug(" updateCurrentDate method throws exception: "+e.toString(),e);
}
- String messageString = e.getMessage();
+ e.printStackTrace();
+ String messageString = e.toString();
FacesMessage message = new FacesMessage(messageString);
message.setSeverity(FacesMessage.SEVERITY_ERROR);
context.addMessage(getClientId(context), message);
@@ -287,28 +289,28 @@
// method
// for more
- //TODO nick - kaa - throw exception and review resulting message :)
- //throw new NullPointerException();
-
+ //XX nick - kaa - throw exception and review resulting message :)
+
Date currentDate = convertCurrentDate(currentDateString);
CurrentDateChangeEvent newDateChangeEvent = new CurrentDateChangeEvent(
this, currentDate);
newDateChangeEvent.queue();
- } catch (Exception e) {
+
+ } catch (Exception e) {
// XXX nick - kaa - add log.debug(...)
// XXX nick - kaa - we should stop processing on exc.
// setValid(false) and then call
// FacesContext.renderResponse(...)
// update model phase shouldn't start
if (log.isDebugEnabled()) {
- log.debug(" currentDate convertion fails with following exception: "+e.getMessage(),e);
+ log.debug(" currentDate convertion fails with following exception: "+e.toString(),e);
}
setValid(false);
- String messageString = e.getMessage();
- FacesMessage message = new FacesMessage(messageString);
+ String messageString = e.toString();
+ e.printStackTrace();
+ FacesMessage message = new FacesMessage(messageString);
message.setSeverity(FacesMessage.SEVERITY_ERROR);
- facesContext.addMessage(getClientId(facesContext),
- message);
+ facesContext.addMessage(getClientId(facesContext),message);
facesContext.renderResponse();
}
16 years, 8 months
JBoss Rich Faces SVN: r1981 - trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-08-01 09:56:53 -0400 (Wed, 01 Aug 2007)
New Revision: 1981
Modified:
trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
Log:
Updated with latest skin
Modified: trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
===================================================================
--- trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss 2007-08-01 13:37:41 UTC (rev 1980)
+++ trunk/sandbox/ui/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss 2007-08-01 13:56:53 UTC (rev 1981)
@@ -1,36 +1,10 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<f:template
- xmlns:f="http://jsf.exadel.com/template"
- xmlns:u="http://jsf.exadel.com/template/util"
- xmlns="http://www.w3.org/1999/xhtml">
-
-/*
- XPTable
-*/
-
-<u:selector name=".dr-sgrid-sort-asc">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/images/sort_asc.gif"/>
- </u:style>
-</u:selector>
-
-<u:selector name=".dr-sgrid-sort-desc">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/images/sort_desc.gif"/>
- </u:style>
-</u:selector>
-
-<u:selector name=".dr-sgrid-hsep">
- <u:style name="background-image">
- <f:resource f:key="/org/richfaces/renderkit/html/images/grid-split.gif"/>
- </u:style>
-</u:selector>
-
-<f:verbatim>
-
-<![CDATA[
-.dr-sgrid-sort-asc, .dr-sgrid-sort-desc {
+.dr-sgrid-sort-asc{
+background-image: url(/scrollable-grid-demo/a4j.res/org/richfaces/renderkit/html/images/sort_asc.gif.jsf);}
+.dr-sgrid-sort-desc{
+background-image: url(/scrollable-grid-demo/a4j.res/org/richfaces/renderkit/html/images/sort_desc.gif.jsf);}
+.dr-sgrid-hsep{
+background-image: url(/scrollable-grid-demo/a4j.res/org/richfaces/renderkit/html/images/grid-split.gif.jsf);}.dr-sgrid-sort-asc, .dr-sgrid-sort-desc {
width: 16px;
height: 6px;
background-position: 50% 50%;
@@ -43,12 +17,11 @@
}
.dr-sgrid {
- font: menu;
- background-color: white;
+ background-color: #ffffff;/*tableBackgroundColor*/
padding: 0px 0px;
margin: 0px;
- border-collapse: collapse;
z-index:0;
+ border : 1px solid #C0C0C0; /*tableBorderWidth, tableBorderColor*/
}
/**
@@ -61,7 +34,7 @@
* Header row
*/
.dr-sgrid-hr {
- background-color: #ebeadb;
+ background-color: #4A75B5;/*headerBackgroundColor*/
z-index:2;
}
@@ -72,7 +45,10 @@
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
- font: normal 8pt arial;
+ color : #FFFFFF;/*headerTextColor*/
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
cursor: default;
box-sizing: border-box;
-moz-box-sizing: border-box;
@@ -80,8 +56,8 @@
-moz-user-focus: normal;
padding: 0px 0px;
white-space: nowrap;
- border-bottom: 1px solid #cbc7b8;
- border-right: 1px solid #ebeadb;
+ border-bottom: 1px solid #C0C0C0; /*tableBorderWidth, tableBorderColor*/
+ border-right: 1px solid #C0C0C0; /*tableBorderWidth, tableBorderColor*/
}
.dr-sgrid-hc .sort-asc, .dr-sgrid-hc .sort-desc {
@@ -112,7 +88,7 @@
}
.dr-sgrid-hsplit {
width:1px;
- border-right:1px dashed #6593cf;
+ border-right:1px dashed #E5973E; /*tipBorderColor*/
cursor: col-resize;
z-index: 100;
}
@@ -122,13 +98,15 @@
*/
.dr-sgrid-hcbody {
cursor: default;
- padding: 0px 0px;
+ padding: 3px 5px;
white-space: nowrap;
position: relative;
display: block;
overflow: hidden;
width: 100%;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
}
.dr-sgrid-fb{
@@ -148,8 +126,10 @@
* Footer row
*/
.dr-sgrid-fr {
- background-color: #fcfaf6;
- font: normal 8pt arial;
+ background-color: #F1F1F1; /*tableSubfooterBackgroundColor*/
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
height: 22px;
border-top: 1px solid #cbc7b8;
}
@@ -161,13 +141,15 @@
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
cursor: default;
box-sizing: border-box;
-moz-box-sizing: border-box;
-moz-outline: none;
-moz-user-focus: normal;
- border-right: 1px solid #f1efe2;
+ border-right: 1px solid #c0c0c0; /*tableBorderColor*/
height:21px !important;
padding: 0px 0px;
white-space: nowrap;
@@ -178,7 +160,9 @@
*/
.dr-sgrid-fcbody {
cursor: default;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
padding: 3px 5px;
white-space: nowrap;
position: relative;
@@ -188,7 +172,9 @@
.dr-sgrid-fcbody1{
cursor: default;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
padding: 0px 0px;
white-space: nowrap;
position: relative;
@@ -214,8 +200,8 @@
-moz-outline: none;
-moz-user-focus: normal;
cursor: default;
- border-right: 1px solid #f1efe2;
- border-bottom: 1px solid #f1efe2;
+ border-right: 1px solid #C0C0C0; /*tableBorderColor*/
+ border-bottom: 1px solid #C0C0C0; /*tableBorderColor*/
}
/**
@@ -228,23 +214,27 @@
}
.dr-sgrid-rb {
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
white-space: nowrap;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.dr-sgrid-row-selected {
- background-color: #DDDDFF;
+ background-color: #EAF0F8; /*additionalBackgroundColor*/
}
.dr-sgrid-row-active {
- color : #0000AA;
+ background-color: #C6D6EA; /*C6D6EA*/
}
.dr-sgrid-bcbody {
cursor: default;
- font: normal 8pt arial;
+ font-weight: normal;
+ font-family: arial; /*generalFamilyFont*/
+ font-size: 11px; /*generalSizeFont*/
white-space: nowrap;
padding: 0px 0px;
position: relative;
@@ -279,7 +269,4 @@
position: relative;
display: block;
overflow: hidden;
-}
-]]>
- </f:verbatim>
-</f:template>
\ No newline at end of file
+}
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r1980 - trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-08-01 09:37:41 -0400 (Wed, 01 Aug 2007)
New Revision: 1980
Modified:
trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-527 fixed
Modified: trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
===================================================================
--- trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2007-08-01 13:34:04 UTC (rev 1979)
+++ trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2007-08-01 13:37:41 UTC (rev 1980)
@@ -29,7 +29,6 @@
import javax.faces.component.UIComponent;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
-import javax.servlet.ServletContext;
import org.ajax4jsf.renderkit.AjaxComponentRendererBase;
import org.ajax4jsf.renderkit.ComponentVariables;
@@ -86,7 +85,6 @@
//TODO nick - add messages
public void checkOptions(FacesContext context, UIModalPanel panel) {
- ServletContext servletContext = (ServletContext)context.getExternalContext().getContext();
if (panel.getMinHeight() != -1) {
if (panel.getMinHeight() < sizeA) {
throw new IllegalArgumentException();
16 years, 8 months
JBoss Rich Faces SVN: r1979 - trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-08-01 09:34:04 -0400 (Wed, 01 Aug 2007)
New Revision: 1979
Modified:
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanelBorders.js
Log:
Bug RF-483 fixed
(http://jira.jboss.com/jira/browse/RF-483)
Modified: trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
--- trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2007-08-01 13:32:38 UTC (rev 1978)
+++ trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2007-08-01 13:34:04 UTC (rev 1979)
@@ -39,7 +39,7 @@
while (i < ModalPanel.panels.length) {
var panel = ModalPanel.panels[i];
- var elt = panel.markerId;
+ var elt = $(panel.markerId);
if (!Richfaces.isNodeInDOMTree(elt)) {
panel.destroy();
@@ -70,11 +70,11 @@
},
width: function() {
- return this.cdiv.offsetWidth;
+ return $(this.cdiv).offsetWidth;
},
height: function() {
- return this.cdiv.offsetHeight;
+ return $(this.cdiv).offsetHeight;
}
}
@@ -92,9 +92,9 @@
ModalPanel.prototype = {
initialize: function(id, options) {
- this.markerId = $(id);
+ this.markerId = id;
- this.id = $(id + "Container");
+ this.id = id + "Container";
this.options = options;
@@ -103,11 +103,11 @@
this.minWidth = Math.max(this.options.minWidth, 2*sizeA + 2);
this.minHeight = Math.max(this.options.minHeight, 2*sizeA + 2);
- this.div = $(id + "Div");
- this.cursorDiv = $(id + "CursorDiv");
- this.cdiv = $(id + "CDiv");
- this.contentDiv = $(id + "ContentDiv");
- this.shadowDiv = $(id + "ShadowDiv");
+ this.div = id + "Div";
+ this.cursorDiv = id + "CursorDiv";
+ this.cdiv = id + "CDiv";
+ this.contentDiv = id + "ContentDiv";
+ this.shadowDiv = id + "ShadowDiv";
this.context = new ModalPanel.Context(this);
@@ -132,24 +132,28 @@
this.header = new ModalPanel.Border(id + "Header", this, "move", ModalPanel.Header);
}
- this.id.modalPanel = this;
+ $(this.id).modalPanel = this;
+
+ var eDiv = $(this.div);
+ if (eDiv.style.setExpression)
+ if (ModalPanel.disableSelects /* IE 6 */ || Richfaces.getComputedStyle(eDiv, "position") != "fixed" /* IE again, not in strict mode*/)
- if (this.div.style.setExpression)
- if (ModalPanel.disableSelects /* IE 6 */ || Richfaces.getComputedStyle(this.div, "position") != "fixed" /* IE again, not in strict mode*/)
-
{
- this.div.style.position = "absolute";
- this.cursorDiv.style.position = "absolute";
+ eDiv.style.position = "absolute";
+
+ var eCursorDiv = $(this.cursorDiv);
+ eCursorDiv.style.position = "absolute";
//that is to apply filter
- this.div.style.width = "1px";
- this.div.style.height = "1px";
- this.cursorDiv.style.width = "1px";
- this.cursorDiv.style.height = "1px";
+ eDiv.style.width = "1px";
+ eDiv.style.height = "1px";
+ eCursorDiv.style.width = "1px";
+ eCursorDiv.style.height = "1px";
- this.cdiv.style.position = "absolute";
+ var eCdiv = $(this.cdiv);
+ eCdiv.style.position = "absolute";
- this.cdiv.mpUseExpr = true;
+ eCdiv.mpUseExpr = true;
}
if (this.options.onshow && this.options.onshow != ""){
@@ -165,8 +169,8 @@
this.eventFirstOnfocus = this.firstOnfocus.bindAsEventListener(this);
this.eventLastOnfocus = this.lastOnfocus.bindAsEventListener(this);
- this.firstHref = $(this.markerId.id + "FirstHref");
- this.lastHref = $(this.markerId.id + "LastHref");
+ this.firstHref = this.markerId + "FirstHref";
+ this.lastHref = this.markerId + "LastHref";
},
destroy: function() {
@@ -174,9 +178,10 @@
this.traverseSelects(true);
if (this.floatedToBody) {
- var parent = this.id.parentNode;
+ var element = $(this.id);
+ var parent = element.parentNode;
if (parent) {
- parent.removeChild(this.id);
+ parent.removeChild(element);
}
}
},
@@ -208,9 +213,10 @@
}
var children = document.body.childNodes;
+ var element = $(this.id);
for (var k = 0; k < children.length; k++) {
var child = children[k];
- if (child != this.id && child.getElementsByTagName) {
+ if (child != element && child.getElementsByTagName) {
var selects = child.getElementsByTagName("SELECT");
@@ -250,30 +256,34 @@
},
setLeft: function(pos) {
- if (this.cdiv.mpUseExpr) {
- this.cdiv.mpLeft = pos;
+ var eCdiv = $(this.cdiv);
+ if (eCdiv.mpUseExpr) {
+ eCdiv.mpLeft = pos;
} else {
- this.cdiv.style.left = pos + "px";
+ eCdiv.style.left = pos + "px";
}
},
setTop: function(pos) {
- if (this.cdiv.mpUseExpr) {
- this.cdiv.mpTop = pos;
+ var eCdiv = $(this.cdiv);
+ if (eCdiv.mpUseExpr) {
+ eCdiv.mpTop = pos;
} else {
- this.cdiv.style.top = pos + "px";
+ eCdiv.style.top = pos + "px";
}
},
firstOnfocus: function(event) {
- if (this.firstHref) {
- this.firstHref.focus();
+ var e = $(this.firstHref)
+ if (e) {
+ e.focus();
}
},
lastOnfocus: function(event) {
- if (this.lastHref) {
- this.lastHref.focus();
+ var e = $(this.lastHref);
+ if (e) {
+ e.focus();
}
},
@@ -285,14 +295,14 @@
!/^none$/.test(root.style.display)) {
this.execute(root);
} else {
- if (root == this.cdiv)
+ if (root.id && root.id==this.cdiv)
this.inModalPanel = true;
var child = root.firstChild;
while (child) {
this.processAllFocusElements(child);
child = child.nextSibling;
}
- if (root == this.cdiv)
+ if (root.id && root.id==this.cdiv)
this.inModalPanel = false;
}
},
@@ -351,13 +361,15 @@
show: function(opts) {
this.preventFocus();
+ var element = $(this.id);
if (!this.floatedToBody) {
- this.parent = this.id.parentNode;
- document.body.insertBefore(this.parent.removeChild(this.id), null);
+ this.parent = element.parentNode;
+ document.body.insertBefore(this.parent.removeChild(element), null);
this.floatedToBody = true;
}
- var forms = this.cdiv.getElementsByTagName("form");
+ var eCdiv = $(this.cdiv);
+ var forms = eCdiv.getElementsByTagName("form");
if (this.options.keepVisualState && forms) {
this.formOnsubmit = this.setStateInput.bindAsEventListener(this);
@@ -366,23 +378,26 @@
}
}
+ var eIframe;
if (ModalPanel.disableSelects && !this.iframe) {
- new Insertion.Top(this.cdiv,
- "<iframe src=\"javascript:''\" frameborder=\"0\" scrolling=\"no\" id=\"" + this.markerId.id + "IFrame\"" +
+ new Insertion.Top(eCdiv,
+ "<iframe src=\"javascript:''\" frameborder=\"0\" scrolling=\"no\" id=\"" + this.markerId + "IFrame\"" +
"style=\"position: absolute; width: 1px; height: 1px; background-color: white; overflow-y: hidden; z-index: 1;\">" +
"</iframe>");
- this.iframe = $(this.markerId.id + "IFrame");
+ this.iframe = this.markerId + "IFrame";
+
+ eIframe = $(this.iframe);
- //alert("IFrame:" + this.iframe + "created!");
+ //alert("IFrame:" + eIframe + "created!");
- this.iframe.onload = this.initIframe.bind(this.iframe);
+ eIframe.onload = this.initIframe.bind(eIframe);
}
var options = {};
this.userOptions = {};
- if (!this.cdiv.mpSet) {
+ if (!eCdiv.mpSet) {
Object.extend(options, this.options);
}
@@ -390,17 +405,20 @@
Object.extend(options, opts);
Object.extend(this.userOptions, opts);
}
+
+ var eContentDiv = $(this.contentDiv);
+ var eShadowDiv = $(this.shadowDiv);
if (options.width) {
if (this.minWidth > options.width) {
options.width = this.minWidth;
}
- if (this.iframe) {
- this.iframe.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
+ if (eIframe) {
+ eIframe.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
}
- this.contentDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
- this.shadowDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
+ eContentDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
+ eShadowDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
}
if (options.height) {
@@ -408,11 +426,11 @@
options.height = this.minHeight;
}
- if (this.iframe) {
- this.iframe.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
+ if (eIframe) {
+ eIframe.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
}
- this.contentDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
- this.shadowDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
+ eContentDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
+ eShadowDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
}
if (options.left) {
@@ -422,9 +440,9 @@
} else {
var cw = getSizeElement().clientWidth;
if (RichFaces.navigatorType() == "OPERA")
- _left = (cw - this.contentDiv.style.width.replace("px", "")) / 2;
+ _left = (cw - eContentDiv.style.width.replace("px", "")) / 2;
else
- _left = (cw - Richfaces.getComputedStyleSize(this.contentDiv, "width")) / 2;
+ _left = (cw - Richfaces.getComputedStyleSize(eContentDiv, "width")) / 2;
}
@@ -437,49 +455,51 @@
_top = parseInt(options.top, 10);
} else {
var cw = getSizeElement().clientHeight;
- _top = (cw - Richfaces.getComputedStyleSize(this.contentDiv, "height")) / 2;
+ _top = (cw - Richfaces.getComputedStyleSize(eContentDiv, "height")) / 2;
}
this.setTop(_top);
}
- this.cdiv.mpSet = true;
+ eCdiv.mpSet = true;
//Element.setStyle(this.dialogWindow.document.body, { "margin" : "0px 0px 0px 0px" });
//if("transparent" == Element.getStyle(document.body, "background-color")) {
- // this.iframe.allowTransparency = true;
+ // eIframe.allowTransparency = true;
//}
this.traverseSelects();
- //this.shape.init(this.cdiv, this.options);
+ //this.shape.init(eCdiv, this.options);
- if (this.div.style.position == "absolute")
+ var eDiv = $(this.div);
+ if (eDiv.style.position == "absolute")
{
var we = "getSizeElement().clientWidth + \"px\"";
var he = "getSizeElement().clientHeight + \"px\"";
- this.div.style.setExpression("width", we);
- this.div.style.setExpression("height", he);
+ eDiv.style.setExpression("width", we);
+ eDiv.style.setExpression("height", he);
- this.cursorDiv.style.setExpression("width", we);
- this.cursorDiv.style.setExpression("height", he);
+ var eCursorDiv = $(this.cursorDiv);
+ eCursorDiv.style.setExpression("width", we);
+ eCursorDiv.style.setExpression("height", he);
var le = "-Position.cumulativeOffset(this.parentNode)[0] + getSizeElement().scrollLeft + \"px\"";
var te = "-Position.cumulativeOffset(this.parentNode)[1] + getSizeElement().scrollTop + \"px\"";
- this.div.style.setExpression("left", le);
- this.div.style.setExpression("top", te);
+ eDiv.style.setExpression("left", le);
+ eDiv.style.setExpression("top", te);
- this.cursorDiv.style.setExpression("left", le);
- this.cursorDiv.style.setExpression("top", te);
+ eCursorDiv.style.setExpression("left", le);
+ eCursorDiv.style.setExpression("top", te);
var leftExpr = "(this.mpLeft || 0) + -Position.cumulativeOffset(this.parentNode)[0] + getSizeElement().scrollLeft + \"px\"";
var topExpr = "(this.mpTop || 0) + -Position.cumulativeOffset(this.parentNode)[1] + getSizeElement().scrollTop + \"px\"";
- this.cdiv.style.setExpression("left", leftExpr);
- this.cdiv.style.setExpression("top", topExpr);
+ eCdiv.style.setExpression("left", leftExpr);
+ eCdiv.style.setExpression("top", topExpr);
/* That's how we output debug info - DOM inspector rulez */
@@ -492,9 +512,9 @@
/* */
}
- this.id.style.visibility = "hidden";
+ element.style.visibility = "hidden";
- Element.show(this.id);
+ Element.show(element);
this.doResizeOrMove(ModalPanel.Sizer.Diff.EMPTY);
@@ -506,7 +526,7 @@
this.header.doPosition();
}
- this.id.style.visibility = "";
+ element.style.visibility = "";
var event = {};
event.parameters = opts || {};
@@ -535,28 +555,34 @@
this.traverseSelects(true);
- if (this.div.style.removeExpression) {
- this.div.style.removeExpression("width");
- this.div.style.removeExpression("height");
+ var eDiv = $(this.div);
+ var eCdiv = $(this.cdiv);
- this.div.style.removeExpression("left");
- this.div.style.removeExpression("top");
+ if (eDiv.style.removeExpression) {
+ eDiv.style.removeExpression("width");
+ eDiv.style.removeExpression("height");
- this.cursorDiv.style.removeExpression("width");
- this.cursorDiv.style.removeExpression("height");
+ eDiv.style.removeExpression("left");
+ eDiv.style.removeExpression("top");
- this.cursorDiv.style.removeExpression("left");
- this.cursorDiv.style.removeExpression("top");
+ var eCursorDiv = $(this.cursorDiv);
+ eCursorDiv.style.removeExpression("width");
+ eCursorDiv.style.removeExpression("height");
- this.cdiv.style.removeExpression("left");
- this.cdiv.style.removeExpression("top");
+ eCursorDiv.style.removeExpression("left");
+ eCursorDiv.style.removeExpression("top");
+
+ eCdiv.style.removeExpression("left");
+ eCdiv.style.removeExpression("top");
}
- Element.hide(this.id);
+ var element = $(this.id);
+ Element.hide(element);
if (this.floatedToBody && this.parent) {
- document.body.removeChild(this.id);
- this.parent.appendChild(this.id);
+
+ document.body.removeChild(element);
+ this.parent.appendChild(element);
this.floatedToBody = false;
}
@@ -564,7 +590,7 @@
event.parameters = opts || {};
if (this.eventOnHide) this.eventOnHide(event);
- var forms = this.cdiv.getElementsByTagName("form");
+ var forms = eCdiv.getElementsByTagName("form");
if (this.options.keepVisualState && forms) {
for (var i = 0; i < forms.length; i++) {
Event.stopObserving(forms[i], "submit", this.formOnsubmit);
@@ -581,11 +607,15 @@
var vetoeChange = false;
var newSize;
+
+ var eContentDiv = $(this.contentDiv);
+ var eShadowDiv = $(this.shadowDiv);
+
// Avoid currentStyle bug in opera
if (RichFaces.navigatorType() != "OPERA")
- newSize = Richfaces.getComputedStyleSize(this.contentDiv, "width");
+ newSize = Richfaces.getComputedStyleSize(eContentDiv, "width");
else
- newSize = parseInt(this.contentDiv.style.width.replace("px", ""), 10);
+ newSize = parseInt(eContentDiv.style.width.replace("px", ""), 10);
var oldSize = newSize;
newSize += diff.deltaWidth || 0;
@@ -607,26 +637,28 @@
if (vetoes.vx && diff.deltaX) {
diff.deltaX = -vetoes.vx;
}
+
+ var eCdiv = $(this.cdiv);
if (diff.deltaX && (vetoes.vx || !vetoes.x)) {
if (vetoes.vx) {
diff.deltaX = vetoes.vx;
}
var newPos;
- if (this.cdiv.mpUseExpr) {
- newPos = this.cdiv.mpLeft || 0;
+ if (eCdiv.mpUseExpr) {
+ newPos = eCdiv.mpLeft || 0;
newPos += diff.deltaX;
- this.cdiv.mpLeft = newPos;
+ eCdiv.mpLeft = newPos;
cssHash.left = newPos + 'px';
} else {
- newPos = Richfaces.getComputedStyleSize(this.cdiv, "left");
+ newPos = Richfaces.getComputedStyleSize(eCdiv, "left");
newPos += diff.deltaX;
cssHash.left = newPos + 'px';
}
}
- var newSize = Richfaces.getComputedStyleSize(this.contentDiv, "height");
+ var newSize = Richfaces.getComputedStyleSize(eContentDiv, "height");
var oldSize = newSize;
newSize += diff.deltaHeight || 0;
@@ -654,25 +686,25 @@
}
var newPos;
- if (this.cdiv.mpUseExpr) {
- newPos = this.cdiv.mpTop || 0;
+ if (eCdiv.mpUseExpr) {
+ newPos = eCdiv.mpTop || 0;
newPos += diff.deltaY;
- this.cdiv.mpTop = newPos;
+ eCdiv.mpTop = newPos;
cssHash.top = newPos + 'px';
} else {
- newPos = Richfaces.getComputedStyleSize(this.cdiv, "top");
+ newPos = Richfaces.getComputedStyleSize(eCdiv, "top");
newPos += diff.deltaY;
cssHash.top = newPos + 'px';
}
}
- Element.setStyle(this.cdiv, cssHash);
+ Element.setStyle(eCdiv, cssHash);
- Element.setStyle(this.contentDiv, cssHashWH);
- Element.setStyle(this.shadowDiv, cssHashWH);
+ Element.setStyle(eContentDiv, cssHashWH);
+ Element.setStyle(eShadowDiv, cssHashWH);
if (this.iframe) {
- Element.setStyle(this.iframe, cssHashWH);
+ Element.setStyle($(this.iframe), cssHashWH);
}
Object.extend(this.userOptions, cssHash);
@@ -708,8 +740,8 @@
if (e && target) {
var input = document.createElement("input");
input.type = "hidden";
- input.id = this.markerId.id + "OpenedState";
- input.name = this.markerId.id + "OpenedState";
+ input.id = this.markerId + "OpenedState";
+ input.name = this.markerId + "OpenedState";
input.value = this.shown ? "true" : "false";
target.appendChild(input);
@@ -718,8 +750,8 @@
for (var i = 0; i < keys.length; i++) {
input = document.createElement("input");
input.type = "hidden";
- input.id = this.markerId.id + "StateOption_" + keys[i];
- input.name = this.markerId.id + "StateOption_" + keys[i];
+ input.id = this.markerId + "StateOption_" + keys[i];
+ input.name = this.markerId + "StateOption_" + keys[i];
input.value = this.userOptions[keys[i]];
target.appendChild(input);
@@ -738,7 +770,7 @@
for (var i = 0; i < ModalPanel.panels.length; i++ ) {
var pnl = ModalPanel.panels[i];
if (pnl && pnl.markerId) {
- var pnlId = pnl.markerId.id;
+ var pnlId = pnl.markerId;
if (pnlId) {
//try to match ids
@@ -757,7 +789,7 @@
Richfaces.showModalPanel = function (id, opts) {
var panel = $(id + "Container");
if (!panel) {
- panel = Richfaces.findModalPanel(id);
+ panel = $(Richfaces.findModalPanel(id));
}
panel.modalPanel.show(opts);
}
@@ -765,7 +797,7 @@
Richfaces.hideModalPanel = function (id, opts) {
var panel = $(id + "Container");
if (!panel) {
- panel = Richfaces.findModalPanel(id);
+ panel = $(Richfaces.findModalPanel(id));
}
panel.modalPanel.hide(opts);
}
Modified: trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanelBorders.js
===================================================================
--- trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanelBorders.js 2007-08-01 13:32:38 UTC (rev 1978)
+++ trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanelBorders.js 2007-08-01 13:34:04 UTC (rev 1979)
@@ -2,10 +2,11 @@
ModalPanel.Border.prototype = {
initialize: function(id, modalPanel, cursor, sizer) {
- this.id = $(id);
- this.id.style.cursor = cursor;
+ this.id = id;
+ var element = $(id);
+ element.style.cursor = cursor;
- this.id.onmousedown = this.startDrag.bindAsEventListener(this);
+ $(id).onmousedown = this.startDrag.bindAsEventListener(this);
this.modalPanel = modalPanel;
this.sizer = sizer;
@@ -31,8 +32,9 @@
Event.observe(document, 'mousemove', this.boundDoDrag);
Event.observe(document, 'mouseup', this.boundEndDrag);
- this.modalPanel.cursorDiv.style.cursor = this.id.style.cursor;
- this.modalPanel.cursorDiv.style.zIndex = 8;
+ var eCursorDiv = $(this.modalPanel.cursorDiv);
+ eCursorDiv.style.cursor = $(this.id).style.cursor;
+ eCursorDiv.style.zIndex = 8;
this.modalPanel.startDrag(this);
@@ -102,13 +104,13 @@
this.modalPanel.endDrag(this);
this.modalPanel.doResizeOrMove(ModalPanel.Sizer.Diff.EMPTY);
- this.modalPanel.cursorDiv.style.zIndex = -200;
+ $(this.modalPanel.cursorDiv).style.zIndex = -200;
document.onselectstart = this.onselectStartHandler;
},
doPosition: function() {
- this.sizer.doPosition(this.modalPanel, this.id);
+ this.sizer.doPosition(this.modalPanel, $(this.id));
}
};
16 years, 8 months
JBoss Rich Faces SVN: r1978 - trunk/samples.
by richfaces-svn-commits@lists.jboss.org
Author: dbiatenia
Date: 2007-08-01 09:32:38 -0400 (Wed, 01 Aug 2007)
New Revision: 1978
Modified:
trunk/samples/pom.xml
Log:
added /ui/core dependency
Modified: trunk/samples/pom.xml
===================================================================
--- trunk/samples/pom.xml 2007-08-01 12:43:20 UTC (rev 1977)
+++ trunk/samples/pom.xml 2007-08-01 13:32:38 UTC (rev 1978)
@@ -64,6 +64,11 @@
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>core</artifactId>
+ <version>3.1.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
<groupId>com.sun.facelets</groupId>
<artifactId>jsf-facelets</artifactId>
<version>1.1.12</version>
16 years, 8 months
JBoss Rich Faces SVN: r1976 - trunk/ui/dataFilterSlider/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculous-js-1.6.5/src.
by richfaces-svn-commits@lists.jboss.org
Author: A.Skokov
Date: 2007-08-01 08:39:07 -0400 (Wed, 01 Aug 2007)
New Revision: 1976
Modified:
trunk/ui/dataFilterSlider/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculous-js-1.6.5/src/slider.js
Log:
NumberFormatExeption fixed
Modified: trunk/ui/dataFilterSlider/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculous-js-1.6.5/src/slider.js
===================================================================
--- trunk/ui/dataFilterSlider/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculous-js-1.6.5/src/slider.js 2007-08-01 12:25:50 UTC (rev 1975)
+++ trunk/ui/dataFilterSlider/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculous-js-1.6.5/src/slider.js 2007-08-01 12:39:07 UTC (rev 1976)
@@ -63,7 +63,7 @@
// Allowed values array
this.allowedValues = this.options.values ? this.options.values.sortBy(Prototype.K) : false;
- if(this.allowedValues) {
+ if (this.allowedValues && this.allowedValues.length > 0) {
this.minimum = this.allowedValues.min();
this.maximum = this.allowedValues.max();
}
@@ -105,7 +105,7 @@
this.disabled = false;
},
getNearestValue: function(value){
- if(this.allowedValues){
+ if (this.allowedValues && this.allowedValues.length > 0) {
if(value >= this.allowedValues.max()) return(this.allowedValues.max());
if(value <= this.allowedValues.min()) return(this.allowedValues.min());
@@ -120,9 +120,13 @@
});
return newValue;
}
- if(value > this.range.end) return this.range.end;
- if(value < this.range.start) return this.range.start;
- return value;
+ if(value > this.range.end) {
+ return this.range.end;
+ } else if(value < this.range.start) {
+ return this.range.start;
+ } else {
+ return parseInt(value);
+ }
},
setValue: function(sliderValue, handleIdx){
if(!this.active) {
@@ -261,7 +265,7 @@
this.event = event;
this.setValue(this.translateToValue( this.isVertical() ? pointer[1] : pointer[0] ));
if(this.initialized && this.options.onSlide)
- this.options.onSlide(this.values.length>1 ? this.values : this.value, this);
+ this.options.onSlide(this.values.length>1 ? this.values : this.values[0], this);
},
endDrag: function(event) {
if(this.active && this.dragging) {
@@ -278,7 +282,7 @@
},
updateFinished: function() {
if(this.initialized && this.options.onChange)
- this.options.onChange(this.values.length>1 ? this.values : this.value, this);
+ this.options.onChange(this.values.length>1 ? this.values : this.values[0], this);
this.event = null;
}
}
\ No newline at end of file
16 years, 8 months