JBoss Rich Faces SVN: r4157 - in trunk/ui/modal-panel/src/main: java/org/richfaces/renderkit and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-21 14:04:08 -0500 (Wed, 21 Nov 2007)
New Revision: 4157
Modified:
trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
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
trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
Log:
remove onresizing, onbefareshow events, fix onshow,onresize, onmove events
Modified: trunk/ui/modal-panel/src/main/config/component/modalPanel.xml
===================================================================
--- trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2007-11-21 19:03:03 UTC (rev 4156)
+++ trunk/ui/modal-panel/src/main/config/component/modalPanel.xml 2007-11-21 19:04:08 UTC (rev 4157)
@@ -134,36 +134,28 @@
<description> Event must occurs after panel closed </description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
+
<property>
<name>onmove</name>
<classname>java.lang.String</classname>
- <description> Event must occurs before panel moved </description>
+ <description> Event must occurs before panel is moving </description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
+
<property>
<name>onresize</name>
<classname>java.lang.String</classname>
- <description>Event must occurs after panel resized </description>
+ <description>Event must occurs than panel is resizing </description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
+
<property>
- <name>onresizing</name>
- <classname>java.lang.String</classname>
- <description>Event must occurs before panel resized </description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>onbeforeshow</name>
- <classname>java.lang.String</classname>
- <description> Event must occurs before panel opened</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
<name>showWhenRendered</name>
<classname>boolean</classname>
<description> If "true" value for this attribute makes a modal panel opened as default. </description>
<defaultvalue>false</defaultvalue>
</property>
+
<property>
<name>keepVisualState</name>
<classname>boolean</classname>
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-11-21 19:03:03 UTC (rev 4156)
+++ trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2007-11-21 19:04:08 UTC (rev 4157)
@@ -33,6 +33,7 @@
import org.ajax4jsf.renderkit.AjaxComponentRendererBase;
import org.ajax4jsf.renderkit.ComponentVariables;
import org.ajax4jsf.renderkit.ComponentsVariableResolver;
+import org.ajax4jsf.renderkit.RendererUtils;
import org.ajax4jsf.javascript.ScriptUtils;
import org.richfaces.component.UIModalPanel;
@@ -123,13 +124,7 @@
String onbeforeshow = ScriptUtils.toScript(panel.getAttributes().get("onbeforeshow"));
variables.setVariable("onbeforeshow", onbeforeshow);
String onmove = ScriptUtils.toScript(panel.getAttributes().get("onmove"));
- variables.setVariable("onmove", onmove);
- String onresize = ScriptUtils.toScript(panel.getAttributes().get("onresize"));
- variables.setVariable("onresize", onresize);
- String onresizing = ScriptUtils.toScript(panel.getAttributes().get("onresizing"));
- variables.setVariable("onresizing", onresizing);
-
-
+
}
@@ -161,4 +156,8 @@
}
return result.toString();
}
+
+ public void writeEventHandlerFunction(FacesContext context, UIComponent component, String eventName) throws IOException{
+ RendererUtils.writeEventHandlerFunction(context, component, eventName);
+ }
}
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-11-21 19:03:03 UTC (rev 4156)
+++ trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2007-11-21 19:04:08 UTC (rev 4157)
@@ -205,26 +205,10 @@
eCdiv.mpUseExpr = true;
}
- if (this.options.onshow && this.options.onshow != ""){
- this.eventOnShow = new Function("event",this.options.onshow).bindAsEventListener(this);
- }
if (this.options.onhide && this.options.onhide != ""){
this.eventOnHide = new Function("event",this.options.onhide).bindAsEventListener(this);
}
- if(this.options.onbeforeshow){
- this.eventOnBeforeShow = new Function("event",this.options.onbeforeshow).bindAsEventListener(this);
- }
- if(this.options.onmove){
- this.eventOnMove = new Function("event",this.options.onmove).bindAsEventListener(this);
- }
- if(this.options.onresize){
- this.eventOnResize = new Function("event",this.options.onresize).bindAsEventListener(this);
- }
- if(this.options.onresizing){
- this.eventOnResizing = new Function("event",this.options.onresizing).bindAsEventListener(this);
- }
-
ModalPanel.panels.push(this);
this.eventFirstOnfocus = this.firstOnfocus.bindAsEventListener(this);
@@ -468,209 +452,209 @@
},
show: function(opts) {
- if(this.eventOnBeforeShow) this.eventOnBeforeShow(event);
- this.preventFocus();
var element = $(this.id);
- if (!this.floatedToBody) {
- this.parent = element.parentNode;
- document.body.insertBefore(this.parent.removeChild(element), null);
- this.floatedToBody = true;
- }
-
- var eCdiv = $(this.cdiv);
- var forms = eCdiv.getElementsByTagName("form");
-
- if (this.options.keepVisualState && forms) {
- this.formOnsubmit = this.setStateInput.bindAsEventListener(this);
- for (var i = 0; i < forms.length; i++) {
- Event.observe(forms[i], "submit", this.formOnsubmit);
- }
- }
-
- var eIframe;
- if (ModalPanel.disableSelects && !this.iframe) {
- new Insertion.Top(eCdiv,
- "<iframe src=\"javascript:''\" frameborder=\"0\" scrolling=\"no\" id=\"" + this.id + "IFrame\"" +
- "style=\"position: absolute; width: 1px; height: 1px; background-color: white; overflow-y: hidden; z-index: 1;\">" +
- "</iframe>");
-
- this.iframe = this.id + "IFrame";
+ if(this.invokeEvent("show",event,null,element)){
+ this.preventFocus();
- eIframe = $(this.iframe);
-
- //alert("IFrame:" + eIframe + "created!");
-
- //eIframe.onload = this.initIframe.bind(eIframe);
- Event.observe(eIframe, 'load', this.initIframe.bindAsEventListener(eIframe));
- }
-
- var options = {};
- this.userOptions = {};
-
- if (!eCdiv.mpSet) {
- Object.extend(options, this.options);
- }
-
- if (opts) {
- Object.extend(options, opts);
- Object.extend(this.userOptions, opts);
- }
-
- var eContentDiv = $(this.contentDiv);
-
- if (this.options.autosized) {
- eContentDiv.style.overflow = "";
- options.width = -1;
- options.height = -1;
- eContentDiv.style.width="100%";
- eContentDiv.style.height="100%";
-
- } else {
- if (options.width && options.width == -1)
- options.width = 300;
- if (options.height && options.height == -1)
- options.height = 200;
- }
-
- if (options.width && options.width != -1) {
- if (this.minWidth > options.width) {
- options.width = this.minWidth;
+ if (!this.floatedToBody) {
+ this.parent = element.parentNode;
+ document.body.insertBefore(this.parent.removeChild(element), null);
+ this.floatedToBody = true;
}
-
- eContentDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
- }
-
- if (options.height && options.height != -1) {
- if (this.minHeight > options.height) {
- options.height = this.minHeight;
+
+ var eCdiv = $(this.cdiv);
+ var forms = eCdiv.getElementsByTagName("form");
+
+ if (this.options.keepVisualState && forms) {
+ this.formOnsubmit = this.setStateInput.bindAsEventListener(this);
+ for (var i = 0; i < forms.length; i++) {
+ Event.observe(forms[i], "submit", this.formOnsubmit);
+ }
}
-
- eContentDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
- }
-
- eCdiv.mpSet = true;
-
- //Element.setStyle(this.dialogWindow.document.body, { "margin" : "0px 0px 0px 0px" });
- //if("transparent" == Element.getStyle(document.body, "background-color")) {
- // eIframe.allowTransparency = true;
- //}
-
-
- this.traverseSelects();
-
- //this.shape.init(eCdiv, this.options);
-
- var eDiv = $(this.div);
- if (eDiv.style.position == "absolute")
- {
- var we = "getSizeElement().clientWidth + \"px\"";
- var he = "getSizeElement().clientHeight + \"px\"";
- eDiv.style.setExpression("width", we);
- eDiv.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\"";
-
- eDiv.style.setExpression("left", le);
- eDiv.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\"";
-
- eCdiv.style.setExpression("left", leftExpr);
- eCdiv.style.setExpression("top", topExpr);
-
-
- /* That's how we output debug info - DOM inspector rulez */
- /*
- document.body.setExpression("_clientLeft", "getSizeElement().clientLeft");
- document.body.setExpression("_clientTop", "getSizeElement().clientTop");
- document.body.setExpression("_scrollLeft", "getSizeElement().scrollLeft");
- document.body.setExpression("_scrollTop", "getSizeElement().scrollTop");
- */
- /* */
- }
-
- element.style.visibility = "hidden";
-
- Element.show(element);
- this.correctShadowSizeEx(eContentDiv);
-
- if (options.left) {
- var _left;
- if (options.left != "auto") {
- _left = parseInt(options.left, 10);
+
+ var eIframe;
+ if (ModalPanel.disableSelects && !this.iframe) {
+ new Insertion.Top(eCdiv,
+ "<iframe src=\"javascript:''\" frameborder=\"0\" scrolling=\"no\" id=\"" + this.id + "IFrame\"" +
+ "style=\"position: absolute; width: 1px; height: 1px; background-color: white; overflow-y: hidden; z-index: 1;\">" +
+ "</iframe>");
+
+ this.iframe = this.id + "IFrame";
+
+ eIframe = $(this.iframe);
+
+ //alert("IFrame:" + eIframe + "created!");
+
+ //eIframe.onload = this.initIframe.bind(eIframe);
+ Event.observe(eIframe, 'load', this.initIframe.bindAsEventListener(eIframe));
+ }
+
+ var options = {};
+ this.userOptions = {};
+
+ if (!eCdiv.mpSet) {
+ Object.extend(options, this.options);
+ }
+
+ if (opts) {
+ Object.extend(options, opts);
+ Object.extend(this.userOptions, opts);
+ }
+
+ var eContentDiv = $(this.contentDiv);
+
+ if (this.options.autosized) {
+ eContentDiv.style.overflow = "";
+ options.width = -1;
+ options.height = -1;
+ eContentDiv.style.width="100%";
+ eContentDiv.style.height="100%";
+
} else {
- var cw = getSizeElement().clientWidth;
- if (RichFaces.navigatorType() == RichFaces.OPERA)
- {
- _left = (cw - eContentDiv.parentNode.getWidth()) / 2;
+ if (options.width && options.width == -1)
+ options.width = 300;
+ if (options.height && options.height == -1)
+ options.height = 200;
+ }
+
+ if (options.width && options.width != -1) {
+ if (this.minWidth > options.width) {
+ options.width = this.minWidth;
}
- else {
- var _width = Richfaces.getComputedStyleSize(eContentDiv.parentNode, "width");
- if (isNaN(_width))
- _width = eContentDiv.parentNode.clientWidth;
- _left = (cw - _width) / 2;
- }
-
+
+ eContentDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
}
-
- this.setLeft(_left);
- }
-
- if (options.top) {
- var _top;
- if (options.top != "auto") {
- _top = parseInt(options.top, 10);
- } else {
- var cw = getSizeElement().clientHeight;
- if (RichFaces.navigatorType() == RichFaces.OPERA)
- {
- _top = (cw - eContentDiv.parentNode.getHeight()) / 2;
+
+ if (options.height && options.height != -1) {
+ if (this.minHeight > options.height) {
+ options.height = this.minHeight;
}
- else {
- var _height = Richfaces.getComputedStyleSize(eContentDiv.parentNode, "height");
- if (isNaN(_height))
- _height = eContentDiv.parentNode.clientHeight;
- _top = (cw - _height) / 2;
+
+ eContentDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
+ }
+
+ eCdiv.mpSet = true;
+
+ //Element.setStyle(this.dialogWindow.document.body, { "margin" : "0px 0px 0px 0px" });
+ //if("transparent" == Element.getStyle(document.body, "background-color")) {
+ // eIframe.allowTransparency = true;
+ //}
+
+
+ this.traverseSelects();
+
+ //this.shape.init(eCdiv, this.options);
+
+ var eDiv = $(this.div);
+ if (eDiv.style.position == "absolute")
+ {
+ var we = "getSizeElement().clientWidth + \"px\"";
+ var he = "getSizeElement().clientHeight + \"px\"";
+ eDiv.style.setExpression("width", we);
+ eDiv.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\"";
+
+ eDiv.style.setExpression("left", le);
+ eDiv.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\"";
+
+ eCdiv.style.setExpression("left", leftExpr);
+ eCdiv.style.setExpression("top", topExpr);
+
+
+ /* That's how we output debug info - DOM inspector rulez */
+ /*
+ document.body.setExpression("_clientLeft", "getSizeElement().clientLeft");
+ document.body.setExpression("_clientTop", "getSizeElement().clientTop");
+ document.body.setExpression("_scrollLeft", "getSizeElement().scrollLeft");
+ document.body.setExpression("_scrollTop", "getSizeElement().scrollTop");
+ */
+ /* */
+ }
+
+ element.style.visibility = "hidden";
+
+ Element.show(element);
+ this.correctShadowSizeEx(eContentDiv);
+
+ if (options.left) {
+ var _left;
+ if (options.left != "auto") {
+ _left = parseInt(options.left, 10);
+ } else {
+ var cw = getSizeElement().clientWidth;
+ if (RichFaces.navigatorType() == RichFaces.OPERA)
+ {
+ _left = (cw - eContentDiv.parentNode.getWidth()) / 2;
+ }
+ else {
+ var _width = Richfaces.getComputedStyleSize(eContentDiv.parentNode, "width");
+ if (isNaN(_width))
+ _width = eContentDiv.parentNode.clientWidth;
+ _left = (cw - _width) / 2;
+ }
+
}
+
+ this.setLeft(_left);
}
-
- this.setTop(_top);
- }
-
- if (this.options.autosized) {
- this.observerSize =
- window.setInterval(this.correctShadowSize.bindAsEventListener(this), 500);
- }
-
- this.doResizeOrMove(ModalPanel.Sizer.Diff.EMPTY);
-
- for (var k = 0; k < this.borders.length; k++ ) {
- this.borders[k].doPosition();
- }
-
- if (this.header) {
- this.header.doPosition();
- }
-
- element.style.visibility = "";
-
- this.lastOnfocus();
-
- var event = {};
- event.parameters = opts || {};
- if (this.eventOnShow) this.eventOnShow(event);
-
- this.shown = true;
+
+ if (options.top) {
+ var _top;
+ if (options.top != "auto") {
+ _top = parseInt(options.top, 10);
+ } else {
+ var cw = getSizeElement().clientHeight;
+ if (RichFaces.navigatorType() == RichFaces.OPERA)
+ {
+ _top = (cw - eContentDiv.parentNode.getHeight()) / 2;
+ }
+ else {
+ var _height = Richfaces.getComputedStyleSize(eContentDiv.parentNode, "height");
+ if (isNaN(_height))
+ _height = eContentDiv.parentNode.clientHeight;
+ _top = (cw - _height) / 2;
+ }
+ }
+
+ this.setTop(_top);
+ }
+
+ if (this.options.autosized) {
+ this.observerSize =
+ window.setInterval(this.correctShadowSize.bindAsEventListener(this), 500);
+ }
+
+ this.doResizeOrMove(ModalPanel.Sizer.Diff.EMPTY);
+
+ for (var k = 0; k < this.borders.length; k++ ) {
+ this.borders[k].doPosition();
+ }
+
+ if (this.header) {
+ this.header.doPosition();
+ }
+
+ element.style.visibility = "";
+
+ this.lastOnfocus();
+
+ var event = {};
+ event.parameters = opts || {};
+ this.shown = true;
+ }
},
startDrag: function(border) {
@@ -933,7 +917,46 @@
eIframe.style.width = w+"px";
eIframe.style.height = h+"px";
}
- }
+ },
+
+ invokeEvent: function(eventName, event, value, element) {
+
+ var eventFunction = this.options['on'+eventName];
+ var result;
+
+ if (eventFunction)
+ {
+ var eventObj;
+
+ if (event)
+ {
+ eventObj = event;
+ }
+ else if( document.createEventObject )
+ {
+ eventObj = document.createEventObject();
+ }
+ else if( document.createEvent )
+ {
+ eventObj = document.createEvent('Events');
+ eventObj.initEvent( eventName, true, false );
+ }
+
+ eventObj.rich = {component:this};
+ eventObj.rich.value = value;
+
+ try
+ {
+ result = eventFunction.call(element, eventObj);
+ }
+ catch (e) { LOG.warn("Exception: "+e.Message + "\n[on"+eventName + "]"); }
+
+ }
+
+ if (result!=false) result = true;
+
+ return result;
+ }
}
Richfaces.findModalPanel = function (id) {
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-11-21 19:03:03 UTC (rev 4156)
+++ trunk/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanelBorders.js 2007-11-21 19:04:08 UTC (rev 4157)
@@ -80,36 +80,43 @@
var id = this.id;
+ var diff = this.sizer.doDiff(dx, dy);
+ var doResize;
+
+ var element = $(this.modalPanel.cdiv);
if (id.indexOf('panelHeader') > 0) {
- var eventOnMove = this.modalPanel.eventOnMove;
- if(eventOnMove) eventOnMove(event);
+ doResize = this.modalPanel.invokeEvent("move",event,null,element);
} else{
- var eventOnResizing = this.modalPanel.eventOnResizing;
- if(eventOnResizing) eventOnResizing(event);
+ doResize = this.modalPanel.invokeEvent("resize",event,null,element);
}
-
- var diff = this.sizer.doDiff(dx, dy);
- var vetoes = this.modalPanel.doResizeOrMove(diff);
-
- if (!vetoes.x) {
- this.dragX = evtX;
- } else {
- if (!diff.deltaX) {
- this.dragX -= vetoes.vx || 0;
+
+ var vetoes;
+
+ if (doResize) {
+ vetoes = this.modalPanel.doResizeOrMove(diff);
+ }
+
+ if(vetoes){
+ if (!vetoes.x) {
+ this.dragX = evtX;
} else {
- this.dragX += vetoes.vx || 0;
+ if (!diff.deltaX) {
+ this.dragX -= vetoes.vx || 0;
+ } else {
+ this.dragX += vetoes.vx || 0;
+ }
}
- }
-
- if (!vetoes.y) {
- this.dragY = evtY;
- } else {
- if (!diff.deltaY) {
- this.dragY -= vetoes.vy || 0;
+
+ if (!vetoes.y) {
+ this.dragY = evtY;
} else {
- this.dragY += vetoes.vy || 0;
+ if (!diff.deltaY) {
+ this.dragY -= vetoes.vy || 0;
+ } else {
+ this.dragY += vetoes.vy || 0;
+ }
}
- }
+ }
}
},
@@ -128,10 +135,6 @@
this.onselectStartHandler = null;
var id = this.id;
- if (id.indexOf('panelHeader') < 0) {
- var eventOnResize = this.modalPanel.eventOnResize;
- if(eventOnResize) eventOnResize(event);
- }
},
doPosition: function() {
Modified: trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2007-11-21 19:03:03 UTC (rev 4156)
+++ trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2007-11-21 19:04:08 UTC (rev 4157)
@@ -131,14 +131,13 @@
top: "#{component.top}",
zindex: #{component.zindex},
-
- onshow: #{onshow},
+
onhide: #{onhide},
- onmove: #{onmove},
- onresize: #{onresize},
- onresizing: #{onresizing},
- onbeforeshow: #{onbeforeshow},
-
+
+ <f:call name="writeEventHandlerFunction"><f:parameter value="onresize" /></f:call>,
+ <f:call name="writeEventHandlerFunction"><f:parameter value="onmove" /></f:call>,
+ <f:call name="writeEventHandlerFunction"><f:parameter value="onshow" /></f:call>,
+
keepVisualState: #{component.keepVisualState},
showWhenRendered: #{component.showWhenRendered},
selectBehavior: "#{component.tridentIVEngineSelectBehavior}",
18 years, 5 months
JBoss Rich Faces SVN: r4156 - in tags: 3.1.2.SP1 and 126 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-11-21 14:03:03 -0500 (Wed, 21 Nov 2007)
New Revision: 4156
Added:
tags/3.1.2.SP1/
tags/3.1.2.SP1/docs/userguide/en/src/main/docbook/included/calendar.xml
tags/3.1.2.SP1/ui/message/src/main/config/component/message.xml
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java
Removed:
tags/3.1.2.SP1/docs/userguide/en/src/main/docbook/included/calendar.xml
tags/3.1.2.SP1/ui/message/src/main/config/component/message.xml
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java
Modified:
tags/3.1.2.SP1/cdk/generator/pom.xml
tags/3.1.2.SP1/cdk/maven-archetype-jsf-component/pom.xml
tags/3.1.2.SP1/cdk/maven-archetype-jsf-component/src/main/resources/archetype-resources/pom.xml
tags/3.1.2.SP1/cdk/maven-archetype-jsfwebapp/pom.xml
tags/3.1.2.SP1/cdk/maven-cdk-plugin/pom.xml
tags/3.1.2.SP1/cdk/pom.xml
tags/3.1.2.SP1/docs/pom.xml
tags/3.1.2.SP1/docs/userguide/en/pom.xml
tags/3.1.2.SP1/docs/userguide/pom.xml
tags/3.1.2.SP1/docs/xslt/en/pom.xml
tags/3.1.2.SP1/docs/xslt/pom.xml
tags/3.1.2.SP1/extensions/gwt/pom.xml
tags/3.1.2.SP1/extensions/pom.xml
tags/3.1.2.SP1/extensions/portlet/pom.xml
tags/3.1.2.SP1/extensions/seam/pom.xml
tags/3.1.2.SP1/extensions/trinidad/pom.xml
tags/3.1.2.SP1/framework/api-parent/pom.xml
tags/3.1.2.SP1/framework/api/pom.xml
tags/3.1.2.SP1/framework/impl-parent/pom.xml
tags/3.1.2.SP1/framework/impl/pom.xml
tags/3.1.2.SP1/framework/pom.xml
tags/3.1.2.SP1/framework/test/pom.xml
tags/3.1.2.SP1/pom.xml
tags/3.1.2.SP1/samples/ajaxPortlet/pom.xml
tags/3.1.2.SP1/samples/calendar-sample/pom.xml
tags/3.1.2.SP1/samples/dataFilterSliderDemo/pom.xml
tags/3.1.2.SP1/samples/dataTableDemo/pom.xml
tags/3.1.2.SP1/samples/datascroller-sample/pom.xml
tags/3.1.2.SP1/samples/dragDropDemo/pom.xml
tags/3.1.2.SP1/samples/dropdownmenu-sample/pom.xml
tags/3.1.2.SP1/samples/effect-sample/pom.xml
tags/3.1.2.SP1/samples/gmap-sample/pom.xml
tags/3.1.2.SP1/samples/inputNumberSliderDemo/pom.xml
tags/3.1.2.SP1/samples/inputNumberSpinnerDemo/pom.xml
tags/3.1.2.SP1/samples/jQuery-sample/pom.xml
tags/3.1.2.SP1/samples/local-value-demo/pom.xml
tags/3.1.2.SP1/samples/modalpanel-sample/pom.xml
tags/3.1.2.SP1/samples/panel-sample/pom.xml
tags/3.1.2.SP1/samples/panelbar-sample/pom.xml
tags/3.1.2.SP1/samples/panelmenu-sample/pom.xml
tags/3.1.2.SP1/samples/pom.xml
tags/3.1.2.SP1/samples/portal-echo/pom.xml
tags/3.1.2.SP1/samples/rich-message-demo/pom.xml
tags/3.1.2.SP1/samples/richfaces-art-datatable/pom.xml
tags/3.1.2.SP1/samples/richfaces-demo/pom.xml
tags/3.1.2.SP1/samples/richfaces-ear-demo/ejb/pom.xml
tags/3.1.2.SP1/samples/richfaces-ear-demo/pom.xml
tags/3.1.2.SP1/samples/richfaces-ear-demo/richfacesEAR/pom.xml
tags/3.1.2.SP1/samples/richfaces-ear-demo/webapp/pom.xml
tags/3.1.2.SP1/samples/scrollableDataTableDemo/pom.xml
tags/3.1.2.SP1/samples/seamEAR/ear/pom.xml
tags/3.1.2.SP1/samples/seamEAR/ejbs/pom.xml
tags/3.1.2.SP1/samples/seamEAR/pom.xml
tags/3.1.2.SP1/samples/seamEAR/primary-source/pom.xml
tags/3.1.2.SP1/samples/seamEAR/projects/logging/pom.xml
tags/3.1.2.SP1/samples/seamEAR/projects/pom.xml
tags/3.1.2.SP1/samples/seamEAR/wars/pom.xml
tags/3.1.2.SP1/samples/seamEAR/wars/seamWebapp/pom.xml
tags/3.1.2.SP1/samples/seamIntegration/pom.xml
tags/3.1.2.SP1/samples/separator-sample/pom.xml
tags/3.1.2.SP1/samples/simpleTogglePanel-sample/pom.xml
tags/3.1.2.SP1/samples/skins/pom.xml
tags/3.1.2.SP1/samples/suggestionbox-sample/pom.xml
tags/3.1.2.SP1/samples/tabPanelDemo/pom.xml
tags/3.1.2.SP1/samples/togglePanel-sample/pom.xml
tags/3.1.2.SP1/samples/tomahawkCompability/pom.xml
tags/3.1.2.SP1/samples/toolBarDemo/pom.xml
tags/3.1.2.SP1/samples/tooltip-sample/pom.xml
tags/3.1.2.SP1/samples/tree-demo/pom.xml
tags/3.1.2.SP1/samples/treeModelDemo/pom.xml
tags/3.1.2.SP1/samples/useCases/pom.xml
tags/3.1.2.SP1/samples/virtualEarth-sample/pom.xml
tags/3.1.2.SP1/sandbox/api/pom.xml
tags/3.1.2.SP1/sandbox/impl/pom.xml
tags/3.1.2.SP1/sandbox/pom.xml
tags/3.1.2.SP1/sandbox/samples/dialog-window-sample/pom.xml
tags/3.1.2.SP1/sandbox/samples/panel2-sample/pom.xml
tags/3.1.2.SP1/sandbox/samples/pom.xml
tags/3.1.2.SP1/sandbox/samples/rich-message-demo/pom.xml
tags/3.1.2.SP1/sandbox/samples/simpleTogglePanel2-sample/pom.xml
tags/3.1.2.SP1/sandbox/ui/dialog-window/pom.xml
tags/3.1.2.SP1/sandbox/ui/panel2/pom.xml
tags/3.1.2.SP1/sandbox/ui/pom.xml
tags/3.1.2.SP1/sandbox/ui/simpleTogglePanel2/pom.xml
tags/3.1.2.SP1/sandbox/ui/state/pom.xml
tags/3.1.2.SP1/test-applications/facelets/pom.xml
tags/3.1.2.SP1/test-applications/jsp/pom.xml
tags/3.1.2.SP1/test-applications/pom.xml
tags/3.1.2.SP1/ui/assembly/pom.xml
tags/3.1.2.SP1/ui/calendar/pom.xml
tags/3.1.2.SP1/ui/core/pom.xml
tags/3.1.2.SP1/ui/create.bat
tags/3.1.2.SP1/ui/create.sh
tags/3.1.2.SP1/ui/dataFilterSlider/pom.xml
tags/3.1.2.SP1/ui/dataTable/pom.xml
tags/3.1.2.SP1/ui/datascroller/pom.xml
tags/3.1.2.SP1/ui/drag-drop/pom.xml
tags/3.1.2.SP1/ui/dropdown-menu/pom.xml
tags/3.1.2.SP1/ui/effect/pom.xml
tags/3.1.2.SP1/ui/gmap/pom.xml
tags/3.1.2.SP1/ui/inputnumber-slider/pom.xml
tags/3.1.2.SP1/ui/inputnumber-spinner/pom.xml
tags/3.1.2.SP1/ui/insert/pom.xml
tags/3.1.2.SP1/ui/jQuery/pom.xml
tags/3.1.2.SP1/ui/menu-components/pom.xml
tags/3.1.2.SP1/ui/message/pom.xml
tags/3.1.2.SP1/ui/modal-panel/pom.xml
tags/3.1.2.SP1/ui/paint2D/pom.xml
tags/3.1.2.SP1/ui/panel/pom.xml
tags/3.1.2.SP1/ui/panelbar/pom.xml
tags/3.1.2.SP1/ui/panelmenu/pom.xml
tags/3.1.2.SP1/ui/pom.xml
tags/3.1.2.SP1/ui/scrollableDataTable/pom.xml
tags/3.1.2.SP1/ui/separator/pom.xml
tags/3.1.2.SP1/ui/simpleTogglePanel/pom.xml
tags/3.1.2.SP1/ui/spacer/pom.xml
tags/3.1.2.SP1/ui/suggestionbox/pom.xml
tags/3.1.2.SP1/ui/tabPanel/pom.xml
tags/3.1.2.SP1/ui/togglePanel/pom.xml
tags/3.1.2.SP1/ui/toolBar/pom.xml
tags/3.1.2.SP1/ui/tooltip/pom.xml
tags/3.1.2.SP1/ui/tree/pom.xml
tags/3.1.2.SP1/ui/treeModel/pom.xml
tags/3.1.2.SP1/ui/virtualEarth/pom.xml
Log:
Create service patch release for a 3.1.2
Copied: tags/3.1.2.SP1 (from rev 4097, tags/3.1.2.GA)
Modified: tags/3.1.2.SP1/cdk/generator/pom.xml
===================================================================
--- tags/3.1.2.GA/cdk/generator/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/cdk/generator/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>cdk</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.cdk</groupId>
<artifactId>generator</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Java Server Faces component generator</name>
<build>
<plugins>
Modified: tags/3.1.2.SP1/cdk/maven-archetype-jsf-component/pom.xml
===================================================================
--- tags/3.1.2.GA/cdk/maven-archetype-jsf-component/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/cdk/maven-archetype-jsf-component/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,11 +2,11 @@
<parent>
<artifactId>cdk</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-archetype-jsf-component</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Archetype - maven-archetype-jsf-component</name>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/cdk/maven-archetype-jsf-component/src/main/resources/archetype-resources/pom.xml
===================================================================
--- tags/3.1.2.GA/cdk/maven-archetype-jsf-component/src/main/resources/archetype-resources/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/cdk/maven-archetype-jsf-component/src/main/resources/archetype-resources/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -10,7 +10,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<configuration>
<library>
<prefix>${groupId}</prefix>
Modified: tags/3.1.2.SP1/cdk/maven-archetype-jsfwebapp/pom.xml
===================================================================
--- tags/3.1.2.GA/cdk/maven-archetype-jsfwebapp/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/cdk/maven-archetype-jsfwebapp/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,11 +2,11 @@
<parent>
<artifactId>cdk</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-archetype-jsfwebapp</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Archetype for jsf webapp project</name>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/cdk/maven-cdk-plugin/pom.xml
===================================================================
--- tags/3.1.2.GA/cdk/maven-cdk-plugin/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/cdk/maven-cdk-plugin/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>cdk</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>maven-plugin</packaging>
<name>Maven plugin for JSF components code generation</name>
<dependencies>
@@ -50,7 +50,7 @@
<dependency>
<groupId>org.richfaces.cdk</groupId>
<artifactId>generator</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/cdk/pom.xml
===================================================================
--- tags/3.1.2.GA/cdk/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/cdk/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
<artifactId>cdk</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>pom</packaging>
<name>JSF Components Development kit</name>
<dependencies />
Modified: tags/3.1.2.SP1/docs/pom.xml
===================================================================
--- tags/3.1.2.GA/docs/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/docs/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,12 +3,12 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
<artifactId>docs</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Project documentation</name>
<packaging>pom</packaging>
<!-- setup repositories, to build documentation separate from Java projects -->
Modified: tags/3.1.2.SP1/docs/userguide/en/pom.xml
===================================================================
--- tags/3.1.2.GA/docs/userguide/en/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/docs/userguide/en/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -5,12 +5,12 @@
<parent>
<groupId>org.richfaces.docs</groupId>
<artifactId>userguide</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.richfaces.docs.userguide</groupId>
<artifactId>${translation}</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>jdocbook</packaging>
<name>Richfaces Manual (${translation})</name>
Deleted: tags/3.1.2.SP1/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- tags/3.1.2.GA/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,1033 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<section>
- <sectioninfo>
- <keywordset>
- <keyword>calendar</keyword>
- </keywordset>
- </sectioninfo>
-
- <table>
- <title>Component identification parameters</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Name</entry>
-
- <entry>Value</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>component-type</entry>
-
- <entry>org.richfaces.Calendar</entry>
- </row>
-
- <row>
- <entry>component-class</entry>
-
- <entry>org.richfaces.component.html.HtmlCalendar</entry>
- </row>
-
- <row>
- <entry>component-family</entry>
-
- <entry>org.richfaces.Calendar</entry>
- </row>
-
- <row>
- <entry>renderer-type</entry>
-
- <entry>org.richfaces.CalendarRenderer</entry>
- </row>
-
- <row>
- <entry>tag-class</entry>
-
- <entry>org.richfaces.taglib.CalendarTag</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
-
- <section>
- <title>Creating the Component with a Page Tag</title>
-
- <para>To create the simplest variant on a page use the following syntax:</para>
-
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
- <rich:calendar popup="false"/>
-...]]></programlisting>
- </section>
-
- <section>
- <title>Creating the Component Dynamically Using Java</title>
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlCalendar;
-...
-HtmlCalendar myCalendar = new HtmlCalendar();
-...
-]]></programlisting>
- </section>
-
- <section>
- <title>Details of Usage</title>
- <para>The <emphasis>
- <property>"popup"</property>
- </emphasis> attribute defines calendar representation mode on a page. If it's
- "true" the calendar is represented on a page as an input field and a button.
- Clicking on the button calls the calendar popup as it's shown on the picture below. </para>
- <figure>
- <title>Using the <emphasis>
- <property>"popup"</property>
- </emphasis> attribute</title>
-
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/calendar.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Usage <emphasis>
- <property>"currentDate"</property>
- </emphasis> attribute isn't available in the popup
- mode.</para>
- <para>The <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> component ables to render pages of days in two modes. Switching mode
- could be defined with the <emphasis>
- <property>"mode"</property>
- </emphasis> attribute with two possible parameters: Ajax and Client. Default value is set to
- "Client".</para>
- <itemizedlist>
- <listitem>
- <para>Ajax</para>
- </listitem>
- </itemizedlist>
-
- <para>Calendar requests portions of data from Data Model for a page rendering. If
- <emphasis>
- <property>"dataModel"</property>
- </emphasis> attribute has <property>"null"</property> value, data requests are
- not sent. In this case the "Ajax" mode is equal to the
- "Client" mode. </para>
-
- <itemizedlist>
- <listitem>
- <para>Client</para>
- </listitem>
- </itemizedlist>
-
- <para>Calendar loads an initial portion of data in a specified range and use this data to
- render months. Additional data requests are not sent.</para>
-
- <para>There are three button-related attributes:</para>
- <itemizedlist>
- <listitem>
- <para><emphasis>
- <property>"buttonLabel"</property>
- </emphasis> defines a label for the button. If the attribute is set "buttonIcon" and
- "buttonIconDisabled" are ignored </para>
- </listitem>
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para><emphasis>
- <property>"buttonIcon"</property>
- </emphasis> defines an icon for the button</para>
- </listitem>
- </itemizedlist>
- <itemizedlist>
- <listitem>
- <para><emphasis>
- <property>"buttonIconDisabled"</property>
- </emphasis> defines an icon for the disabled state of the button</para>
- </listitem>
- </itemizedlist>
- <para>The <emphasis>
- <property>"direction"</property>
- </emphasis> and <emphasis>
- <property>"jointPoint"</property>
- </emphasis> attributes are used for defining aspects of calendar appearance.</para>
- <para>The possible values for the <emphasis>
- <property>"direction"</property>
- </emphasis> are: </para>
- <itemizedlist>
- <listitem>top-left - a calendar drops to the top and left</listitem>
- <listitem>top-right - a calendar drops to the top and right</listitem>
- <listitem>bottom-left - a calendar drops to the bottom and left</listitem>
- <listitem>bottom-right - a calendar drops to the bottom and right</listitem>
- <listitem>auto - smart positioning activation</listitem>
- </itemizedlist>
- <para> By default, the <emphasis>
- <property>"direction"</property>
- </emphasis> attribute is set to "bottom-right".</para>
- <para>The possible values for the <emphasis>
- <property>"jointPoint"</property>
- </emphasis> are: </para>
- <itemizedlist>
- <listitem>top-left - a calendar docked to the top-left point of the button element</listitem>
- <listitem>top-right - a calendar docked to the top-right point of the button element</listitem>
- <listitem>bottom-left - a calendar docked to the bottom-left point of the button element</listitem>
- <listitem>bottom-right - a calendar docked to the bottom-right point of the button element</listitem>
- <listitem>auto - smart positioning activation</listitem>
- </itemizedlist>
- <para> By default, the <emphasis>
- <property>"jointPoint"</property>
- </emphasis> attribute is set to "bottom-left".</para>
- <para>The <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> component provides to use <emphasis>
- <property>"header"</property>
- </emphasis> facet. For example, you can add following scrolling elements to the facet:
- {currentMonthControl}, {nextMonthControl}, {nextYearControl}, {previousYearControl},
- {previousMonthControl}.</para>
- <para>Simple example is placed below.</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
- <f:facet name="header">
- <f:verbatim>
- {previousMonthControl} | {nextMonthControl}
- </f:verbatim>
- </f:facet>
-...]]></programlisting>
- <para>It's possible to define <emphasis>
- <property>"footer"</property>
- </emphasis> facet and replace in it (in the same way how it was described for <emphasis>
- <property>"header"</property>
- </emphasis> facet), for example, following today bar elements: {todayControl},
- {selectedDateControl}, {helpControl}.</para>
- <para>Also you can use <emphasis>
- <property>"optionalHeader"</property>
- </emphasis> and <emphasis>
- <property>"optionalFooter"</property>
- </emphasis> facets. These facets define the top and the bottom elements of the calendar. They
- are not attached to the control parts of the calendar. You can replace in them any content.</para>
- <para>The <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> component provides the possibility to use <emphasis>
- <property>"weekNumber"</property>
- </emphasis> and <emphasis>
- <property>"weekDay"</property>
- </emphasis> facets. For example, using these facets you can change text style for the elements
- of the calendar as it's shown in the example below:</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
- <f:facet name="weekNumber">
- <h:outputText style="font-weight: bold;" value="{weekNumber}" />
- </f:facet>
-...]]></programlisting>
-
- <para>The example of using JavaScript API is placed below:</para>
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
- <a4j:form id="form">
- <h:panelGroup id="test" columns="2" style="width: 300px">
- <h:selectBooleanCheckbox value="#{bean.check}">
- <a4j:support event="onchange" reRender="test" />
- <f:selectItem itemValue="true" itemLabel="Show" />
- <f:selectItem itemValue="false" itemLabel="Hide" />
- </h:selectBooleanCheckbox>
- <rich:calendar popup="true"
- rendered="#{!bean.check}" value="#{bean.date}" id="c"/>
- <a onclick="$('form:c').component.doExpand()" href="#">Show</a>
- </h:panelGroup>
- </a4j:form>
-...
-]]></programlisting>
-
- <para>Also the discussion about this problem can be found on the <ulink
- url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078301#..."
- >RichFaces Users Forum</ulink>.</para>
-
- <para>The <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> component provides the possibility to use a special Data Model to define data for
- element rendering. Data Model includes two major interfaces: </para>
-
- <itemizedlist>
- <listitem>CalendarDataModel</listitem>
- <listitem>CalendarDataModelItem</listitem>
- </itemizedlist>
-
- <para><property>CalendarDataModel</property> provides the following function:</para>
- <itemizedlist>
- <listitem>CalendarDataModelItem[] getData(Date[]);</listitem>
- </itemizedlist>
-
- <para>This method is called when it's necessary to represent the next block of
- CalendarDataItems. It happens during navigation to the next (previous) month or in any other
- case when calendar renders. This method is called in <emphasis>
- <property>"Ajax"</property>
- </emphasis> mode when the calendar renders a new page. </para>
-
- <para><property>CalendarDataModelItem</property> provides the following function:</para>
- <itemizedlist>
- <listitem>Date getDate() - returns date from the item. Default implementation returns date.</listitem>
- <listitem>Boolean isEnabled() - returns <emphasis>
- <property>"true"</property>
- </emphasis> if date is <emphasis>
- <property>"selectable"</property>
- </emphasis> on the calendar. Default implementation returns "true".</listitem>
- <listitem>String getStyleClass() - returns string appended to the style class for the date
- span. For example it could be "relevant holyday". It means that the class
- could be defined like the "rich-cal-day-relevant-holyday" one. Default
- implementation returns empty string.</listitem>
- <listitem>Object getData() - returns any additional payload that must be JSON-serializable
- object. It could be used in the custom date representation on the calendar (inside the
- custom facet).</listitem>
- </itemizedlist>
-
- </section>
-
- <section>
- <title>JavaScript API</title>
- <table>
- <title>JavaScript API</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Function</entry>
-
- <entry>Description</entry>
- </row>
- </thead>
-
- <tbody>
-
- <row>
- <entry>selectDate(date)</entry>
-
- <entry>Select the date specified. If the date isn't in current month - performs
- request to select</entry>
- </row>
-
- <row>
- <entry>isDateEnabled(date)</entry>
-
- <entry>Check if given date is selectable</entry>
- </row>
-
- <row>
- <entry>enableDate(date)</entry>
-
- <entry>Enables date cell control on the calendar</entry>
- </row>
-
- <row>
- <entry>disableDate(date)</entry>
-
- <entry>Disables date cell control on the calendar</entry>
- </row>
-
- <row>
- <entry>enableDates(date[])</entry>
-
- <entry>Enables dates cell controls set on the calendar</entry>
- </row>
-
- <row>
- <entry>disableDates(date[])</entry>
-
- <entry>Disables dates cell controls set on the calendar</entry>
- </row>
-
- <row>
- <entry>nextMonth()</entry>
-
- <entry>Navigate to next month</entry>
- </row>
-
- <row>
- <entry>nextYear()</entry>
-
- <entry>Navigate to next year</entry>
- </row>
-
- <row>
- <entry>prevMonth()</entry>
-
- <entry>Navigate to previous month </entry>
- </row>
-
- <row>
- <entry>prevYear()</entry>
-
- <entry>Navigate to previous year</entry>
- </row>
-
- <row>
- <entry>today()</entry>
-
- <entry>Select today date</entry>
- </row>
-
- <row>
- <entry>getSelectedDate()</entry>
-
- <entry>Return currently selected date</entry>
- </row>
-
- <row>
- <entry>Object getData()</entry>
-
- <entry>Return additional data for the date</entry>
- </row>
-
- <row>
- <entry>enable()</entry>
-
- <entry>enables calendar</entry>
- </row>
-
- <row>
- <entry>disable()</entry>
-
- <entry>disables calendar</entry>
- </row>
-
- <row>
- <entry>getCurrentMonth()</entry>
-
- <entry>Returns number of the month currently being viewed</entry>
- </row>
-
- <row>
- <entry>getCurrentYear()</entry>
-
- <entry>Returns number of the year currently being viewed</entry>
- </row>
-
- <row>
- <entry>doCollapse()</entry>
-
- <entry>Collapse calendar element</entry>
- </row>
-
- <row>
- <entry>doExpand()</entry>
-
- <entry>Expand calendar element</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
-
- </section>
-
-
- <section>
- <title>Look-and-Feel Customization</title>
-
- <para>For skinnability implementation, the components use a <emphasis>
- <property>style class redefinition method.</property>
- </emphasis> Default style classes are mapped on <emphasis>
- <property>skin parameters.</property>
- </emphasis></para>
-
- <para>There are two ways to redefine the appearance of all <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> components at once:</para>
-
- <itemizedlist>
- <listitem>
- <para>Redefine the corresponding skin parameters</para>
- </listitem>
-
- <listitem>
- <para>Add to your style sheets <emphasis>
- <property>style classes</property>
- </emphasis> used by a <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> component</para>
- </listitem>
- </itemizedlist>
- </section>
-
- <section>
- <title>Skin Parameters Redefinition</title>
-
- <table>
- <title>Skin parameters redefinition for a popup element</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-color</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for headers (header, optional header)</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-bottom-color</entry>
- </row>
-
- <row>
- <entry>additionalBackgroundColor</entry>
-
- <entry>background-color</entry>
- </row>
-
- <row>
- <entry>generalSizeFont</entry>
-
- <entry>font-size</entry>
- </row>
-
- <row>
- <entry>generalFamilyFont</entry>
-
- <entry>font-family</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for footers (footer, optional footer) and names of working
- days</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-top-color</entry>
- </row>
-
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-right-color</entry>
- </row>
-
- <row>
- <entry>additionalBackgroundColor</entry>
-
- <entry>background</entry>
- </row>
-
- <row>
- <entry>generalSizeFont</entry>
-
- <entry>font-size</entry>
- </row>
-
- <row>
- <entry>generalFamilyFont</entry>
-
- <entry>font-family</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for weeks numbers</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-bottom-color</entry>
- </row>
-
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-right-color</entry>
- </row>
-
- <row>
- <entry>additionalBackgroundColor</entry>
-
- <entry>background</entry>
- </row>
-
- <row>
- <entry>calendarWeekBackgroundColor</entry>
-
- <entry>background-color</entry>
- </row>
-
- <row>
- <entry>generalSizeFont</entry>
-
- <entry>font-size</entry>
- </row>
-
- <row>
- <entry>generalFamilyFont</entry>
-
- <entry>font-family</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for a toolbar and names of months</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>headerBackgroundColor</entry>
-
- <entry>background-color</entry>
- </row>
-
- <row>
- <entry>headerSizeFont</entry>
-
- <entry>font-size</entry>
- </row>
-
- <row>
- <entry>headerFamilyFont</entry>
-
- <entry>font-family</entry>
- </row>
-
- <row>
- <entry>headerWeightFont</entry>
-
- <entry>font-weight</entry>
- </row>
-
- <row>
- <entry>headerTextColor</entry>
-
- <entry>color</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for cells with days</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-bottom-color</entry>
- </row>
-
- <row>
- <entry>panelBorderColor</entry>
-
- <entry>border-right-color</entry>
- </row>
-
- <row>
- <entry>generalBackgroundColor</entry>
-
- <entry>background-color</entry>
- </row>
-
- <row>
- <entry>generalSizeFont</entry>
-
- <entry>font-size</entry>
- </row>
-
- <row>
- <entry>generalFamilyFont</entry>
-
- <entry>font-family</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for holiday</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>calendarHolidaysBackgroundColor</entry>
-
- <entry>background-color</entry>
- </row>
-
- <row>
- <entry>calendarHolidaysTextColor</entry>
-
- <entry>color</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for cell with a current date</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>calendarCurrentBackgroundColor</entry>
-
- <entry>background-color</entry>
- </row>
-
- <row>
- <entry>calendarCurrentTextColor</entry>
-
- <entry>color</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Skin parameters redefinition for a selected day</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters</entry>
-
- <entry>CSS properties</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>headerBackgroundColor</entry>
-
- <entry>background-color</entry>
- </row>
-
- <row>
- <entry>headerTextColor</entry>
-
- <entry>color</entry>
- </row>
-
- <row>
- <entry>headerWeightFont</entry>
-
- <entry>font-weight</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- </section>
-
- <section>
- <title>Definition of Custom Style Classes</title>
-
- <para>On the screenshot there are classes names that define styles for component elements.</para>
-
- <figure>
- <title>Style classes</title>
-
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/calendar1.png" scalefit="1"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <table>
- <title>Classes names that define an input field and a button appearance</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Class name</entry>
-
- <entry>Description</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry>rich-calendar-input </entry>
-
- <entry>Defines styles for an input field</entry>
- </row>
-
- <row>
- <entry>rich-calendar-button</entry>
-
- <entry>Defines styles for a popup button</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Classes names that define a days appearance</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Class name</entry>
-
- <entry>Description</entry>
- </row>
- </thead>
-
- <tbody>
-
- <row>
- <entry>rich-calendar-days</entry>
-
- <entry>Defines styles for names of working days in a header</entry>
- </row>
-
- <row>
- <entry>rich-calendar-weekends</entry>
-
- <entry>Defines styles for names of weekend in a header</entry>
- </row>
-
- <row>
- <entry>rich-calendar-week</entry>
-
- <entry>Defines styles for weeks numbers</entry>
- </row>
-
- <row>
- <entry>rich-calendar-today</entry>
-
- <entry>Defines styles for cell with a current date</entry>
- </row>
-
- <row>
- <entry>rich-calendar-cell</entry>
-
- <entry>Defines styles for cells with days</entry>
- </row>
-
- <row>
- <entry>rich-calendar-holly</entry>
-
- <entry>Defines styles for holiday</entry>
- </row>
-
- <row>
- <entry>rich-calendar-select</entry>
-
- <entry>Defines styles for a selected day</entry>
- </row>
-
- <row>
- <entry>rich-calendar-hover</entry>
-
- <entry>Defines styles for a hovered day</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <table>
- <title>Classes names that define a popup element</title>
-
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Class name</entry>
-
- <entry>Description</entry>
- </row>
- </thead>
-
- <tbody>
-
- <row>
- <entry>rich-calendar-exterior</entry>
-
- <entry>Defines styles for a popup element</entry>
- </row>
-
- <row>
- <entry>rich-calendar-tool</entry>
-
- <entry>Defines styles for toolbars</entry>
- </row>
-
- <row>
- <entry>rich-calendar-month</entry>
-
- <entry>Defines styles for names of months</entry>
- </row>
-
- <row>
- <entry>rich-calendar-header-optional</entry>
-
- <entry>Defines styles for an optional header</entry>
- </row>
-
- <row>
- <entry>rich-calendar-footer-optional</entry>
-
- <entry>Defines styles for an optional footer</entry>
- </row>
-
- <row>
- <entry>rich-calendar-header</entry>
-
- <entry>Defines styles for a header</entry>
- </row>
-
- <row>
- <entry>rich-calendar-footer</entry>
-
- <entry>Defines styles for a footer</entry>
- </row>
-
- <row>
- <entry>rich-calendar-boundary-dates</entry>
-
- <entry>Defines styles for an active boundary button</entry>
- </row>
-
- <row>
- <entry>rich-calendar-btn</entry>
-
- <entry>Defines styles for an inactive boundary date</entry>
- </row>
-
- <row>
- <entry>rich-calendar-current</entry>
-
- <entry>Defines styles for a today control date</entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
-
- <para>In order to redefine the style for all <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define the necessary properties in them.</para>
-
- <para>To change the style of particular <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> components define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:calendar></property>
- </emphasis>attributes.</para>
- </section>
-
- <section>
- <title>Relevant Resources Links</title>
- <para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf?c=calendar"
- >Here</ulink> you can see the example of <emphasis role="bold">
- <property><rich:calendar></property>
- </emphasis> usage and sources for the given example. </para>
- <para>How to use JavaScript API see on the <ulink
- url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078301#..."
- >RichFaces Users Forum</ulink>.</para>
- </section>
-
-</section>
Copied: tags/3.1.2.SP1/docs/userguide/en/src/main/docbook/included/calendar.xml (from rev 4155, tags/3.1.2.GA/docs/userguide/en/src/main/docbook/included/calendar.xml)
===================================================================
--- tags/3.1.2.SP1/docs/userguide/en/src/main/docbook/included/calendar.xml (rev 0)
+++ tags/3.1.2.SP1/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -0,0 +1,1033 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section>
+ <sectioninfo>
+ <keywordset>
+ <keyword>calendar</keyword>
+ </keywordset>
+ </sectioninfo>
+
+ <table>
+ <title>Component identification parameters</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+
+ <entry>Value</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>component-type</entry>
+
+ <entry>org.richfaces.Calendar</entry>
+ </row>
+
+ <row>
+ <entry>component-class</entry>
+
+ <entry>org.richfaces.component.html.HtmlCalendar</entry>
+ </row>
+
+ <row>
+ <entry>component-family</entry>
+
+ <entry>org.richfaces.Calendar</entry>
+ </row>
+
+ <row>
+ <entry>renderer-type</entry>
+
+ <entry>org.richfaces.CalendarRenderer</entry>
+ </row>
+
+ <row>
+ <entry>tag-class</entry>
+
+ <entry>org.richfaces.taglib.CalendarTag</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <section>
+ <title>Creating the Component with a Page Tag</title>
+
+ <para>To create the simplest variant on a page use the following syntax:</para>
+
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+ <rich:calendar popup="false"/>
+...]]></programlisting>
+ </section>
+
+ <section>
+ <title>Creating the Component Dynamically Using Java</title>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlCalendar;
+...
+HtmlCalendar myCalendar = new HtmlCalendar();
+...
+]]></programlisting>
+ </section>
+
+ <section>
+ <title>Details of Usage</title>
+ <para>The <emphasis>
+ <property>"popup"</property>
+ </emphasis> attribute defines calendar representation mode on a page. If it's
+ "true" the calendar is represented on a page as an input field and a button.
+ Clicking on the button calls the calendar popup as it's shown on the picture below. </para>
+ <figure>
+ <title>Using the <emphasis>
+ <property>"popup"</property>
+ </emphasis> attribute</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/calendar.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Usage <emphasis>
+ <property>"currentDate"</property>
+ </emphasis> attribute isn't available in the popup
+ mode.</para>
+ <para>The <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> component ables to render pages of days in two modes. Switching mode
+ could be defined with the <emphasis>
+ <property>"mode"</property>
+ </emphasis> attribute with two possible parameters: Ajax and Client. Default value is set to
+ "Client".</para>
+ <itemizedlist>
+ <listitem>
+ <para>Ajax</para>
+ </listitem>
+ </itemizedlist>
+
+ <para>Calendar requests portions of data from Data Model for a page rendering. If
+ <emphasis>
+ <property>"dataModel"</property>
+ </emphasis> attribute has <property>"null"</property> value, data requests are
+ not sent. In this case the "Ajax" mode is equal to the
+ "Client" mode. </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Client</para>
+ </listitem>
+ </itemizedlist>
+
+ <para>Calendar loads an initial portion of data in a specified range and use this data to
+ render months. Additional data requests are not sent.</para>
+
+ <para>There are three button-related attributes:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>
+ <property>"buttonLabel"</property>
+ </emphasis> defines a label for the button. If the attribute is set "buttonIcon" and
+ "buttonIconDisabled" are ignored </para>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>
+ <property>"buttonIcon"</property>
+ </emphasis> defines an icon for the button</para>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>
+ <property>"buttonIconDisabled"</property>
+ </emphasis> defines an icon for the disabled state of the button</para>
+ </listitem>
+ </itemizedlist>
+ <para>The <emphasis>
+ <property>"direction"</property>
+ </emphasis> and <emphasis>
+ <property>"jointPoint"</property>
+ </emphasis> attributes are used for defining aspects of calendar appearance.</para>
+ <para>The possible values for the <emphasis>
+ <property>"direction"</property>
+ </emphasis> are: </para>
+ <itemizedlist>
+ <listitem>top-left - a calendar drops to the top and left</listitem>
+ <listitem>top-right - a calendar drops to the top and right</listitem>
+ <listitem>bottom-left - a calendar drops to the bottom and left</listitem>
+ <listitem>bottom-right - a calendar drops to the bottom and right</listitem>
+ <listitem>auto - smart positioning activation</listitem>
+ </itemizedlist>
+ <para> By default, the <emphasis>
+ <property>"direction"</property>
+ </emphasis> attribute is set to "bottom-right".</para>
+ <para>The possible values for the <emphasis>
+ <property>"jointPoint"</property>
+ </emphasis> are: </para>
+ <itemizedlist>
+ <listitem>top-left - a calendar docked to the top-left point of the button element</listitem>
+ <listitem>top-right - a calendar docked to the top-right point of the button element</listitem>
+ <listitem>bottom-left - a calendar docked to the bottom-left point of the button element</listitem>
+ <listitem>bottom-right - a calendar docked to the bottom-right point of the button element</listitem>
+ <listitem>auto - smart positioning activation</listitem>
+ </itemizedlist>
+ <para> By default, the <emphasis>
+ <property>"jointPoint"</property>
+ </emphasis> attribute is set to "bottom-left".</para>
+ <para>The <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> component provides to use <emphasis>
+ <property>"header"</property>
+ </emphasis> facet. For example, you can add following scrolling elements to the facet:
+ {currentMonthControl}, {nextMonthControl}, {nextYearControl}, {previousYearControl},
+ {previousMonthControl}.</para>
+ <para>Simple example is placed below.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+ <f:facet name="header">
+ <f:verbatim>
+ {previousMonthControl} | {nextMonthControl}
+ </f:verbatim>
+ </f:facet>
+...]]></programlisting>
+ <para>It's possible to define <emphasis>
+ <property>"footer"</property>
+ </emphasis> facet and replace in it (in the same way how it was described for <emphasis>
+ <property>"header"</property>
+ </emphasis> facet), for example, following today bar elements: {todayControl},
+ {selectedDateControl}, {helpControl}.</para>
+ <para>Also you can use <emphasis>
+ <property>"optionalHeader"</property>
+ </emphasis> and <emphasis>
+ <property>"optionalFooter"</property>
+ </emphasis> facets. These facets define the top and the bottom elements of the calendar. They
+ are not attached to the control parts of the calendar. You can replace in them any content.</para>
+ <para>The <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> component provides the possibility to use <emphasis>
+ <property>"weekNumber"</property>
+ </emphasis> and <emphasis>
+ <property>"weekDay"</property>
+ </emphasis> facets. For example, using these facets you can change text style for the elements
+ of the calendar as it's shown in the example below:</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+ <f:facet name="weekNumber">
+ <h:outputText style="font-weight: bold;" value="{weekNumber}" />
+ </f:facet>
+...]]></programlisting>
+
+ <para>The example of using JavaScript API is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+ <a4j:form id="form">
+ <h:panelGroup id="test" columns="2" style="width: 300px">
+ <h:selectBooleanCheckbox value="#{bean.check}">
+ <a4j:support event="onchange" reRender="test" />
+ <f:selectItem itemValue="true" itemLabel="Show" />
+ <f:selectItem itemValue="false" itemLabel="Hide" />
+ </h:selectBooleanCheckbox>
+ <rich:calendar popup="true"
+ rendered="#{!bean.check}" value="#{bean.date}" id="c"/>
+ <a onclick="$('form:c').component.doExpand()" href="#">Show</a>
+ </h:panelGroup>
+ </a4j:form>
+...
+]]></programlisting>
+
+ <para>Also the discussion about this problem can be found on the <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078301#..."
+ >RichFaces Users Forum</ulink>.</para>
+
+ <para>The <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> component provides the possibility to use a special Data Model to define data for
+ element rendering. Data Model includes two major interfaces: </para>
+
+ <itemizedlist>
+ <listitem>CalendarDataModel</listitem>
+ <listitem>CalendarDataModelItem</listitem>
+ </itemizedlist>
+
+ <para><property>CalendarDataModel</property> provides the following function:</para>
+ <itemizedlist>
+ <listitem>CalendarDataModelItem[] getData(Date[]);</listitem>
+ </itemizedlist>
+
+ <para>This method is called when it's necessary to represent the next block of
+ CalendarDataItems. It happens during navigation to the next (previous) month or in any other
+ case when calendar renders. This method is called in <emphasis>
+ <property>"Ajax"</property>
+ </emphasis> mode when the calendar renders a new page. </para>
+
+ <para><property>CalendarDataModelItem</property> provides the following function:</para>
+ <itemizedlist>
+ <listitem>Date getDate() - returns date from the item. Default implementation returns date.</listitem>
+ <listitem>Boolean isEnabled() - returns <emphasis>
+ <property>"true"</property>
+ </emphasis> if date is <emphasis>
+ <property>"selectable"</property>
+ </emphasis> on the calendar. Default implementation returns "true".</listitem>
+ <listitem>String getStyleClass() - returns string appended to the style class for the date
+ span. For example it could be "relevant holyday". It means that the class
+ could be defined like the "rich-cal-day-relevant-holyday" one. Default
+ implementation returns empty string.</listitem>
+ <listitem>Object getData() - returns any additional payload that must be JSON-serializable
+ object. It could be used in the custom date representation on the calendar (inside the
+ custom facet).</listitem>
+ </itemizedlist>
+
+ </section>
+
+ <section>
+ <title>JavaScript API</title>
+ <table>
+ <title>JavaScript API</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Function</entry>
+
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+
+ <row>
+ <entry>selectDate(date)</entry>
+
+ <entry>Select the date specified. If the date isn't in current month - performs
+ request to select</entry>
+ </row>
+
+ <row>
+ <entry>isDateEnabled(date)</entry>
+
+ <entry>Check if given date is selectable</entry>
+ </row>
+
+ <row>
+ <entry>enableDate(date)</entry>
+
+ <entry>Enables date cell control on the calendar</entry>
+ </row>
+
+ <row>
+ <entry>disableDate(date)</entry>
+
+ <entry>Disables date cell control on the calendar</entry>
+ </row>
+
+ <row>
+ <entry>enableDates(date[])</entry>
+
+ <entry>Enables dates cell controls set on the calendar</entry>
+ </row>
+
+ <row>
+ <entry>disableDates(date[])</entry>
+
+ <entry>Disables dates cell controls set on the calendar</entry>
+ </row>
+
+ <row>
+ <entry>nextMonth()</entry>
+
+ <entry>Navigate to next month</entry>
+ </row>
+
+ <row>
+ <entry>nextYear()</entry>
+
+ <entry>Navigate to next year</entry>
+ </row>
+
+ <row>
+ <entry>prevMonth()</entry>
+
+ <entry>Navigate to previous month </entry>
+ </row>
+
+ <row>
+ <entry>prevYear()</entry>
+
+ <entry>Navigate to previous year</entry>
+ </row>
+
+ <row>
+ <entry>today()</entry>
+
+ <entry>Select today date</entry>
+ </row>
+
+ <row>
+ <entry>getSelectedDate()</entry>
+
+ <entry>Return currently selected date</entry>
+ </row>
+
+ <row>
+ <entry>Object getData()</entry>
+
+ <entry>Return additional data for the date</entry>
+ </row>
+
+ <row>
+ <entry>enable()</entry>
+
+ <entry>enables calendar</entry>
+ </row>
+
+ <row>
+ <entry>disable()</entry>
+
+ <entry>disables calendar</entry>
+ </row>
+
+ <row>
+ <entry>getCurrentMonth()</entry>
+
+ <entry>Returns number of the month currently being viewed</entry>
+ </row>
+
+ <row>
+ <entry>getCurrentYear()</entry>
+
+ <entry>Returns number of the year currently being viewed</entry>
+ </row>
+
+ <row>
+ <entry>doCollapse()</entry>
+
+ <entry>Collapse calendar element</entry>
+ </row>
+
+ <row>
+ <entry>doExpand()</entry>
+
+ <entry>Expand calendar element</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ </section>
+
+
+ <section>
+ <title>Look-and-Feel Customization</title>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
+
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> components at once:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Redefine the corresponding skin parameters</para>
+ </listitem>
+
+ <listitem>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
+ <title>Skin Parameters Redefinition</title>
+
+ <table>
+ <title>Skin parameters redefinition for a popup element</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for headers (header, optional header)</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-bottom-color</entry>
+ </row>
+
+ <row>
+ <entry>additionalBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+
+ <entry>font-family</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for footers (footer, optional footer) and names of working
+ days</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-top-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-right-color</entry>
+ </row>
+
+ <row>
+ <entry>additionalBackgroundColor</entry>
+
+ <entry>background</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+
+ <entry>font-family</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for weeks numbers</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-bottom-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-right-color</entry>
+ </row>
+
+ <row>
+ <entry>additionalBackgroundColor</entry>
+
+ <entry>background</entry>
+ </row>
+
+ <row>
+ <entry>calendarWeekBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+
+ <entry>font-family</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a toolbar and names of months</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>headerBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>headerSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
+ <entry>headerFamilyFont</entry>
+
+ <entry>font-family</entry>
+ </row>
+
+ <row>
+ <entry>headerWeightFont</entry>
+
+ <entry>font-weight</entry>
+ </row>
+
+ <row>
+ <entry>headerTextColor</entry>
+
+ <entry>color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for cells with days</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-bottom-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+
+ <entry>border-right-color</entry>
+ </row>
+
+ <row>
+ <entry>generalBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+
+ <entry>font-size</entry>
+ </row>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+
+ <entry>font-family</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for holiday</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>calendarHolidaysBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>calendarHolidaysTextColor</entry>
+
+ <entry>color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for cell with a current date</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>calendarCurrentBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>calendarCurrentTextColor</entry>
+
+ <entry>color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a selected day</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>headerBackgroundColor</entry>
+
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>headerTextColor</entry>
+
+ <entry>color</entry>
+ </row>
+
+ <row>
+ <entry>headerWeightFont</entry>
+
+ <entry>font-weight</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ </section>
+
+ <section>
+ <title>Definition of Custom Style Classes</title>
+
+ <para>On the screenshot there are classes names that define styles for component elements.</para>
+
+ <figure>
+ <title>Style classes</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/calendar1.png" scalefit="1"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <table>
+ <title>Classes names that define an input field and a button appearance</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Class name</entry>
+
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>rich-calendar-input </entry>
+
+ <entry>Defines styles for an input field</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-button</entry>
+
+ <entry>Defines styles for a popup button</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Classes names that define a days appearance</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Class name</entry>
+
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+
+ <row>
+ <entry>rich-calendar-days</entry>
+
+ <entry>Defines styles for names of working days in a header</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-weekends</entry>
+
+ <entry>Defines styles for names of weekend in a header</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-week</entry>
+
+ <entry>Defines styles for weeks numbers</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-today</entry>
+
+ <entry>Defines styles for cell with a current date</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-cell</entry>
+
+ <entry>Defines styles for cells with days</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-holly</entry>
+
+ <entry>Defines styles for holiday</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-select</entry>
+
+ <entry>Defines styles for a selected day</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-hover</entry>
+
+ <entry>Defines styles for a hovered day</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Classes names that define a popup element</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Class name</entry>
+
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+
+ <row>
+ <entry>rich-calendar-exterior</entry>
+
+ <entry>Defines styles for a popup element</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-tool</entry>
+
+ <entry>Defines styles for toolbars</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-month</entry>
+
+ <entry>Defines styles for names of months</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-header-optional</entry>
+
+ <entry>Defines styles for an optional header</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-footer-optional</entry>
+
+ <entry>Defines styles for an optional footer</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-header</entry>
+
+ <entry>Defines styles for a header</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-footer</entry>
+
+ <entry>Defines styles for a footer</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-boundary-dates</entry>
+
+ <entry>Defines styles for an active boundary button</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-btn</entry>
+
+ <entry>Defines styles for an inactive boundary date</entry>
+ </row>
+
+ <row>
+ <entry>rich-calendar-current</entry>
+
+ <entry>Defines styles for a today control date</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <para>In order to redefine the style for all <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names and define the necessary properties in them.</para>
+
+ <para>To change the style of particular <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> components define your own style classes in the corresponding <emphasis
+ role="bold">
+ <property><rich:calendar></property>
+ </emphasis>attributes.</para>
+ </section>
+
+ <section>
+ <title>Relevant Resources Links</title>
+ <para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf?c=calendar"
+ >Here</ulink> you can see the example of <emphasis role="bold">
+ <property><rich:calendar></property>
+ </emphasis> usage and sources for the given example. </para>
+ <para>How to use JavaScript API see on the <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078301#..."
+ >RichFaces Users Forum</ulink>.</para>
+ </section>
+
+</section>
Modified: tags/3.1.2.SP1/docs/userguide/pom.xml
===================================================================
--- tags/3.1.2.GA/docs/userguide/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/docs/userguide/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,13 +4,13 @@
<parent>
<artifactId>docs</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.docs</groupId>
<artifactId>userguide</artifactId>
<packaging>pom</packaging>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>User guide</name>
<description>RichFaces user guide</description>
<pluginRepositories>
Modified: tags/3.1.2.SP1/docs/xslt/en/pom.xml
===================================================================
--- tags/3.1.2.GA/docs/xslt/en/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/docs/xslt/en/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>xslt</artifactId>
<groupId>org.richfaces.docs</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.docs.xslt</groupId>
<artifactId>en</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>jar</packaging>
<name>Documentation stylesheets (English translation)</name>
<description>
Modified: tags/3.1.2.SP1/docs/xslt/pom.xml
===================================================================
--- tags/3.1.2.GA/docs/xslt/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/docs/xslt/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>docs</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.docs</groupId>
<artifactId>xslt</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>pom</packaging>
<name>Documentation stylesheets</name>
<description>Docbook documentation stylesheets</description>
Modified: tags/3.1.2.SP1/extensions/gwt/pom.xml
===================================================================
--- tags/3.1.2.GA/extensions/gwt/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/extensions/gwt/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,7 +3,7 @@
<parent>
<artifactId>master</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
@@ -99,7 +99,7 @@
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>ajax4jsf</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>com.sun.facelets</groupId>
Modified: tags/3.1.2.SP1/extensions/pom.xml
===================================================================
--- tags/3.1.2.GA/extensions/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/extensions/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
<artifactId>extensions</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Richfaces extensions for a different environments</name>
<packaging>pom</packaging>
<modules>
Modified: tags/3.1.2.SP1/extensions/portlet/pom.xml
===================================================================
--- tags/3.1.2.GA/extensions/portlet/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/extensions/portlet/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>extensions</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.extensions</groupId>
<artifactId>portlet</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>ajax4jsf portlet brige</name>
<url>http://labs.jboss.com/wiki/Ajax4jsf/a4j-portlet</url>
<dependencies>
@@ -56,12 +56,12 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-test</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<scope>test</scope>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/extensions/seam/pom.xml
===================================================================
--- tags/3.1.2.GA/extensions/seam/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/extensions/seam/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>ajax4jsf</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
Modified: tags/3.1.2.SP1/extensions/trinidad/pom.xml
===================================================================
--- tags/3.1.2.GA/extensions/trinidad/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/extensions/trinidad/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>ajax4jsf</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.trinidad</groupId>
Modified: tags/3.1.2.SP1/framework/api/pom.xml
===================================================================
--- tags/3.1.2.GA/framework/api/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/framework/api/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,13 +2,13 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
<name>Java Server Faces AJAX framework API</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<build>
<plugins>
<plugin>
Modified: tags/3.1.2.SP1/framework/api-parent/pom.xml
===================================================================
--- tags/3.1.2.GA/framework/api-parent/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/framework/api-parent/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,13 +4,13 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.framework</groupId>
<packaging>pom</packaging>
<artifactId>api-parent</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Java Server Faces AJAX framework API Dependencies</name>
<properties>
<jsfVersion>1.1</jsfVersion>
Modified: tags/3.1.2.SP1/framework/impl/pom.xml
===================================================================
--- tags/3.1.2.GA/framework/impl/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/framework/impl/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Java Server Faces AJAX framework implementation</name>
<build>
<resources>
@@ -181,7 +181,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<profiles>
Modified: tags/3.1.2.SP1/framework/impl-parent/pom.xml
===================================================================
--- tags/3.1.2.GA/framework/impl-parent/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/framework/impl-parent/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -5,12 +5,12 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.framework</groupId>
<artifactId>impl-parent</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>pom</packaging>
<name>
Java Server Faces AJAX framework implementation parent file
@@ -203,7 +203,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<properties>
Modified: tags/3.1.2.SP1/framework/pom.xml
===================================================================
--- tags/3.1.2.GA/framework/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/framework/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
<artifactId>framework</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>pom</packaging>
<name>Java Server Faces AJAX framework</name>
<dependencies />
Modified: tags/3.1.2.SP1/framework/test/pom.xml
===================================================================
--- tags/3.1.2.GA/framework/test/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/framework/test/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>framework</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-test</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Ajax4Jsf test framework</name>
<url>https://ajax4jsf.dev.java.net</url>
<dependencies>
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>htmlunit</groupId>
Modified: tags/3.1.2.SP1/pom.xml
===================================================================
--- tags/3.1.2.GA/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,7 +4,7 @@
<artifactId>root</artifactId>
<packaging>pom</packaging>
<name>Jboss RichFaces project</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<url>http://labs.jboss.com/jbossrichfaces</url>
<properties>
<snapshotRepository>
@@ -129,9 +129,9 @@
</license>
</licenses>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/tags/3.1.2.GA</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/tags/3.1.2.GA</developerConnection>
- <url>https://svn.jboss.org/repos/richfaces/tags/3.1.2.GA</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/tags/3.1.3.SP1</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/tags/3.1.3.SP1</developerConnection>
+ <url>https://svn.jboss.org/repos/richfaces/tags/3.1.3.SP1</url>
</scm>
<profiles>
<profile>
Modified: tags/3.1.2.SP1/samples/ajaxPortlet/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/ajaxPortlet/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/ajaxPortlet/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -5,12 +5,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>portalAjaxSample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<description>Ajax JSF sample portlet</description>
<build>
@@ -27,7 +27,7 @@
<dependency>
<groupId>org.richfaces.extensions</groupId>
<artifactId>portlet</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<exclusions>
<exclusion>
<groupId>javax.faces</groupId>
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
Modified: tags/3.1.2.SP1/samples/calendar-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/calendar-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/calendar-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,29 +3,29 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>calendar-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>calendar-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>calendar</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/dataFilterSliderDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/dataFilterSliderDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/dataFilterSliderDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,29 +2,29 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
<artifactId>dataFilterSliderDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>dataFilterSliderDemo Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>dataFilterSlider</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/dataTableDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/dataTableDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/dataTableDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>dataTableDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<url>http://maven.apache.org</url>
@@ -18,12 +18,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>dataTable</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/datascroller-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/datascroller-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/datascroller-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>datascroller-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>datascroller</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/dragDropDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/dragDropDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/dragDropDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>dragDropDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>Drag/Drop demo app</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>drag-drop</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/dropdownmenu-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/dropdownmenu-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/dropdownmenu-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>dropdownmenu-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,17 +17,17 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>dropdown-menu</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>menu-components</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/effect-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/effect-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/effect-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,19 +2,19 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>effect-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>effect Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>effect</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/gmap-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/gmap-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/gmap-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,19 +2,19 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>gmap-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>gmap-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>gmap</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/inputNumberSliderDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/inputNumberSliderDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/inputNumberSliderDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>inputNumberSliderDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>inputnumber-slider</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/inputNumberSpinnerDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/inputNumberSpinnerDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/inputNumberSpinnerDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>inputNumberSpinnerDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>inputnumber-spinner</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/jQuery-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/jQuery-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/jQuery-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,19 +2,19 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>jQuery-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>jQuery-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>jQuery</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/local-value-demo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/local-value-demo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/local-value-demo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,24 +2,24 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>local-value-demo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>richfaces-local-value-demo Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/modalpanel-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/modalpanel-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/modalpanel-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,24 +2,24 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>modalpanel-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>modalpanel-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>modal-panel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/panel-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/panel-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/panel-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,24 +2,24 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>panel-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>panel-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>panel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/panelbar-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/panelbar-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/panelbar-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>panelbar-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>panelbar</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/panelmenu-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/panelmenu-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/panelmenu-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,24 +3,24 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>panelmenu-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>panelmenu-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>panelmenu</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,14 +3,14 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
<artifactId>samples</artifactId>
<packaging>pom</packaging>
<name>RichFaces Components Examples</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<url>http://labs.jboss.com/jbossrichfaces/samples</url>
<properties>
<!-- -->
@@ -67,12 +67,12 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>com.sun.facelets</groupId>
@@ -361,7 +361,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<exclusions>
<exclusion>
<groupId>javax.faces</groupId>
Modified: tags/3.1.2.SP1/samples/portal-echo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/portal-echo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/portal-echo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -5,13 +5,13 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>portal-echo</artifactId>
<packaging>war</packaging>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<description>Ajax JSF sample portlet</description>
<build>
<defaultGoal>package</defaultGoal>
Modified: tags/3.1.2.SP1/samples/rich-message-demo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/rich-message-demo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/rich-message-demo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,29 +3,29 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>rich-message-demo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>rich-message-demo</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>message</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/richfaces-art-datatable/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/richfaces-art-datatable/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/richfaces-art-datatable/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,19 +3,19 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>richfaces-art-datatable</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>richfaces-art-datatableDemo Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/richfaces-demo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/richfaces-demo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/richfaces-demo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,19 +2,19 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>richfaces-demo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>richfaces-demo Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>com.uwyn</groupId>
@@ -24,7 +24,7 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/richfaces-ear-demo/ejb/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/richfaces-ear-demo/ejb/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/richfaces-ear-demo/ejb/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,14 +4,14 @@
<parent>
<artifactId>richfaces-ear-demo</artifactId>
<groupId>org.richfaces.samples</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
<artifactId>ejb</artifactId>
<packaging>ejb</packaging>
<name>ejb</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
@@ -23,7 +23,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<exclusions>
<exclusion>
<groupId>javax.faces</groupId>
Modified: tags/3.1.2.SP1/samples/richfaces-ear-demo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/richfaces-ear-demo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/richfaces-ear-demo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,14 +4,14 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>richfaces-ear-demo</artifactId>
<name>JSF 1.2/Jee5 enterprise application demo</name>
<packaging>pom</packaging>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<build>
<pluginManagement>
<plugins>
Modified: tags/3.1.2.SP1/samples/richfaces-ear-demo/richfacesEAR/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/richfaces-ear-demo/richfacesEAR/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/richfaces-ear-demo/richfacesEAR/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,32 +4,32 @@
<parent>
<artifactId>richfaces-ear-demo</artifactId>
<groupId>org.richfaces.samples</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
<artifactId>richfacesEAR</artifactId>
<name>richfacesEAR</name>
<packaging>ear</packaging>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
<artifactId>ejb</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<type>ejb</type>
</dependency>
<dependency>
<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
<artifactId>ejb</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<type>ejb-client</type>
</dependency>
<dependency>
<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
<artifactId>webapp</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<type>war</type>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/richfaces-ear-demo/webapp/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/richfaces-ear-demo/webapp/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/richfaces-ear-demo/webapp/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,14 +4,14 @@
<parent>
<artifactId>richfaces-ear-demo</artifactId>
<groupId>org.richfaces.samples</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
<artifactId>webapp</artifactId>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<url>http://maven.apache.org</url>
<build>
<finalName>webapp</finalName>
@@ -48,17 +48,17 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<optional>true</optional>
</dependency>
<dependency>
@@ -71,7 +71,7 @@
<dependency>
<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
<artifactId>ejb</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<type>ejb-client</type>
<scope>provided</scope>
<optional>true</optional>
Modified: tags/3.1.2.SP1/samples/scrollableDataTableDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/scrollableDataTableDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/scrollableDataTableDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,34 +4,34 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>scrollableDataTableDemo</artifactId>
<groupId>org.richfaces.samples</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>scrollableDataTable Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>scrollableDataTable</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>dataTable</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/seamEAR/ear/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/ear/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/ear/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -6,18 +6,18 @@
<groupId>org.richfaces.samples.seamEAR</groupId>
<artifactId>ear</artifactId>
<packaging>ear</packaging>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>ear assembly</name>
<parent>
<groupId>org.richfaces.samples</groupId>
<artifactId>seamEAR</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<dependencies>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<exclusions>
<exclusion>
<groupId>javax.faces</groupId>
Modified: tags/3.1.2.SP1/samples/seamEAR/ejbs/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/ejbs/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/ejbs/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -6,12 +6,12 @@
<groupId>org.richfaces.samples.seamEAR</groupId>
<artifactId>ejbs</artifactId>
<packaging>ejb</packaging>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>enterprise java beans</name>
<parent>
<groupId>org.richfaces.samples</groupId>
<artifactId>seamEAR</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<dependencies>
<dependency>
@@ -32,7 +32,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<exclusions>
<exclusion>
<groupId>javax.faces</groupId>
Modified: tags/3.1.2.SP1/samples/seamEAR/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -6,12 +6,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
-->
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<artifactId>seamEAR</artifactId>
<packaging>pom</packaging>
<name>seam EAR project</name>
@@ -58,23 +58,23 @@
org.richfaces.samples.seamEAR.projects
</groupId>
<artifactId>logging</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples.seamEAR</groupId>
<artifactId>primary-source</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples.seamEAR.wars</groupId>
<artifactId>seamWebapp</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.richfaces.samples.seamEAR</groupId>
<artifactId>ejbs</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<type>ejb</type>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/seamEAR/primary-source/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/primary-source/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/primary-source/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -7,7 +7,7 @@
<parent>
<groupId>org.richfaces.samples</groupId>
<artifactId>seamEAR</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<dependencies>
<dependency>
Modified: tags/3.1.2.SP1/samples/seamEAR/projects/logging/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/projects/logging/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/projects/logging/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -7,6 +7,6 @@
<parent>
<groupId>org.richfaces.samples.seamEAR</groupId>
<artifactId>projects</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
</project>
Modified: tags/3.1.2.SP1/samples/seamEAR/projects/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/projects/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/projects/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,14 +1,14 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples.seamEAR</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<artifactId>projects</artifactId>
<packaging>pom</packaging>
<name>sub projects</name>
<parent>
<groupId>org.richfaces.samples</groupId>
<artifactId>seamEAR</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modules>
<module>logging</module>
Modified: tags/3.1.2.SP1/samples/seamEAR/wars/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/wars/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/wars/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,11 +4,11 @@
<artifactId>wars</artifactId>
<packaging>pom</packaging>
<name>wars</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<parent>
<groupId>org.richfaces.samples</groupId>
<artifactId>seamEAR</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modules>
<module>seamWebapp</module>
Modified: tags/3.1.2.SP1/samples/seamEAR/wars/seamWebapp/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamEAR/wars/seamWebapp/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamEAR/wars/seamWebapp/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.richfaces.samples.seamEAR</groupId>
<artifactId>wars</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<build>
<finalName>seamWebapp</finalName>
@@ -42,17 +42,17 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: tags/3.1.2.SP1/samples/seamIntegration/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/seamIntegration/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/seamIntegration/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -5,14 +5,14 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>seamIntegration</artifactId>
<packaging>war</packaging>
<name>seamIntegration Maven Webapp</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<build>
<finalName>seamIntegration</finalName>
<plugins>
Modified: tags/3.1.2.SP1/samples/separator-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/separator-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/separator-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>separator-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>separator</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/simpleTogglePanel-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/simpleTogglePanel-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/simpleTogglePanel-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>simpleTogglePanel-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>simpleTogglePanel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/skins/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/skins/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/skins/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
Modified: tags/3.1.2.SP1/samples/suggestionbox-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/suggestionbox-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/suggestionbox-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>suggestionbox-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>suggestionbox-sample Maven Webapp</name>
<build>
@@ -17,17 +17,17 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>suggestionbox</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/tabPanelDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/tabPanelDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/tabPanelDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>tabPanelDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,22 +17,22 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>tabPanel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>panel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/togglePanel-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/togglePanel-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/togglePanel-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>togglePanel-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,17 +17,17 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>togglePanel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>panel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/tomahawkCompability/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/tomahawkCompability/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/tomahawkCompability/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -8,7 +8,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>tomahawkCompability</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>tomahawkCompability Maven Webapp</name>
<properties>
Modified: tags/3.1.2.SP1/samples/toolBarDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/toolBarDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/toolBarDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,12 +2,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>toolBarDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>webapp Maven Webapp</name>
<build>
@@ -17,12 +17,12 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>toolBar</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/samples/tooltip-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/tooltip-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/tooltip-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,24 +3,24 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>tooltip-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>tooltip-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>tooltip</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/samples/tree-demo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/tree-demo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/tree-demo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,29 +2,29 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>tree-demo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>tree-demo Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>tree</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>drag-drop</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/treeModelDemo/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/treeModelDemo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/treeModelDemo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,24 +3,24 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>treeModelDemo</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>Tree Model Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>treeModel</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>tree</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/samples/useCases/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/useCases/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/useCases/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -5,12 +5,12 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>useCases</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>useCases Maven Webapp</name>
<build>
Modified: tags/3.1.2.SP1/samples/virtualEarth-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/samples/virtualEarth-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/samples/virtualEarth-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -4,19 +4,19 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.samples</groupId>
<artifactId>virtualEarth-sample</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<packaging>war</packaging>
<name>gmap-sample Maven Webapp</name>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>virtualEarth</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
<build>
Modified: tags/3.1.2.SP1/sandbox/api/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/api/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/api/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,18 +2,18 @@
<parent>
<artifactId>sandbox</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.sandbox</groupId>
<artifactId>richfaces-sandbox-api</artifactId>
<name>Richfaces Sandbox API</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<dependencies>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
Modified: tags/3.1.2.SP1/sandbox/impl/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/impl/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/impl/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,28 +2,28 @@
<parent>
<artifactId>sandbox</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.sandbox</groupId>
<artifactId>richfaces-sandbox-impl</artifactId>
<name>Richfaces Sandbox Implementation</name>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<dependencies>
<dependency>
<groupId>org.richfaces.sandbox</groupId>
<artifactId>richfaces-sandbox-api</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-test</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
Modified: tags/3.1.2.SP1/sandbox/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
Modified: tags/3.1.2.SP1/sandbox/samples/dialog-window-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/samples/dialog-window-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/samples/dialog-window-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -15,12 +15,12 @@
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>dialog-window</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/sandbox/samples/panel2-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/samples/panel2-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/samples/panel2-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -15,12 +15,12 @@
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>panel2</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/sandbox/samples/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/samples/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/samples/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.richfaces</groupId>
<artifactId>samples</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: tags/3.1.2.SP1/sandbox/samples/rich-message-demo/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/samples/rich-message-demo/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/samples/rich-message-demo/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.demo</groupId>
@@ -13,17 +13,17 @@
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>message</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/sandbox/samples/simpleTogglePanel2-sample/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/samples/simpleTogglePanel2-sample/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/samples/simpleTogglePanel2-sample/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
@@ -16,12 +16,12 @@
<dependency>
<groupId>org.richfaces.sandbox.ui</groupId>
<artifactId>simpleTogglePanel2</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/sandbox/ui/dialog-window/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/ui/dialog-window/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/ui/dialog-window/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.sandbox.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -39,12 +39,12 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/sandbox/ui/panel2/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/ui/panel2/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/ui/panel2/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.sandbox.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<id>generate-sources</id>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/sandbox/ui/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/ui/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/ui/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,7 +3,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.sandbox</groupId>
Modified: tags/3.1.2.SP1/sandbox/ui/simpleTogglePanel2/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/ui/simpleTogglePanel2/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/ui/simpleTogglePanel2/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.sandbox.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/sandbox/ui/state/pom.xml
===================================================================
--- tags/3.1.2.GA/sandbox/ui/state/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/sandbox/ui/state/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces.sandbox</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/test-applications/facelets/pom.xml
===================================================================
--- tags/3.1.2.GA/test-applications/facelets/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/test-applications/facelets/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>test-applications</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: tags/3.1.2.SP1/test-applications/jsp/pom.xml
===================================================================
--- tags/3.1.2.GA/test-applications/jsp/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/test-applications/jsp/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>test-applications</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: tags/3.1.2.SP1/test-applications/pom.xml
===================================================================
--- tags/3.1.2.GA/test-applications/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/test-applications/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<relativePath>../samples</relativePath>
</parent>
@@ -43,11 +43,11 @@
<groupId>org.richfaces</groupId>
<artifactId>test-applications</artifactId>
<packaging>pom</packaging>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>RichFaces Test Applications</name>
<properties>
- <rfVersion>3.1.2.GA</rfVersion>
+ <rfVersion>3.1.3.SP1</rfVersion>
</properties>
<modules>
Modified: tags/3.1.2.SP1/ui/assembly/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/assembly/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/assembly/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -14,7 +14,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<configuration>
<library>
<prefix>org.richfaces</prefix>
Modified: tags/3.1.2.SP1/ui/calendar/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/calendar/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/calendar/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<id>generate-sources</id>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/core/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/core/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/core/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/create.bat
===================================================================
--- tags/3.1.2.GA/ui/create.bat 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/create.bat 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1 +1 @@
-mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsf-component -DarchetypeVersion=3.1.2.GA -DgroupId=org.richfaces -DartifactId=%1
\ No newline at end of file
+mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsf-component -DarchetypeVersion=3.1.3.SP1 -DgroupId=org.richfaces -DartifactId=%1
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/create.sh
===================================================================
--- tags/3.1.2.GA/ui/create.sh 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/create.sh 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,3 +1,3 @@
#!/bin/sh
mvn archetype:create -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsf-component \
- -DarchetypeVersion=3.1.2.GA -DgroupId=org.richfaces.ui -DartifactId=$1
+ -DarchetypeVersion=3.1.3.SP1 -DgroupId=org.richfaces.ui -DartifactId=$1
Modified: tags/3.1.2.SP1/ui/dataFilterSlider/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/dataFilterSlider/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/dataFilterSlider/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -14,7 +14,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/dataTable/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/dataTable/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/dataTable/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui-core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
-->
</dependencies>
Modified: tags/3.1.2.SP1/ui/datascroller/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/datascroller/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/datascroller/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/drag-drop/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/drag-drop/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/drag-drop/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui-core</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
-->
</dependencies>
Modified: tags/3.1.2.SP1/ui/dropdown-menu/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/dropdown-menu/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/dropdown-menu/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,12 +44,12 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>menu-components</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/effect/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/effect/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/effect/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/gmap/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/gmap/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/gmap/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/inputnumber-slider/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/inputnumber-slider/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/inputnumber-slider/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/inputnumber-spinner/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/inputnumber-spinner/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/inputnumber-spinner/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<id>generate-sources</id>
Modified: tags/3.1.2.SP1/ui/insert/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/insert/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/insert/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/jQuery/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/jQuery/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/jQuery/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/menu-components/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/menu-components/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/menu-components/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/message/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/message/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/message/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,19 +2,19 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
<artifactId>message</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Message</name>
<build>
<plugins>
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Deleted: tags/3.1.2.SP1/ui/message/src/main/config/component/message.xml
===================================================================
--- tags/3.1.2.GA/ui/message/src/main/config/component/message.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/message/src/main/config/component/message.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,520 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
-<components>
- <component>
- <name>org.richfaces.component.RichMessage</name>
- <family>org.richfaces.component.RichMessage</family>
- <classname>
- org.richfaces.component.html.HtmlRichMessage
- </classname>
- <superclass>org.richfaces.component.UIRichMessage</superclass>
-
- <test>
- <classname>org.richfaces.component.html.HtmlRichMessageTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
-
- <description>
- <![CDATA[ richfaces Message Component ]]>
- </description>
-
- <renderer generate="false" override="true">
- <name>org.richfaces.RichMessageRenderer</name>
- <classname>org.richfaces.renderkit.html.HtmlRichMessageRenderer</classname>
- <superclass>org.richfaces.renderkit.RichMessageBaseRenderer</superclass>
- </renderer>
- <tag>
- <name>message</name>
- <classname>org.richfaces.taglib.RichMessageTag</classname>
- <superclass>
- org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
- </superclass>
-
- <test>
- <classname>org.richfaces.taglib.RichMessageTagTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
-
- </tag>
-
- <property attachedstate="true">
- <name>passedLabel</name>
- <classname>java.lang.String</classname>
- <description>
- Attribute should define the label to be displayed when no message appears
- </description>
- </property>
-
- <property>
- <name>for</name>
- <classname>java.lang.String</classname>
- <description>
- Client identifier of the component for which to display messages
- </description>
-
- </property>
-
- <property>
- <name>showDetail</name>
- <classname>boolean</classname>
- <defaultvalue>true</defaultvalue>
- <description>
- Flag indicating whether the summary portion of displayed messages should be included. Default value is "true"
- </description>
- </property>
-
- <property>
- <name>showSummary</name>
- <classname>boolean</classname>
- <defaultvalue>false</defaultvalue>
- <description>
- Flag indicating whether the summary portion of displayed messages should be included. Default value is "false"
- </description>
- </property>
-
- <property>
- <name>title</name>
- <classname>java.lang.String</classname>
- <description>
- Advisory title information about markup elements generated for this component
- </description>
- </property>
-
- <property>
- <name>tooltip</name>
- <classname>boolean</classname>
- <defaultvalue>false</defaultvalue>
- <description>
- Flag indicating whether the detail portion of the message should be displayed as a tooltip
- </description>
- </property>
-
- <property>
- <name>errorClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "ERROR"
- </description>
- </property>
-
- <property>
- <name>fatalClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "FATAL"
- </description>
- </property>
-
- <property>
- <name>infoClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "INFO"
- </description>
- </property>
-
- <property>
- <name>styleClass</name>
- <classname>java.lang.String</classname>
- <description>
- Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup
- </description>
- </property>
-
- <property>
- <name>style</name>
- <classname>java.lang.String</classname>
- <description>
- The CSS style for message
- </description>
- </property>
- <property>
- <name>warnClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "WARN"
- </description>
- </property>
-
- <property>
- <name>errorMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message marker with a severity class of "ERROR"
- </description>
- </property>
-
- <property>
- <name>warnClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "WARN"
- </description>
- </property>
-
- <!--property>
- <name>errorMarkerClass</name>
- <classname>java.lang.String</classname>
- </property-->
-
- <property>
- <name>fatalMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message marker with a severity class of "FATAL"
- </description>
- </property>
-
- <property>
- <name>infoMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message marker with a severity class of "INFO"
- </description>
- </property>
-
- <property>
- <name>warnMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply any message marker with a severity class of "WARN"
- </description>
- </property>
-
- <property>
- <name>markerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to marker
- </description>
- </property>
-
- <property>
- <name>markerStyle</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style(s) is/are to be applied to marker when this component is rendered
- </description>
- </property>
-
- <property>
- <name>errorLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "ERROR"
- </description>
- </property>
-
- <property>
- <name>fatalLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "FATAL"
- </description>
- </property>
-
- <property>
- <name>infoLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "INFO"
- </description>
- </property>
-
- <property>
- <name>warnLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "WARN"
- </description>
- </property>
-
- <property>
- <name>labelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to label
- </description>
- </property>
-
- <property attachedstate="true" hidden="true">
- <name>binding</name>
- <classname>javax.faces.component.UIComponent</classname>
- <description>
- The attribute takes a value-binding expression for a component property of a backing bean
- </description>
- </property>
-
- &ui_component_attributes;
- &ajax_output_attributes;
- </component>
-
- <component>
- <name>org.richfaces.component.RichMessages</name>
- <family>org.richfaces.component.RichMessages</family>
- <classname>
- org.richfaces.component.html.HtmlRichMessages
- </classname>
- <superclass>org.richfaces.component.UIRichMessages</superclass>
-
- <test>
- <classname>org.richfaces.component.html.HtmlRichMessagesTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
-
- <description>
- <![CDATA[ richfaces Messages Component ]]>
- </description>
-
- <renderer generate="false" override="true">
- <name>org.richfaces.RichMessagesRenderer</name>
- <classname>org.richfaces.renderkit.html.HtmlRichMessagesRenderer</classname>
- <superclass>org.richfaces.renderkit.RichMessageBaseRenderer</superclass>
- </renderer>
-
- <tag>
- <name>messages</name>
- <classname>org.richfaces.taglib.RichMessagesTag</classname>
- <superclass>
- org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
- </superclass>
-
- <test>
- <classname>org.richfaces.taglib.RichMessagesTagTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
- </tag>
-
- <property attachedstate="true">
- <name>passedLabel</name>
- <classname>java.lang.String</classname>
- <description>
- Attribute should define the label to be displayed when no message appears
- </description>
- </property>
-
- <property>
- <name>var</name>
- <classname>java.lang.String</classname>
- <description>
- Name of a request-scope attribute under which the list of the messages should be available
- </description>
- </property>
-
- <property>
- <name>layout</name>
- <classname>java.lang.String</classname>
- <defaultvalue>"list"</defaultvalue>
- <description>
- The type of layout markup to use when rendering error messages. Valid values are "table" (an HTML table), "list" (an HTML list) and iterator. If not specified, the default value is "list"
- </description>
- </property>
-
- <property>
- <name>globalOnly</name>
- <classname>boolean</classname>
- <defaultvalue>false</defaultvalue>
- <description>
- Flag indicating that only global messages (that is, messages not associated with any client identifier) are to be displayed. Default value is "false"
- </description>
- </property>
-
- <property>
- <name>showDetail</name>
- <classname>boolean</classname>
- <defaultvalue>true</defaultvalue>
- <description>
- Flag indicating whether the summary portion of displayed messages should be included. Default value is "true"
- </description>
- </property>
-
- <property>
- <name>showSummary</name>
- <classname>boolean</classname>
- <defaultvalue>false</defaultvalue>
- <description>
- Flag indicating whether the summary portion of displayed messages should be included. Default value is "false"
- </description>
- </property>
-
- <property>
- <name>title</name>
- <classname>java.lang.String</classname>
- <description>
- Advisory title information about markup elements generated for this component
- </description>
- </property>
-
- <property>
- <name>tooltip</name>
- <classname>boolean</classname>
- <defaultvalue>false</defaultvalue>
- <description>
- Flag indicating whether the detail portion of the message should be displayed as a tooltip
- </description>
- </property>
-
- <property>
- <name>errorClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "ERROR"
- </description>
- </property>
-
- <property>
- <name>fatalClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "FATAL"
- </description>
- </property>
-
- <property>
- <name>infoClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "INFO"
- </description>
- </property>
-
- <property>
- <name>styleClass</name>
- <classname>java.lang.String</classname>
- <description>
- Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup
- </description>
- </property>
-
- <property>
- <name>style</name>
- <classname>java.lang.String</classname>
- <description>
- The CSS style for message
- </description>
- </property>
- <property>
- <name>warnClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "WARN"
- </description>
- </property>
-
- <property>
- <name>errorMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message marker with a severity class of "ERROR"
- </description>
- </property>
-
- <property>
- <name>warnClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message with a severity class of "WARN"
- </description>
- </property>
-
- <!--property>
- <name>errorMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message marker with a severity class of "ERROR"
- </description>
- </property-->
-
- <property>
- <name>fatalMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message marker with a severity class of "FATAL"
- </description>
- </property>
-
- <property>
- <name>infoMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message marker with a severity class of "INFO"
- </description>
- </property>
-
- <property>
- <name>warnMarkerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply any message marker with a severity class of "WARN"
- </description>
- </property>
-
- <property>
- <name>markerClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to marker
- </description>
- </property>
-
- <property>
- <name>markerStyle</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style(s) is/are to be applied to marker when this component is rendered
- </description>
- </property>
-
- <property>
- <name>errorLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "ERROR"
- </description>
- </property>
-
- <property>
- <name>fatalLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "FATAL"
- </description>
- </property>
-
- <property>
- <name>infoLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "INFO"
- </description>
- </property>
-
- <property>
- <name>warnLabelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to any message label with a severity class of "WARN"
- </description>
- </property>
-
- <property>
- <name>labelClass</name>
- <classname>java.lang.String</classname>
- <description>
- CSS style class to apply to label
- </description>
- </property>
-
- <property attachedstate="true" hidden="true">
- <name>binding</name>
- <classname>javax.faces.component.UIComponent</classname>
- <description>
- The attribute takes a value-binding expression for a component property of a backing bean
- </description>
- </property>
-
- &ui_component_attributes;
- &ajax_output_attributes;
- </component>
-
-</components>
\ No newline at end of file
Copied: tags/3.1.2.SP1/ui/message/src/main/config/component/message.xml (from rev 4098, tags/3.1.2.GA/ui/message/src/main/config/component/message.xml)
===================================================================
--- tags/3.1.2.SP1/ui/message/src/main/config/component/message.xml (rev 0)
+++ tags/3.1.2.SP1/ui/message/src/main/config/component/message.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -0,0 +1,529 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
+<components>
+ <component>
+ <name>org.richfaces.component.RichMessage</name>
+ <family>org.richfaces.component.RichMessage</family>
+ <classname>
+ org.richfaces.component.html.HtmlRichMessage
+ </classname>
+ <superclass>org.richfaces.component.UIRichMessage</superclass>
+
+ <test>
+ <classname>org.richfaces.component.html.HtmlRichMessageTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+
+ <description>
+ <![CDATA[ richfaces Message Component ]]>
+ </description>
+
+ <renderer generate="false" override="true">
+ <name>org.richfaces.RichMessageRenderer</name>
+ <classname>org.richfaces.renderkit.html.HtmlRichMessageRenderer</classname>
+ <superclass>org.richfaces.renderkit.RichMessageBaseRenderer</superclass>
+ </renderer>
+ <tag>
+ <name>message</name>
+ <classname>org.richfaces.taglib.RichMessageTag</classname>
+ <superclass>
+ org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
+ </superclass>
+
+ <test>
+ <classname>org.richfaces.taglib.RichMessageTagTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+
+ </tag>
+ <property>
+ <name>level</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue>"ALL"</defaultvalue>
+ <description>
+ comma-separated list of messages categoris which should be displayed
+ </description>
+ </property>
+
+ <property attachedstate="true">
+ <name>passedLabel</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Attribute should define the label to be displayed when no message appears
+ </description>
+ </property>
+
+ <property>
+ <name>for</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Client identifier of the component for which to display messages
+ </description>
+
+ </property>
+
+ <property>
+ <name>showDetail</name>
+ <classname>boolean</classname>
+ <defaultvalue>true</defaultvalue>
+ <description>
+ Flag indicating whether the summary portion of displayed messages should be included. Default value is "true"
+ </description>
+ </property>
+
+ <property>
+ <name>showSummary</name>
+ <classname>boolean</classname>
+ <defaultvalue>false</defaultvalue>
+ <description>
+ Flag indicating whether the summary portion of displayed messages should be included. Default value is "false"
+ </description>
+ </property>
+
+ <property>
+ <name>title</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Advisory title information about markup elements generated for this component
+ </description>
+ </property>
+
+ <property>
+ <name>tooltip</name>
+ <classname>boolean</classname>
+ <defaultvalue>false</defaultvalue>
+ <description>
+ Flag indicating whether the detail portion of the message should be displayed as a tooltip
+ </description>
+ </property>
+
+ <property>
+ <name>errorClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "ERROR"
+ </description>
+ </property>
+
+ <property>
+ <name>fatalClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "FATAL"
+ </description>
+ </property>
+
+ <property>
+ <name>infoClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "INFO"
+ </description>
+ </property>
+
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup
+ </description>
+ </property>
+
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>
+ The CSS style for message
+ </description>
+ </property>
+ <property>
+ <name>warnClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "WARN"
+ </description>
+ </property>
+
+ <property>
+ <name>errorMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message marker with a severity class of "ERROR"
+ </description>
+ </property>
+
+ <property>
+ <name>warnClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "WARN"
+ </description>
+ </property>
+
+ <!--property>
+ <name>errorMarkerClass</name>
+ <classname>java.lang.String</classname>
+ </property-->
+
+ <property>
+ <name>fatalMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message marker with a severity class of "FATAL"
+ </description>
+ </property>
+
+ <property>
+ <name>infoMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message marker with a severity class of "INFO"
+ </description>
+ </property>
+
+ <property>
+ <name>warnMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply any message marker with a severity class of "WARN"
+ </description>
+ </property>
+
+ <property>
+ <name>markerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to marker
+ </description>
+ </property>
+
+ <property>
+ <name>markerStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style(s) is/are to be applied to marker when this component is rendered
+ </description>
+ </property>
+
+ <property>
+ <name>errorLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "ERROR"
+ </description>
+ </property>
+
+ <property>
+ <name>fatalLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "FATAL"
+ </description>
+ </property>
+
+ <property>
+ <name>infoLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "INFO"
+ </description>
+ </property>
+
+ <property>
+ <name>warnLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "WARN"
+ </description>
+ </property>
+
+ <property>
+ <name>labelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to label
+ </description>
+ </property>
+
+ <property attachedstate="true" hidden="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>
+ The attribute takes a value-binding expression for a component property of a backing bean
+ </description>
+ </property>
+
+ &ui_component_attributes;
+ &ajax_output_attributes;
+ </component>
+
+ <component>
+ <name>org.richfaces.component.RichMessages</name>
+ <family>org.richfaces.component.RichMessages</family>
+ <classname>
+ org.richfaces.component.html.HtmlRichMessages
+ </classname>
+ <superclass>org.richfaces.component.UIRichMessages</superclass>
+
+ <test>
+ <classname>org.richfaces.component.html.HtmlRichMessagesTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+
+ <description>
+ <![CDATA[ richfaces Messages Component ]]>
+ </description>
+
+ <renderer generate="false" override="true">
+ <name>org.richfaces.RichMessagesRenderer</name>
+ <classname>org.richfaces.renderkit.html.HtmlRichMessagesRenderer</classname>
+ <superclass>org.richfaces.renderkit.RichMessageBaseRenderer</superclass>
+ </renderer>
+
+ <tag>
+ <name>messages</name>
+ <classname>org.richfaces.taglib.RichMessagesTag</classname>
+ <superclass>
+ org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
+ </superclass>
+
+ <test>
+ <classname>org.richfaces.taglib.RichMessagesTagTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
+ </tag>
+
+ <property attachedstate="true">
+ <name>passedLabel</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Attribute should define the label to be displayed when no message appears
+ </description>
+ </property>
+ <property>
+ <name>level</name>
+ <classname>java.lang.String</classname>
+ <description>
+ comma-separated list of messages categoris which should be displayed
+ </description>
+ <defaultvalue>"ALL"</defaultvalue>
+
+ </property>
+
+ <property>
+ <name>layout</name>
+ <classname>java.lang.String</classname>
+ <defaultvalue>"list"</defaultvalue>
+ <description>
+ The type of layout markup to use when rendering error messages. Valid values are "table" (an HTML table), "list" (an HTML list) and iterator. If not specified, the default value is "list"
+ </description>
+ </property>
+
+ <property>
+ <name>globalOnly</name>
+ <classname>boolean</classname>
+ <defaultvalue>false</defaultvalue>
+ <description>
+ Flag indicating that only global messages (that is, messages not associated with any client identifier) are to be displayed. Default value is "false"
+ </description>
+ </property>
+
+ <property>
+ <name>showDetail</name>
+ <classname>boolean</classname>
+ <defaultvalue>true</defaultvalue>
+ <description>
+ Flag indicating whether the summary portion of displayed messages should be included. Default value is "true"
+ </description>
+ </property>
+
+ <property>
+ <name>showSummary</name>
+ <classname>boolean</classname>
+ <defaultvalue>false</defaultvalue>
+ <description>
+ Flag indicating whether the summary portion of displayed messages should be included. Default value is "false"
+ </description>
+ </property>
+
+ <property>
+ <name>title</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Advisory title information about markup elements generated for this component
+ </description>
+ </property>
+
+ <property>
+ <name>tooltip</name>
+ <classname>boolean</classname>
+ <defaultvalue>false</defaultvalue>
+ <description>
+ Flag indicating whether the detail portion of the message should be displayed as a tooltip
+ </description>
+ </property>
+
+ <property>
+ <name>errorClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "ERROR"
+ </description>
+ </property>
+
+ <property>
+ <name>fatalClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "FATAL"
+ </description>
+ </property>
+
+ <property>
+ <name>infoClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "INFO"
+ </description>
+ </property>
+
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup
+ </description>
+ </property>
+
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>
+ The CSS style for message
+ </description>
+ </property>
+ <property>
+ <name>warnClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "WARN"
+ </description>
+ </property>
+
+ <property>
+ <name>errorMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message marker with a severity class of "ERROR"
+ </description>
+ </property>
+
+ <property>
+ <name>warnClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message with a severity class of "WARN"
+ </description>
+ </property>
+
+ <!--property>
+ <name>errorMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message marker with a severity class of "ERROR"
+ </description>
+ </property-->
+
+ <property>
+ <name>fatalMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message marker with a severity class of "FATAL"
+ </description>
+ </property>
+
+ <property>
+ <name>infoMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message marker with a severity class of "INFO"
+ </description>
+ </property>
+
+ <property>
+ <name>warnMarkerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply any message marker with a severity class of "WARN"
+ </description>
+ </property>
+
+ <property>
+ <name>markerClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to marker
+ </description>
+ </property>
+
+ <property>
+ <name>markerStyle</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style(s) is/are to be applied to marker when this component is rendered
+ </description>
+ </property>
+
+ <property>
+ <name>errorLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "ERROR"
+ </description>
+ </property>
+
+ <property>
+ <name>fatalLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "FATAL"
+ </description>
+ </property>
+
+ <property>
+ <name>infoLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "INFO"
+ </description>
+ </property>
+
+ <property>
+ <name>warnLabelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to any message label with a severity class of "WARN"
+ </description>
+ </property>
+
+ <property>
+ <name>labelClass</name>
+ <classname>java.lang.String</classname>
+ <description>
+ CSS style class to apply to label
+ </description>
+ </property>
+
+ <property attachedstate="true" hidden="true">
+ <name>binding</name>
+ <classname>javax.faces.component.UIComponent</classname>
+ <description>
+ The attribute takes a value-binding expression for a component property of a backing bean
+ </description>
+ </property>
+
+ &ui_component_attributes;
+ &ajax_output_attributes;
+ </component>
+
+</components>
\ No newline at end of file
Deleted: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java
===================================================================
--- tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,47 +0,0 @@
-package org.richfaces.component;
-
-import java.io.IOException;
-
-import javax.faces.component.UIMessage;
-import javax.faces.context.FacesContext;
-
-import org.ajax4jsf.component.AjaxOutput;
-
-
-/**
- * @author Anton Belevich
- *
- */
-public abstract class UIRichMessage extends UIMessage implements AjaxOutput{
-
- private boolean isPassed = false;
-
- public boolean isPassed() {
- return isPassed;
- }
-
- public abstract String getPassedLabel();
-
- public abstract void setPassedLabel(String passedLabel);
-
- public boolean isAjaxRendered() {
- return true;
- }
-
- public void setAjaxRendered(boolean ajaxRendered) {
- if(!ajaxRendered){
- new IllegalArgumentException();
- }
- }
-
- public void decode(FacesContext context) {
- isPassed = true;
- super.decode(context);
- }
-
- public void encodeEnd(FacesContext context) throws IOException {
- super.encodeEnd(context);
- isPassed = false;
- }
-
-}
\ No newline at end of file
Copied: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java (from rev 4098, tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java)
===================================================================
--- tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java (rev 0)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessage.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -0,0 +1,57 @@
+package org.richfaces.component;
+
+import java.io.IOException;
+
+import javax.faces.component.UIMessage;
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.component.AjaxOutput;
+
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public abstract class UIRichMessage extends UIMessage implements AjaxOutput{
+
+ private boolean isPassed = false;
+
+ public boolean isPassed() {
+ return isPassed;
+ }
+
+ public abstract String getPassedLabel();
+
+ public abstract void setPassedLabel(String passedLabel);
+
+ public boolean isAjaxRendered() {
+ return true;
+ }
+
+ public void setAjaxRendered(boolean ajaxRendered) {
+ if(!ajaxRendered){
+ new IllegalArgumentException();
+ }
+ }
+
+ public void decode(FacesContext context) {
+ isPassed = true;
+ super.decode(context);
+ }
+
+ public void encodeBagin(FacesContext context) throws IOException {
+ isPassed = true;
+ super.encodeBegin(context);
+ }
+
+ public void encodeEnd(FacesContext context) throws IOException {
+ super.encodeEnd(context);
+ isPassed = false;
+ }
+
+ public abstract String getLevel();
+
+ public abstract void setLevel(String level);
+
+
+}
\ No newline at end of file
Deleted: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java
===================================================================
--- tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,40 +0,0 @@
-/**
- *
- */
-package org.richfaces.component;
-
-import javax.faces.component.UIMessages;
-import javax.faces.context.FacesContext;
-
-import org.ajax4jsf.component.AjaxOutput;
-
-/**
- * @author Anton Belevich
- *
- */
-public abstract class UIRichMessages extends UIMessages implements AjaxOutput{
-
-
- private boolean isPassed = false;
-
-
- public boolean isPassed(){
- return isPassed;
- }
-
- public boolean isAjaxRendered() {
- return true;
- }
-
- public void setAjaxRendered(boolean ajaxRendered){
- if(!ajaxRendered){
- new IllegalArgumentException();
- }
- }
-
- public void decode(FacesContext context){
- isPassed = true;
- super.decode(context);
- }
-
-}
Copied: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java (from rev 4098, tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java)
===================================================================
--- tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java (rev 0)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/component/UIRichMessages.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -0,0 +1,43 @@
+/**
+ *
+ */
+package org.richfaces.component;
+
+import javax.faces.component.UIMessages;
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.component.AjaxOutput;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public abstract class UIRichMessages extends UIMessages implements AjaxOutput{
+
+
+ private boolean isPassed = true;
+
+ public boolean isPassed(){
+ return isPassed;
+ }
+
+ public boolean isAjaxRendered() {
+ return true;
+ }
+
+ public void setAjaxRendered(boolean ajaxRendered){
+ if(!ajaxRendered){
+ new IllegalArgumentException();
+ }
+ }
+
+ public void decode(FacesContext context){
+ isPassed = true;
+ super.decode(context);
+ }
+
+ public abstract String getLevel();
+
+ public abstract void setLevel(String level);
+
+}
Deleted: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java
===================================================================
--- tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,274 +0,0 @@
-package org.richfaces.renderkit;
-
-import java.io.IOException;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.faces.application.FacesMessage;
-import javax.faces.application.FacesMessage.Severity;
-import javax.faces.component.NamingContainer;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-
-import org.ajax4jsf.renderkit.HeaderResourcesRendererBase;
-import org.apache.commons.collections.CollectionUtils;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.richfaces.renderkit.html.HtmlRichMessageRenderer;
-
-/**
- * @author Anton Belevich
- *
- */
-
-public abstract class RichMessageBaseRenderer extends HeaderResourcesRendererBase{
-
- protected static final Log log = LogFactory.getLog(HtmlRichMessageRenderer.class);
-
- public static final String NULL_PARAMETER_ERROR_MESSAGE = "null parameter ERROR";
-
- public static final String COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE = "component not found in the view WARNING";
-
-
- protected Iterator getMessageIterator(FacesContext context, String forClientId, UIComponent component) throws IOException{
-
- Iterator msgIter = null;
-
- if(forClientId != null){
-
- if(forClientId.length() != 0){
-
- UIComponent result = findForComponent(context, forClientId,component);
- if (result == null) {
- msgIter = CollectionUtils.EMPTY_COLLECTION.iterator();
- } else {
- msgIter = context.getMessages(result.getClientId(context));
- }
-
- }else{
- msgIter = context.getMessages(null);
- }
-
- }else{
- msgIter = context.getMessages();
- }
-
- return msgIter;
- }
-
- protected void renderMarkerFacet(UIComponent uiMsg, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
-
- UIComponent marker = null;
-
- String markerClass = null;
-
- String markerStyle = null;
-
- Severity severity = null;
-
-
- if(facesMsg != null){
-
- severity = facesMsg.getSeverity();
-
- if(severity == FacesMessage.SEVERITY_ERROR){
-
- markerClass = (String)uiMsg.getAttributes().get("errorMarkerClass");
- markerStyle = (String)uiMsg.getAttributes().get("errorMarkerStyle");
- marker = uiMsg.getFacet("errorMarker");
-
- }else if (severity == FacesMessage.SEVERITY_FATAL) {
-
- markerClass = (String)uiMsg.getAttributes().get("fatalMarkerClass");
- markerStyle = (String)uiMsg.getAttributes().get("fatalMarkerStyle");
- marker = uiMsg.getFacet("fatalMarker");
-
- }else if (severity == FacesMessage.SEVERITY_INFO) {
-
- markerClass = (String)uiMsg.getAttributes().get("infoMarkerClass");
- markerStyle = (String)uiMsg.getAttributes().get("infoMarkerStyle");
- marker = uiMsg.getFacet("infoMarker");
-
- }else if (severity == FacesMessage.SEVERITY_WARN) {
-
- markerClass = (String)uiMsg.getAttributes().get("warnMarkerClass");
- markerStyle = (String)uiMsg.getAttributes().get("warnMarkerStyle");
- marker = uiMsg.getFacet("infoMarker");
-
- }
-
- }else if(uiMsg.getFacet("passedMarker") != null){
-
- marker = uiMsg.getFacet("passedMarker");
- markerClass = (String) uiMsg.getAttributes().get("markerClass");
- markerStyle = (String) uiMsg.getAttributes().get("markerStyle");
-
- }
-
- if(marker == null){
- return;
- }
-
- if(!marker.isRendered()){
- return;
- }
-
- renderMarkerHtml(uiMsg, marker, context, writer, markerClass, markerStyle);
- }
-
- protected void renderLabel(UIComponent component, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
-
- String labelClass = null;
-
- String labelStyle = null;
-
- String passLabel = null;
-
- Severity severity = null;
-
-
- if(facesMsg != null){
-
- severity = facesMsg.getSeverity();
-
- if(severity == FacesMessage.SEVERITY_ERROR){
-
- labelClass = (String)component.getAttributes().get("errorLabelClass");
- labelStyle = (String)component.getAttributes().get("errorLabelStyle");
-
- }else if(severity == FacesMessage.SEVERITY_FATAL){
-
- labelClass = (String)component.getAttributes().get("fatalLabelClass");
- labelStyle = (String)component.getAttributes().get("fatalLabelStyle");
-
- }else if(severity == FacesMessage.SEVERITY_WARN){
-
- labelClass = (String)component.getAttributes().get("warnLabelClass");
- labelStyle = (String)component.getAttributes().get("warnLabelStyle");
-
- }else if(severity == FacesMessage.SEVERITY_INFO){
-
- labelClass = (String)component.getAttributes().get("infoLabelClass");
- labelStyle = (String)component.getAttributes().get("infoLabelStyle");
-
- }
-
- }else if(component.getAttributes().get("passedLabel") != null){
-
- passLabel = (String) component.getAttributes().get("passedLabel");
- labelClass = (String) component.getAttributes().get("labelClass");
- labelStyle = (String) component.getAttributes().get("labelStyle");
-
- }
-
- renderLabelHtml(component, context, writer, facesMsg, labelClass, labelStyle, passLabel);
- }
-
- protected void outerStyles(UIComponent component, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
-
- String outerClass = null;
-
- String outerStyle = null;
-
- Severity severity = null;
-
-
- if(facesMsg != null){
-
- severity = facesMsg.getSeverity();
- if(severity == FacesMessage.SEVERITY_ERROR){
-
- outerClass = (String)component.getAttributes().get("errorClass");
- outerStyle = (String)component.getAttributes().get("errorStyle");
-
- }else if(severity == FacesMessage.SEVERITY_FATAL){
-
- outerClass = (String)component.getAttributes().get("fatalClass");
- outerStyle = (String)component.getAttributes().get("fatalStyle");
-
- }else if(severity == FacesMessage.SEVERITY_WARN){
-
- outerClass = (String)component.getAttributes().get("warnClass");
- outerStyle = (String)component.getAttributes().get("warnStyle");
-
- }else if(severity == FacesMessage.SEVERITY_INFO){
-
- outerClass = (String)component.getAttributes().get("infoClass");
- outerStyle = (String)component.getAttributes().get("infoStyle");
- }
- }
-
- renderOuterStyles(component, context, writer, outerStyle, outerClass);
-
- }
-
- protected UIComponent findForComponent(FacesContext context, String forClientId, UIComponent component) throws IOException{
-
- if(null == forClientId || forClientId.length() == 0){
- return null;
- }
-
- UIComponent result = null;
- UIComponent parent = component;
-
- while(parent != null){
- result = parent.findComponent(forClientId);
-
- if(result != null){
- break;
- }
- parent = parent.getParent();
- }
-
- if(result == null){
- result = findComponentBelow(context.getViewRoot(), forClientId);
- }
-
- if(result == null){
- if(log.isWarnEnabled()){
- log.warn(COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE + ":"+ forClientId);
- }
- }
-
- return result;
- }
-
- protected UIComponent findComponentBelow(UIComponent startComponent, String forClientId){
-
- UIComponent retComp = null;
-
- if(startComponent.getChildCount() == 0){
- return null;
- }
-
- List children = startComponent.getChildren();
-
- for(int i = 0, size = children.size(); i < size; i++){
- UIComponent comp = (UIComponent) children.get(i);
-
- if(comp instanceof NamingContainer){
- retComp = comp.findComponent(forClientId);
- }
-
- if(retComp == null){
- if(comp.getChildCount() > 0){
- retComp = findComponentBelow(comp, forClientId);
- }
- }
-
- if(retComp != null)
- break;
- }
-
- return retComp;
- };
-
- public abstract void renderMarkerHtml(UIComponent component, UIComponent markerFacet, FacesContext context, ResponseWriter writer,
- String markerClass, String markerStyle) throws IOException;
-
- public abstract void renderLabelHtml(UIComponent component, FacesContext context, ResponseWriter writer,
- FacesMessage facesMsg, String labelClass, String labelStyle, String passLabel) throws IOException;
-
- public abstract void renderOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer, String outerStyle, String outerClass) throws IOException;
-}
Copied: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java (from rev 4098, tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java)
===================================================================
--- tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java (rev 0)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/RichMessageBaseRenderer.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -0,0 +1,375 @@
+package org.richfaces.renderkit;
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.application.FacesMessage.Severity;
+import javax.faces.component.NamingContainer;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+import org.ajax4jsf.renderkit.HeaderResourcesRendererBase;
+import org.ajax4jsf.resource.InternetResource;
+import org.apache.commons.collections.CollectionUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.richfaces.renderkit.html.HtmlRichMessageRenderer;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+
+public abstract class RichMessageBaseRenderer extends HeaderResourcesRendererBase{
+
+ protected static final Log log = LogFactory.getLog(HtmlRichMessageRenderer.class);
+
+ public static final String NULL_PARAMETER_ERROR_MESSAGE = "null parameter ERROR";
+
+ public static final String COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE = "component not found in the view WARNING";
+
+ private static final String ERROR_NAME = "ERROR";
+
+ private static final String WARN_NAME = "WARN";
+
+ private static final String FATAL_NAME = "FATAL";
+
+ private static final String INFO_NAME = "INFO";
+
+ private static final String ALL_NAME = "ALL";
+
+ protected List acceptLevels = new ArrayList();
+
+
+ private final InternetResource[] styles = {getResource("/org/richfaces/renderkit/html/css/msg.css"),getResource("/org/richfaces/renderkit/html/css/msgs.css")};
+
+ private InternetResource[] stylesAll = null;
+
+
+ protected InternetResource[] getStyles(){
+ synchronized (this){
+ if(stylesAll == null){
+
+ InternetResource[] rsrcs = super.getStyles();
+ boolean ignoreSuper = rsrcs == null || rsrcs.length == 0;
+ boolean ignoreThis = styles == null || styles.length == 0;
+
+ if(ignoreSuper){
+
+ if (ignoreThis) {
+ stylesAll = new InternetResource[0];
+ } else {
+ stylesAll = styles;
+ }
+
+ }else{
+
+ if(ignoreThis){
+ stylesAll = rsrcs;
+ }else{
+ Set rsrcsSet = new java.util.LinkedHashSet();
+ for(int i = 0; i < rsrcs.length; i++ ){
+ rsrcsSet.add(rsrcs[i]);
+ }
+
+ for(int i = 0; i < styles.length; i++ ){
+ rsrcsSet.add(styles[i]);
+ }
+ stylesAll = (InternetResource[]) rsrcsSet.toArray(new InternetResource[rsrcsSet.size()]);
+ }
+ }
+ }
+ }
+
+ return stylesAll;
+ }
+
+ protected Iterator getMessageIterator(FacesContext context, String forClientId, UIComponent component) throws IOException{
+
+ Iterator msgIter = null;
+
+ if(forClientId != null){
+
+ if(forClientId.length() != 0){
+
+ UIComponent result = findForComponent(context, forClientId,component);
+ if (result == null) {
+ msgIter = CollectionUtils.EMPTY_COLLECTION.iterator();
+ } else {
+ msgIter = context.getMessages(result.getClientId(context));
+ }
+
+ }else{
+ msgIter = context.getMessages(null);
+ }
+
+ }else{
+ msgIter = context.getMessages();
+ }
+
+ return msgIter;
+ }
+
+ protected void renderMarkerFacet(UIComponent uiMsg, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
+
+ UIComponent marker = null;
+
+ String markerClass = null;
+
+ String markerStyle = null;
+
+ Severity severity = null;
+
+
+ if(facesMsg != null){
+
+ severity = facesMsg.getSeverity();
+
+ if(severity == FacesMessage.SEVERITY_ERROR){
+
+ markerClass = (String)uiMsg.getAttributes().get("errorMarkerClass");
+ markerStyle = (String)uiMsg.getAttributes().get("errorMarkerStyle");
+ marker = uiMsg.getFacet("errorMarker");
+
+ }else if (severity == FacesMessage.SEVERITY_FATAL) {
+
+ markerClass = (String)uiMsg.getAttributes().get("fatalMarkerClass");
+ markerStyle = (String)uiMsg.getAttributes().get("fatalMarkerStyle");
+ marker = uiMsg.getFacet("fatalMarker");
+
+ }else if (severity == FacesMessage.SEVERITY_INFO) {
+
+ markerClass = (String)uiMsg.getAttributes().get("infoMarkerClass");
+ markerStyle = (String)uiMsg.getAttributes().get("infoMarkerStyle");
+ marker = uiMsg.getFacet("infoMarker");
+
+ }else if (severity == FacesMessage.SEVERITY_WARN) {
+
+ markerClass = (String)uiMsg.getAttributes().get("warnMarkerClass");
+ markerStyle = (String)uiMsg.getAttributes().get("warnMarkerStyle");
+ marker = uiMsg.getFacet("warnMarker");
+
+ }
+
+ }else if(uiMsg.getFacet("passedMarker") != null){
+
+ marker = uiMsg.getFacet("passedMarker");
+ markerClass = (String) uiMsg.getAttributes().get("markerClass");
+ markerStyle = (String) uiMsg.getAttributes().get("markerStyle");
+
+ }
+
+ if(marker == null){
+ return;
+ }
+
+ if(!marker.isRendered()){
+ return;
+ }
+
+ renderMarkerHtml(uiMsg, marker, context, writer, markerClass, markerStyle);
+ }
+
+ protected void renderLabel(UIComponent component, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
+
+ String labelClass = null;
+
+ String labelStyle = null;
+
+ String passLabel = null;
+
+ Severity severity = null;
+
+
+ if(facesMsg != null){
+
+ severity = facesMsg.getSeverity();
+
+ if(severity == FacesMessage.SEVERITY_ERROR){
+
+ labelClass = (String)component.getAttributes().get("errorLabelClass");
+ labelStyle = (String)component.getAttributes().get("errorLabelStyle");
+
+ }else if(severity == FacesMessage.SEVERITY_FATAL){
+
+ labelClass = (String)component.getAttributes().get("fatalLabelClass");
+ labelStyle = (String)component.getAttributes().get("fatalLabelStyle");
+
+ }else if(severity == FacesMessage.SEVERITY_WARN){
+
+ labelClass = (String)component.getAttributes().get("warnLabelClass");
+ labelStyle = (String)component.getAttributes().get("warnLabelStyle");
+
+ }else if(severity == FacesMessage.SEVERITY_INFO){
+
+ labelClass = (String)component.getAttributes().get("infoLabelClass");
+ labelStyle = (String)component.getAttributes().get("infoLabelStyle");
+
+ }
+
+ }else if(component.getAttributes().get("passedLabel") != null){
+
+ passLabel = (String) component.getAttributes().get("passedLabel");
+ labelClass = (String) component.getAttributes().get("labelClass");
+ labelStyle = (String) component.getAttributes().get("labelStyle");
+
+ }
+
+ renderLabelHtml(component, context, writer, facesMsg, labelClass, labelStyle, passLabel);
+ }
+
+ protected void outerStyles(UIComponent component, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
+
+ String outerClass = null;
+
+ String outerStyle = null;
+
+ Severity severity = null;
+
+
+ if(facesMsg != null){
+
+ severity = facesMsg.getSeverity();
+ if(severity == FacesMessage.SEVERITY_ERROR){
+
+ outerClass = (String)component.getAttributes().get("errorClass");
+ outerStyle = (String)component.getAttributes().get("errorStyle");
+
+ }else if(severity == FacesMessage.SEVERITY_FATAL){
+
+ outerClass = (String)component.getAttributes().get("fatalClass");
+ outerStyle = (String)component.getAttributes().get("fatalStyle");
+
+ }else if(severity == FacesMessage.SEVERITY_WARN){
+
+ outerClass = (String)component.getAttributes().get("warnClass");
+ outerStyle = (String)component.getAttributes().get("warnStyle");
+
+ }else if(severity == FacesMessage.SEVERITY_INFO){
+
+ outerClass = (String)component.getAttributes().get("infoClass");
+ outerStyle = (String)component.getAttributes().get("infoStyle");
+ }
+ }
+
+ renderOuterStyles(component, context, writer, outerStyle, outerClass);
+
+ }
+
+ protected UIComponent findForComponent(FacesContext context, String forClientId, UIComponent component) throws IOException{
+
+ if(null == forClientId || forClientId.length() == 0){
+ return null;
+ }
+
+ UIComponent result = null;
+ UIComponent parent = component;
+
+ while(parent != null){
+ result = parent.findComponent(forClientId);
+
+ if(result != null){
+ break;
+ }
+ parent = parent.getParent();
+ }
+
+ if(result == null){
+ result = findComponentBelow(context.getViewRoot(), forClientId);
+ }
+
+ if(result == null){
+ if(log.isWarnEnabled()){
+ log.warn(COMPONENT_NOT_FOUND_IN_VIEW_WARN_MESSAGE + ":"+ forClientId);
+ }
+ }
+
+ return result;
+ }
+
+ protected UIComponent findComponentBelow(UIComponent startComponent, String forClientId){
+
+ UIComponent retComp = null;
+
+ if(startComponent.getChildCount() == 0){
+ return null;
+ }
+
+ List children = startComponent.getChildren();
+
+ for(int i = 0, size = children.size(); i < size; i++){
+ UIComponent comp = (UIComponent) children.get(i);
+
+ if(comp instanceof NamingContainer){
+ retComp = comp.findComponent(forClientId);
+ }
+
+ if(retComp == null){
+ if(comp.getChildCount() > 0){
+ retComp = findComponentBelow(comp, forClientId);
+ }
+ }
+
+ if(retComp != null)
+ break;
+ }
+
+ return retComp;
+ };
+
+ protected boolean isAcceptableMessage(FacesMessage message){
+
+ boolean accept = false;
+
+ if(acceptLevels.contains(ALL_NAME) || message == null){
+ return true;
+ }
+
+ Severity severity = message.getSeverity();
+
+ if(severity == FacesMessage.SEVERITY_ERROR
+ && acceptLevels.contains(ERROR_NAME)){
+ accept = true;
+
+ }else if(severity == FacesMessage.SEVERITY_FATAL
+ && acceptLevels.contains(FATAL_NAME)){
+ accept = true;
+
+ }else if(severity == FacesMessage.SEVERITY_INFO
+ && acceptLevels.contains(INFO_NAME)){
+ accept = true;
+
+ }else if(severity == FacesMessage.SEVERITY_WARN
+ && acceptLevels.contains(WARN_NAME)){
+ accept = true;
+ }
+
+ return accept;
+ }
+
+ protected List creatAcceptLevels(String [] levels){
+
+ List acceptLevels = new ArrayList();
+
+ for (int i = 0; i < levels.length; i++) {
+ acceptLevels.add(levels[i].toUpperCase());
+ }
+
+ return acceptLevels;
+ }
+
+
+
+ public abstract void renderMarkerHtml(UIComponent component, UIComponent markerFacet, FacesContext context, ResponseWriter writer,
+ String markerClass, String markerStyle) throws IOException;
+
+ public abstract void renderLabelHtml(UIComponent component, FacesContext context, ResponseWriter writer,
+ FacesMessage facesMsg, String labelClass, String labelStyle, String passLabel) throws IOException;
+
+ public abstract void renderOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer, String outerStyle, String outerClass) throws IOException;
+}
Deleted: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java
===================================================================
--- tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,235 +0,0 @@
-package org.richfaces.renderkit.html;
-
-import java.io.IOException;
-import java.util.Iterator;
-import java.util.Set;
-
-import javax.faces.application.FacesMessage;
-import javax.faces.component.UIComponent;
-import javax.faces.component.UIMessage;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-
-import org.ajax4jsf.renderkit.RendererUtils.HTML;
-import org.ajax4jsf.resource.InternetResource;
-import org.richfaces.component.UIRichMessage;
-import org.richfaces.renderkit.RichMessageBaseRenderer;
-
-
-/**
- * @author Anton Belevich
- *
- */
-public class HtmlRichMessageRenderer extends RichMessageBaseRenderer{
-
- private final InternetResource[] styles = {getResource("/org/richfaces/renderkit/html/css/msg.css")};
-
- private InternetResource[] stylesAll = null;
-
-
- protected InternetResource[] getStyles(){
- synchronized (this){
- if(stylesAll == null){
-
- InternetResource[] rsrcs = super.getStyles();
- boolean ignoreSuper = rsrcs == null || rsrcs.length == 0;
- boolean ignoreThis = styles == null || styles.length == 0;
-
- if(ignoreSuper){
-
- if (ignoreThis) {
- stylesAll = new InternetResource[0];
- } else {
- stylesAll = styles;
- }
-
- }else{
- if(ignoreThis){
- stylesAll = rsrcs;
- }else{
- Set rsrcsSet = new java.util.LinkedHashSet();
-
- for(int i = 0; i < rsrcs.length; i++ ){
- rsrcsSet.add(rsrcs[i]);
- }
-
- for(int i = 0; i < styles.length; i++ ){
- rsrcsSet.add(styles[i]);
- }
-
- stylesAll = (InternetResource[]) rsrcsSet.toArray(new InternetResource[rsrcsSet.size()]);
- }
- }
- }
- }
-
- return stylesAll;
- }
-
-
- protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
-
- Iterator msgIter = null;
-
- UIRichMessage msgComponent = (UIRichMessage)component;
- String forClientId = msgComponent.getFor();
-
- if(forClientId == null){
-
- if(log.isErrorEnabled()){
- log.error(NULL_PARAMETER_ERROR_MESSAGE);
- }
-
- }else{
-
- msgIter = getMessageIterator(context, forClientId, msgComponent);
- writer.startElement(HTML.SPAN_ELEM, msgComponent);
- getUtils().writeAttribute(writer, HTML.id_ATTRIBUTE, msgComponent.getClientId(context));
-
- if(!msgIter.hasNext() && msgComponent.isPassed()){
-
- encodingUIContent(msgComponent, context, null);
-
- }else if(msgIter.hasNext() ){
-
- FacesMessage message = (FacesMessage)msgIter.next();
- encodingUIContent(msgComponent, context, message);
-
- }
-
- writer.endElement(HTML.SPAN_ELEM);
- }
- }
-
- protected void encodingUIContent(UIRichMessage uiMsg, FacesContext context, FacesMessage facesMsg) throws IOException{
-
- ResponseWriter writer = context.getResponseWriter();
-
- outerStyles(uiMsg, context, writer, facesMsg);
- renderMarkerFacet(uiMsg,context, writer,facesMsg);
- renderLabel(uiMsg, context, writer, facesMsg);
-
-
- }
-
- public void renderOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer,String outerStyle, String outerClass) throws IOException{
-
- UIRichMessage uiMsg = null;
-
- if(!(component instanceof UIRichMessage)){
- return;
- }
-
- uiMsg = (UIRichMessage)component;
-
- String parentStyle = (String)uiMsg.getAttributes().get("style");
- String parentClass = (String)uiMsg.getAttributes().get("styleClass");
-
- String richMessageClass = "rich-message" + (null != outerClass ? " " + outerClass : "");
- String richMessageStyle = (null != outerStyle ? outerStyle + "," : "");
-
- parentStyle = parentStyle != null ? (richMessageStyle + parentStyle) : richMessageStyle;
- parentClass = parentClass != null ? (richMessageClass + " " + parentClass) : richMessageClass;
-
- getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, parentClass);
- getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, parentStyle);
- }
-
- public void renderMarkerHtml(UIComponent component,UIComponent marker, FacesContext context,
- ResponseWriter writer,String markerClass, String markerStyle) throws IOException{
-
- UIRichMessage uiMsg = null;
-
- if(!(component instanceof UIRichMessage)){
- return;
- }
-
- uiMsg = (UIRichMessage)component;
-
- writer.startElement(HTML.SPAN_ELEM, uiMsg);
-
- String classes = markerClass == null ? "rich-message-marker" : "rich-message-marker " + markerClass;
-
- getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, classes);
- getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, markerStyle);
-
- renderChild(context, marker);
-
- writer.endElement(HTML.SPAN_ELEM);
-
- }
-
- public void renderLabelHtml(UIComponent component, FacesContext context, ResponseWriter writer,
- FacesMessage facesMsg, String labelClass, String labelStyle, String passLabel) throws IOException{
-
- String summary = null;
-
- String detail = null;
-
- String title = null;
-
- UIRichMessage uiMsg = null;
-
- if(!(component instanceof UIRichMessage)){
- return;
- }
-
- uiMsg = (UIRichMessage)component;
-
- boolean isTooltip = getUtils().isBooleanAttribute(uiMsg, "tooltip");
-
- boolean showSummary = uiMsg.isShowSummary();
-
- boolean showDetail = uiMsg.isShowDetail();
-
-
- if(facesMsg != null){
- summary = (null != (summary = facesMsg.getSummary())) ? summary : "";
- detail = (null != (detail = facesMsg.getDetail())) ? detail : "";
- }
-
- String classes = labelClass == null ? "rich-message-label" : "rich-message-label " + labelClass;
-
- writer.startElement(HTML.SPAN_ELEM, uiMsg);
-
- getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE,classes);
- getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, labelStyle);
-
- if(facesMsg != null){
- if(isTooltip){
- title = (String) uiMsg.getAttributes().get("title");
- if(title != null){
- getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, title);
- }else{
- getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, summary);
- }
- }
-
- if(showDetail){
- writer.writeText(detail, null);
- writer.writeText("\t", null);
- }
-
- if(showSummary){
- writer.writeText(summary, null);
- writer.writeText("\t", null);
- }
- }else {
-
- if(passLabel != null){
- writer.writeText(passLabel, null);
- writer.writeText("\t", null);
- }
-
- }
-
- writer.endElement(HTML.SPAN_ELEM);
-
- }
-
- protected Class getComponentClass() {
-
- return UIMessage.class;
- }
-}
-
\ No newline at end of file
Copied: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java (from rev 4098, tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java)
===================================================================
--- tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java (rev 0)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessageRenderer.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -0,0 +1,190 @@
+package org.richfaces.renderkit.html;
+
+import java.io.IOException;
+import java.util.Iterator;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.component.UIComponent;
+import javax.faces.component.UIMessage;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
+import org.richfaces.component.UIRichMessage;
+import org.richfaces.renderkit.RichMessageBaseRenderer;
+
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class HtmlRichMessageRenderer extends RichMessageBaseRenderer{
+
+
+ protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
+
+ Iterator msgIter = null;
+
+ UIRichMessage msgComponent = (UIRichMessage)component;
+ String forClientId = msgComponent.getFor();
+
+ if(forClientId == null){
+
+ if(log.isErrorEnabled()){
+ log.error(NULL_PARAMETER_ERROR_MESSAGE);
+ }
+
+ }else{
+
+ msgIter = getMessageIterator(context, forClientId, msgComponent);
+ writer.startElement(HTML.SPAN_ELEM, msgComponent);
+ getUtils().writeAttribute(writer, HTML.id_ATTRIBUTE, msgComponent.getClientId(context));
+
+ if(!msgIter.hasNext() && msgComponent.isPassed()){
+
+ encodingUIContent(msgComponent, context, null);
+
+ }else if(msgIter.hasNext() ){
+
+ FacesMessage message = (FacesMessage)msgIter.next();
+ encodingUIContent(msgComponent, context, message);
+
+ }
+
+ writer.endElement(HTML.SPAN_ELEM);
+ }
+ }
+
+ protected void encodingUIContent(UIRichMessage uiMsg, FacesContext context, FacesMessage facesMsg) throws IOException{
+
+ ResponseWriter writer = context.getResponseWriter();
+
+ acceptLevels = creatAcceptLevels(uiMsg.getLevel().split(","));
+ if(isAcceptableMessage(facesMsg)){
+ outerStyles(uiMsg, context, writer, facesMsg);
+ renderMarkerFacet(uiMsg,context, writer,facesMsg);
+ renderLabel(uiMsg, context, writer, facesMsg);
+ }
+ }
+
+ public void renderOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer,String outerStyle, String outerClass) throws IOException{
+
+ UIRichMessage uiMsg = null;
+
+ if(!(component instanceof UIRichMessage)){
+ return;
+ }
+
+ uiMsg = (UIRichMessage)component;
+
+ String parentStyle = (String)uiMsg.getAttributes().get("style");
+ String parentClass = (String)uiMsg.getAttributes().get("styleClass");
+
+ String richMessageClass = "rich-message" + (null != outerClass ? " " + outerClass : "");
+ String richMessageStyle = (null != outerStyle ? outerStyle + "," : "");
+
+ parentStyle = parentStyle != null ? (richMessageStyle + parentStyle) : richMessageStyle;
+ parentClass = parentClass != null ? (richMessageClass + " " + parentClass) : richMessageClass;
+
+ getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, parentClass);
+ getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, parentStyle);
+ }
+
+ public void renderMarkerHtml(UIComponent component,UIComponent marker, FacesContext context,
+ ResponseWriter writer,String markerClass, String markerStyle) throws IOException{
+
+ UIRichMessage uiMsg = null;
+
+ if(!(component instanceof UIRichMessage)){
+ return;
+ }
+
+ uiMsg = (UIRichMessage)component;
+
+ writer.startElement(HTML.SPAN_ELEM, uiMsg);
+
+ String classes = markerClass == null ? "rich-message-marker" : "rich-message-marker " + markerClass;
+
+ getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, classes);
+ getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, markerStyle);
+
+ renderChild(context, marker);
+
+ writer.endElement(HTML.SPAN_ELEM);
+
+ }
+
+ public void renderLabelHtml(UIComponent component, FacesContext context, ResponseWriter writer,
+ FacesMessage facesMsg, String labelClass, String labelStyle, String passLabel) throws IOException{
+
+ String summary = null;
+
+ String detail = null;
+
+ String title = null;
+
+ UIRichMessage uiMsg = null;
+
+ if(!(component instanceof UIRichMessage)){
+ return;
+ }
+
+ uiMsg = (UIRichMessage)component;
+
+ boolean isTooltip = getUtils().isBooleanAttribute(uiMsg, "tooltip");
+
+ boolean showSummary = uiMsg.isShowSummary();
+
+ boolean showDetail = uiMsg.isShowDetail();
+
+
+ if(facesMsg != null){
+ summary = (null != (summary = facesMsg.getSummary())) ? summary : "";
+ detail = (null != (detail = facesMsg.getDetail())) ? detail : "";
+ }
+
+ String classes = labelClass == null ? "rich-message-label" : "rich-message-label " + labelClass;
+
+ writer.startElement(HTML.SPAN_ELEM, uiMsg);
+
+ getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE,classes);
+ getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, labelStyle);
+
+ if(facesMsg != null){
+ if(isTooltip){
+ title = (String) uiMsg.getAttributes().get("title");
+ if(title != null){
+ getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, title);
+ }else{
+ getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, summary);
+ }
+ }
+
+ if(showDetail){
+ writer.writeText(detail, null);
+ writer.writeText("\t", null);
+ }
+
+ if(showSummary){
+ writer.writeText(summary, null);
+ writer.writeText("\t", null);
+ }
+ }else {
+
+ if(passLabel != null){
+ writer.writeText(passLabel, null);
+ writer.writeText("\t", null);
+ }
+
+ }
+
+ writer.endElement(HTML.SPAN_ELEM);
+
+ }
+
+ protected Class getComponentClass() {
+
+ return UIMessage.class;
+ }
+}
+
\ No newline at end of file
Deleted: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java
===================================================================
--- tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -1,303 +0,0 @@
-/**
- *
- */
-package org.richfaces.renderkit.html;
-
-import java.io.IOException;
-import java.util.Iterator;
-import java.util.Set;
-
-import javax.faces.application.FacesMessage;
-import javax.faces.component.UIComponent;
-import javax.faces.component.UIMessages;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-
-import org.ajax4jsf.renderkit.RendererUtils.HTML;
-import org.ajax4jsf.resource.InternetResource;
-import org.richfaces.component.UIRichMessages;
-import org.richfaces.renderkit.RichMessageBaseRenderer;
-
-/**
- * @author Anton Belevich
- *
- */
-public class HtmlRichMessagesRenderer extends RichMessageBaseRenderer {
-
- private boolean isWroteTable = false;
-
- private final InternetResource[] styles = {getResource("/org/richfaces/renderkit/html/css/msgs.css")};
-
- private InternetResource[] stylesAll = null;
-
-
- protected InternetResource[] getStyles(){
-
- synchronized (this){
-
- if(stylesAll == null){
-
- InternetResource[] rsrcs = super.getStyles();
- boolean ignoreSuper = rsrcs == null || rsrcs.length == 0;
- boolean ignoreThis = styles == null || styles.length == 0;
-
- if(ignoreSuper){
-
- if (ignoreThis) {
- stylesAll = new InternetResource[0];
- } else {
- stylesAll = styles;
- }
-
- }else{
-
- if(ignoreThis){
- stylesAll = rsrcs;
- }else{
-
- Set rsrcsSet = new java.util.LinkedHashSet();
- for(int i = 0; i < rsrcs.length; i++ ){
- rsrcsSet.add(rsrcs[i]);
- }
-
- for(int i = 0; i < styles.length; i++ ){
- rsrcsSet.add(styles[i]);
- }
-
- stylesAll = (InternetResource[]) rsrcsSet.toArray(new InternetResource[rsrcsSet.size()]);
- }
-
- }
-
- }
- }
-
- return stylesAll;
- }
-
- protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
-
- String forIds = null;
- Iterator messagesIter = null;
-
-
- UIRichMessages uiMessages = (UIRichMessages)component;
-
- if(uiMessages.isGlobalOnly()){
- forIds = "";
- }
-
- messagesIter = getMessageIterator(context, forIds, component);
-
- renderComponentUI(writer, context, component, messagesIter);
- }
-
- public void renderComponentUI(ResponseWriter writer, FacesContext context, UIComponent component, Iterator messagesIter) throws IOException{
-
- String layout = null;
-
-
- UIRichMessages uiMessages = (UIRichMessages)component;
-
- boolean isDisplayNone = (!messagesIter.hasNext() && !uiMessages.isPassed()) ? true : false;
-
- layout = (String)uiMessages.getAttributes().get("layout");
- if((layout != null) && (layout.equals("table"))){
-
- writer.startElement("table", uiMessages);
- getUtils().writeAttribute(writer,HTML.id_ATTRIBUTE ,uiMessages.getClientId(context));
- getUtils().writeAttribute(writer, HTML.cellpadding_ATTRIBUTE, "0");
- getUtils().writeAttribute(writer, HTML.cellspacing_ATTRIBUTE, "0");
- renderComponentOuterStyles(uiMessages, context, writer, isDisplayNone);
- writer.startElement("tbody", uiMessages);
- isWroteTable = true;
-
- }else if((layout != null) && (layout.equals("list"))){
-
- isWroteTable = false;
- writer.startElement("dl", uiMessages);
- getUtils().writeAttribute(writer,HTML.id_ATTRIBUTE ,uiMessages.getClientId(context));
- renderComponentOuterStyles(uiMessages, context, writer, isDisplayNone);
-
- }
-
- if(!messagesIter.hasNext()){
- renderBody(uiMessages, context, writer, null);
- }else{
-
- while(messagesIter.hasNext()){
- FacesMessage facesMsg = (FacesMessage)(messagesIter.next());
- renderBody(uiMessages, context, writer, facesMsg);
- }
-
- }
-
- if(isWroteTable){
- writer.endElement("tbody");
- writer.endElement("table");
- }else{
- writer.endElement("dl");
- }
-
- }
-
- public void renderLabelHtml(UIComponent component, FacesContext context, ResponseWriter writer,
- FacesMessage facesMsg, String labelClass, String labelStyle, String passLabel) throws IOException {
-
- String summary = null;
-
- String detail = null;
-
- String title = null;
-
- UIRichMessages uiMessages = null;
-
-
- if(!(component instanceof UIRichMessages)){
- return;
- }
-
- uiMessages = (UIRichMessages)component;
-
- boolean isTooltip = getUtils().isBooleanAttribute(uiMessages, "tooltip");
- boolean showSummary = uiMessages.isShowSummary();
- boolean showDetail = uiMessages.isShowDetail();
-
- if(facesMsg != null){
- summary = (null != (summary = facesMsg.getSummary())) ? summary : "";
- detail = (null != (detail = facesMsg.getDetail())) ? detail : "";
- }
-
- labelClass = labelClass == null ? "rich-messages-label" : "rich-messages-label " + labelClass;
- writer.startElement(HTML.SPAN_ELEM, uiMessages);
- getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE,labelClass);
- getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, labelStyle);
-
- if(facesMsg != null){
-
- if(isTooltip){
-
- title = (String) uiMessages.getAttributes().get("title");
- if(title != null){
- getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, title);
- }else{
- getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, summary);
- }
-
- }
-
- if(showDetail){
- writer.writeText(detail, null);
- writer.writeText("\t", null);
- }
-
- if(showSummary){
- writer.writeText(summary, null);
- writer.writeText("\t", null);
- }
-
- }else {
-
- if(passLabel != null){
- writer.writeText(passLabel, null);
- writer.writeText("\t", null);
- }
-
- }
-
- writer.endElement(HTML.SPAN_ELEM);
-
- }
-
- public void renderMarkerHtml(UIComponent component, UIComponent markerFacet, FacesContext context,
- ResponseWriter writer, String markerClass, String markerStyle)throws IOException {
-
- UIRichMessages uiMessages = null;
-
- if(!(component instanceof UIRichMessages)){
- return;
- }
-
- uiMessages = (UIRichMessages)component;
- writer.startElement(HTML.SPAN_ELEM, uiMessages);
- String classes = markerClass == null ? "rich-messages-marker" : "rich-messages-marker " + markerClass;
- getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, classes);
- getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, markerStyle);
- renderChild(context, markerFacet);
- writer.endElement(HTML.SPAN_ELEM);
-
- }
-
- public void renderComponentOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer, boolean isDisplayNone) throws IOException {
-
- UIRichMessages uiMessages = null;
- String displayStyle = null;
-
-
- if(!(component instanceof UIRichMessages)){
- return;
- }
-
- uiMessages = (UIRichMessages)component;
-
- if(isDisplayNone){
- displayStyle = "display: none";
- }
-
- String parentStyle = (String)uiMessages.getAttributes().get("style");
- String parentClass = (String)uiMessages.getAttributes().get("styleClass");
-
- if(displayStyle != null){
- parentStyle = (displayStyle != null) ? displayStyle + ";" + parentStyle : parentStyle;
- }
-
- String richMessageClass = "rich-messages";
- parentClass = parentClass != null ? (richMessageClass + " " + parentClass) : richMessageClass;
-
- getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, parentClass);
- getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, parentStyle);
-
- }
-
- public void renderOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer,
- String outerStyle, String outerClass) throws IOException {
-
- String richMessageClass = null != outerClass ? outerClass:"";
- String richMessageStyle = (null != outerStyle ? outerStyle : "");
-
- getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, richMessageClass);
- getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, richMessageStyle);
-
- }
-
- public void renderBody(UIRichMessages uiMessages, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
-
- if(uiMessages.isPassed()){
-
- if(isWroteTable){
- writer.startElement(HTML.TR_ELEMENT, uiMessages);
- writer.startElement(HTML.td_ELEM, uiMessages);
- }else{
- writer.startElement("dt", uiMessages);
- }
-
- outerStyles(uiMessages, context, writer, facesMsg);
- renderMarkerFacet(uiMessages, context, writer, facesMsg);
- renderLabel(uiMessages, context, writer, facesMsg);
-
- if(isWroteTable){
- writer.endElement(HTML.td_ELEM);
- writer.endElement(HTML.TR_ELEMENT);
- }else{
- writer.endElement("dt");
- }
-
- }
-
- }
-
- protected Class getComponentClass() {
- return UIMessages.class;
- }
-
-}
Copied: tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java (from rev 4098, tags/3.1.2.GA/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java)
===================================================================
--- tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java (rev 0)
+++ tags/3.1.2.SP1/ui/message/src/main/java/org/richfaces/renderkit/html/HtmlRichMessagesRenderer.java 2007-11-21 19:03:03 UTC (rev 4156)
@@ -0,0 +1,265 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.html;
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.application.FacesMessage.Severity;
+import javax.faces.component.UIComponent;
+import javax.faces.component.UIMessages;
+import javax.faces.context.FacesContext;
+import javax.faces.context.ResponseWriter;
+
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
+import org.richfaces.component.UIRichMessages;
+import org.richfaces.renderkit.RichMessageBaseRenderer;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class HtmlRichMessagesRenderer extends RichMessageBaseRenderer {
+
+ private boolean isWroteTable = false;
+
+ protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
+
+ String forIds = null;
+ Iterator messagesIter = null;
+
+
+ UIRichMessages uiMessages = (UIRichMessages)component;
+
+ if(uiMessages.isGlobalOnly()){
+ forIds = "";
+ }
+
+ messagesIter = getMessageIterator(context, forIds, component);
+
+ renderComponentUI(writer, context, component, messagesIter);
+ }
+
+ public void renderComponentUI(ResponseWriter writer, FacesContext context, UIComponent component, Iterator messagesIter) throws IOException{
+
+ String layout = null;
+
+
+ UIRichMessages uiMessages = (UIRichMessages)component;
+
+ boolean isDisplayNone = (!messagesIter.hasNext() && !uiMessages.isPassed()) ? true : false;
+
+ if(!isDisplayNone){
+ String [] levels = uiMessages.getLevel().split(",");
+ acceptLevels = creatAcceptLevels(levels);
+ }
+
+ layout = (String)uiMessages.getAttributes().get("layout");
+ if((layout != null) && (layout.equals("table"))){
+
+ writer.startElement("table", uiMessages);
+ getUtils().writeAttribute(writer,HTML.id_ATTRIBUTE ,uiMessages.getClientId(context));
+ getUtils().writeAttribute(writer, HTML.cellpadding_ATTRIBUTE, "0");
+ getUtils().writeAttribute(writer, HTML.cellspacing_ATTRIBUTE, "0");
+ renderComponentOuterStyles(uiMessages, context, writer, isDisplayNone);
+ writer.startElement("tbody", uiMessages);
+ isWroteTable = true;
+
+ }else if((layout != null) && (layout.equals("list"))){
+
+ isWroteTable = false;
+ writer.startElement("dl", uiMessages);
+ getUtils().writeAttribute(writer,HTML.id_ATTRIBUTE ,uiMessages.getClientId(context));
+ renderComponentOuterStyles(uiMessages, context, writer, isDisplayNone);
+
+ }
+
+ if(!messagesIter.hasNext()){
+ renderBody(uiMessages, context, writer, null);
+ }else{
+
+ while(messagesIter.hasNext()){
+ FacesMessage facesMsg = (FacesMessage)(messagesIter.next());
+
+ renderBody(uiMessages, context, writer, facesMsg);
+ }
+
+ }
+
+ if(isWroteTable){
+ writer.endElement("tbody");
+ writer.endElement("table");
+ }else{
+ writer.endElement("dl");
+ }
+
+ }
+
+
+
+ public void renderLabelHtml(UIComponent component, FacesContext context, ResponseWriter writer,
+ FacesMessage facesMsg, String labelClass, String labelStyle, String passLabel) throws IOException {
+
+ String summary = null;
+
+ String detail = null;
+
+ String title = null;
+
+ UIRichMessages uiMessages = null;
+
+
+ if(!(component instanceof UIRichMessages)){
+ return;
+ }
+
+ uiMessages = (UIRichMessages)component;
+
+ boolean isTooltip = getUtils().isBooleanAttribute(uiMessages, "tooltip");
+ boolean showSummary = uiMessages.isShowSummary();
+ boolean showDetail = uiMessages.isShowDetail();
+
+ if(facesMsg != null){
+ summary = (null != (summary = facesMsg.getSummary())) ? summary : "";
+ detail = (null != (detail = facesMsg.getDetail())) ? detail : "";
+ }
+
+ labelClass = labelClass == null ? "rich-messages-label" : "rich-messages-label " + labelClass;
+ writer.startElement(HTML.SPAN_ELEM, uiMessages);
+ getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE,labelClass);
+ getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, labelStyle);
+
+ if(facesMsg != null){
+
+ if(isTooltip){
+
+ title = (String) uiMessages.getAttributes().get("title");
+ if(title != null){
+ getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, title);
+ }else{
+ getUtils().writeAttribute(writer, HTML.title_ATTRIBUTE, summary);
+ }
+
+ }
+
+ if(showDetail){
+ writer.writeText(detail, null);
+ writer.writeText("\t", null);
+ }
+
+ if(showSummary){
+ writer.writeText(summary, null);
+ writer.writeText("\t", null);
+ }
+
+ }else {
+
+ if(passLabel != null){
+ writer.writeText(passLabel, null);
+ writer.writeText("\t", null);
+ }
+
+ }
+
+ writer.endElement(HTML.SPAN_ELEM);
+
+ }
+
+ public void renderMarkerHtml(UIComponent component, UIComponent markerFacet, FacesContext context,
+ ResponseWriter writer, String markerClass, String markerStyle)throws IOException {
+
+ UIRichMessages uiMessages = null;
+
+ if(!(component instanceof UIRichMessages)){
+ return;
+ }
+
+ uiMessages = (UIRichMessages)component;
+ writer.startElement(HTML.SPAN_ELEM, uiMessages);
+ String classes = markerClass == null ? "rich-messages-marker" : "rich-messages-marker " + markerClass;
+ getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, classes);
+ getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, markerStyle);
+ renderChild(context, markerFacet);
+ writer.endElement(HTML.SPAN_ELEM);
+
+ }
+
+ public void renderComponentOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer, boolean isDisplayNone) throws IOException {
+
+ UIRichMessages uiMessages = null;
+ String displayStyle = null;
+
+
+ if(!(component instanceof UIRichMessages)){
+ return;
+ }
+
+ uiMessages = (UIRichMessages)component;
+
+ if(isDisplayNone){
+ displayStyle = "display: none";
+ }
+
+ String parentStyle = (String)uiMessages.getAttributes().get("style");
+ String parentClass = (String)uiMessages.getAttributes().get("styleClass");
+
+ if(displayStyle != null){
+ parentStyle = (displayStyle != null) ? displayStyle + ";" + parentStyle : parentStyle;
+ }
+
+ String richMessageClass = "rich-messages";
+ parentClass = parentClass != null ? (richMessageClass + " " + parentClass) : richMessageClass;
+
+ getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, parentClass);
+ getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, parentStyle);
+
+ }
+
+ public void renderOuterStyles(UIComponent component, FacesContext context, ResponseWriter writer,
+ String outerStyle, String outerClass) throws IOException {
+
+ String richMessageClass = null != outerClass ? outerClass:"";
+ String richMessageStyle = (null != outerStyle ? outerStyle : "");
+
+ getUtils().writeAttribute(writer, HTML.class_ATTRIBUTE, richMessageClass);
+ getUtils().writeAttribute(writer, HTML.style_ATTRIBUTE, richMessageStyle);
+
+ }
+
+ public void renderBody(UIRichMessages uiMessages, FacesContext context, ResponseWriter writer,FacesMessage facesMsg) throws IOException{
+
+ if(uiMessages.isPassed()){
+
+ if(isAcceptableMessage(facesMsg)){
+
+ if(isWroteTable){
+ writer.startElement(HTML.TR_ELEMENT, uiMessages);
+ writer.startElement(HTML.td_ELEM, uiMessages);
+ }else{
+ writer.startElement("dt", uiMessages);
+ }
+
+ outerStyles(uiMessages, context, writer, facesMsg);
+ renderMarkerFacet(uiMessages, context, writer, facesMsg);
+ renderLabel(uiMessages, context, writer, facesMsg);
+
+ if(isWroteTable){
+ writer.endElement(HTML.td_ELEM);
+ writer.endElement(HTML.TR_ELEMENT);
+ }else{
+ writer.endElement("dt");
+ }
+ }
+ }
+
+ }
+
+ protected Class getComponentClass() {
+ return UIMessages.class;
+ }
+
+}
Modified: tags/3.1.2.SP1/ui/modal-panel/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/modal-panel/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/modal-panel/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/paint2D/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/paint2D/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/paint2D/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/panel/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/panel/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/panel/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<id>generate-sources</id>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/panelbar/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/panelbar/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/panelbar/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
Modified: tags/3.1.2.SP1/ui/panelmenu/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/panelmenu/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/panelmenu/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -3,7 +3,7 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces</groupId>
@@ -131,12 +131,12 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-test</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<scope>test</scope>
</dependency>
<dependency>
Modified: tags/3.1.2.SP1/ui/scrollableDataTable/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/scrollableDataTable/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/scrollableDataTable/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,19 +2,19 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
<artifactId>scrollableDataTable</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<name>Scrollable Data Table</name>
<build>
<plugins>
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -71,12 +71,12 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>dataTable</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<scope>test</scope>
</dependency>
</dependencies>
Modified: tags/3.1.2.SP1/ui/separator/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/separator/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/separator/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<id>generate-sources</id>
Modified: tags/3.1.2.SP1/ui/simpleTogglePanel/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/simpleTogglePanel/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/simpleTogglePanel/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/spacer/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/spacer/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/spacer/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/suggestionbox/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/suggestionbox/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/suggestionbox/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/tabPanel/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/tabPanel/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/tabPanel/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/togglePanel/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/togglePanel/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/togglePanel/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/toolBar/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/toolBar/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/toolBar/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/tooltip/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/tooltip/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/tooltip/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/tree/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/tree/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/tree/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
@@ -45,7 +45,7 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>drag-drop</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/treeModel/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/treeModel/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/treeModel/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<id>generate-sources</id>
@@ -45,12 +45,12 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>tree</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: tags/3.1.2.SP1/ui/virtualEarth/pom.xml
===================================================================
--- tags/3.1.2.GA/ui/virtualEarth/pom.xml 2007-11-20 00:45:01 UTC (rev 4097)
+++ tags/3.1.2.SP1/ui/virtualEarth/pom.xml 2007-11-21 19:03:03 UTC (rev 4156)
@@ -2,7 +2,7 @@
<parent>
<artifactId>ui</artifactId>
<groupId>org.richfaces</groupId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.richfaces.ui</groupId>
@@ -13,7 +13,7 @@
<plugin>
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
- <version>3.1.2.GA</version>
+ <version>3.1.3.SP1</version>
<executions>
<execution>
<phase>generate-sources</phase>
18 years, 5 months
JBoss Rich Faces SVN: r4155 - branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-11-21 13:21:51 -0500 (Wed, 21 Nov 2007)
New Revision: 4155
Modified:
branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
Log:
Ordering list: test for new JS files added to JUnit class.
Modified: branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
===================================================================
--- branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java 2007-11-21 18:17:01 UTC (rev 4154)
+++ branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java 2007-11-21 18:21:51 UTC (rev 4155)
@@ -56,6 +56,7 @@
static {
javaScripts.add("org.ajax4jsf.javascript.PrototypeScript");
+ javaScripts.add("scripts/ShuttleUtils.js");
javaScripts.add("scripts/SelectItem.js");
javaScripts.add("scripts/LayoutManager.js");
javaScripts.add("scripts/Control.js");
18 years, 5 months
JBoss Rich Faces SVN: r4154 - in branches/3.1.x/sandbox/samples/contextMenuDemo: src/main/java/org/richfaces and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-11-21 13:17:01 -0500 (Wed, 21 Nov 2007)
New Revision: 4154
Modified:
branches/3.1.x/sandbox/samples/contextMenuDemo/pom.xml
branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/java/org/richfaces/Bean.java
branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/webapp/pages/index.jsp
Log:
context menu - parameters support, more comprehensive demo
Modified: branches/3.1.x/sandbox/samples/contextMenuDemo/pom.xml
===================================================================
--- branches/3.1.x/sandbox/samples/contextMenuDemo/pom.xml 2007-11-21 18:16:53 UTC (rev 4153)
+++ branches/3.1.x/sandbox/samples/contextMenuDemo/pom.xml 2007-11-21 18:17:01 UTC (rev 4154)
@@ -31,6 +31,11 @@
<artifactId>contextMenu</artifactId>
<version>3.1.3-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>componentControl</artifactId>
+ <version>3.1.3-SNAPSHOT</version>
+ </dependency>
</dependencies>
<build>
<finalName>contextMenuDemo</finalName>
Modified: branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/java/org/richfaces/Bean.java
===================================================================
--- branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/java/org/richfaces/Bean.java 2007-11-21 18:16:53 UTC (rev 4153)
+++ branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/java/org/richfaces/Bean.java 2007-11-21 18:17:01 UTC (rev 4154)
@@ -24,6 +24,8 @@
import java.util.ArrayList;
import java.util.List;
+import javax.faces.application.FacesMessage;
+import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
/**
@@ -87,11 +89,13 @@
}
public void actionListener(ActionEvent event) {
- System.out.println("Bean.actionListener()" + event.getComponent());
+ //System.out.println("Bean.actionListener()" + event.getComponent());
}
public void action() {
- System.out.println("Bean.action()" + param);
+ FacesContext context = FacesContext.getCurrentInstance();
+ context.addMessage(null, new FacesMessage("Action has been performed. Parameter passed: " + param));
+ //System.out.println("Bean.action()" + param);
}
Modified: branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/webapp/pages/index.jsp 2007-11-21 18:16:53 UTC (rev 4153)
+++ branches/3.1.x/sandbox/samples/contextMenuDemo/src/main/webapp/pages/index.jsp 2007-11-21 18:17:01 UTC (rev 4154)
@@ -3,6 +3,7 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/dataTable" prefix="dt"%>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/ui/contextMenu" prefix="cm"%>
+<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/componentControl" prefix="cc"%>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/menu-components" prefix="mc" %>
<html>
<head>
@@ -21,9 +22,14 @@
</head>
<body>
<f:view>
+ <div id="sgs" style="height:50px">
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages></h:messages>
+ </a4j:outputPanel>
+ </div>
<h:form id="f">
<h:panelGroup id="outputText" >
- <h:outputLink value="#" onclick="$('f:m').component.show(event, {param: 'zz'});return false;">Right Click Here</h:outputLink>
+ Right Click Here
<cm:contextMenu submitMode="server" id="m">
<mc:menuItem id="menuItem11" action="#{bean.action}" value="{param} ajax submit" submitMode="ajax" actionListener="#{bean.actionListener}">
<a4j:actionparam assignTo="#{bean.param}" name="param" value="{param}"></a4j:actionparam>
@@ -44,6 +50,7 @@
<a4j:actionparam assignTo="#{bean.param}" name="param" value="{param}"></a4j:actionparam>
<h:inputText value="{param}"/>
</mc:menuItem>
+ <a4j:actionparam name="param" value="function() {return new Date()}" noEscape="true"/>
</cm:contextMenu>
</h:panelGroup>
<dt:dataTable id="table" value="#{bean.model}" var="row" style="width:300px"
@@ -55,9 +62,13 @@
<f:facet name="footer">
<h:outputText value="First footer"></h:outputText>
</f:facet>
- <h:outputLink value="#" onclick="$('f:m').component.show(event, {param: '#{row.first}'});return false;">
- <h:outputText value="#{row.first}"></h:outputText>
- </h:outputLink>
+ <h:panelGroup id="aa">
+ <h:outputText value="#{row.first}">
+ </h:outputText>
+ </h:panelGroup>
+ <cc:componentControl event="oncontextmenu" attachTo="aa" for=":f:m" operation="doShow">
+ <f:param name="param" value="#{row.first}"></f:param>
+ </cc:componentControl>
</dt:column>
<dt:column headerClass="header" footerClass="footer">
<f:facet name="header">
@@ -66,9 +77,12 @@
<f:facet name="footer">
<h:outputText value="Second footer"></h:outputText>
</f:facet>
- <h:outputLink value="#" onclick="$('f:m').component.show(event, {param: '#{row.second}'});return false;">
- <h:outputText value="#{row.second}"></h:outputText>
- </h:outputLink>
+ <h:panelGroup id="bb" layout="inline">
+ <h:outputText value="#{row.second}"/>
+ </h:panelGroup>
+ <cc:componentControl event="oncontextmenu" attachTo="bb" for=":f:m" operation="doShow">
+ <f:param name="param" value="#{row.second}"></f:param>
+ </cc:componentControl>
</dt:column>
</dt:dataTable>
</h:form>
18 years, 5 months
JBoss Rich Faces SVN: r4153 - branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-11-21 13:16:53 -0500 (Wed, 21 Nov 2007)
New Revision: 4153
Modified:
branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
context menu - parameters support, more comprehensive demo
Modified: branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-11-21 18:16:44 UTC (rev 4152)
+++ branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-11-21 18:16:53 UTC (rev 4153)
@@ -105,21 +105,38 @@
var visible = this.isVisible(menuName);
this.setVisibility(menuName, visibleFlag);
this.ieSelectWorkAround(menuName, visibleFlag);
+ var menuLayer = this.layers[menu.id];
+
if (visible && !visibleFlag) {
- var menuLayer = this.layers[menu.id];
- if (menuLayer && menuLayer.eventOnClose) menuLayer.eventOnClose();
- if (menuLayer && menuLayer.eventOnCollapse) menuLayer.eventOnCollapse();
- if (menuLayer.refItem) menuLayer.refItem.highLightGroup(false);
+ if (menuLayer) {
+ if (menuLayer.eventOnClose) {
+ menuLayer.eventOnClose();
+ }
+ if (menuLayer.eventOnCollapse) {
+ menuLayer.eventOnCollapse();
+ }
+ if (menuLayer.refItem) {
+ menuLayer.refItem.highLightGroup(false);
+ }
+ }
} else if (!visible && visibleFlag) {
- var menuLayer = this.layers[menu.id];
- if (menuLayer && menuLayer.eventOnOpen) menuLayer.eventOnOpen();
- if (menuLayer && menuLayer.eventOnExpand) menuLayer.eventOnExpand();
-
- if (menuLayer.level>0) {
- do {
- menuLayer = this.layers[(this.father[menuLayer.id])];
- } while (menuLayer.level > 0)
- if (menuLayer && menuLayer.eventOnGroupActivate) menuLayer.eventOnGroupActivate();
+ if (menuLayer) {
+ if (menuLayer.eventOnOpen) {
+ menuLayer.eventOnOpen();
+ }
+ if (menuLayer.eventOnExpand) {
+ menuLayer.eventOnExpand();
+ }
+
+ if (menuLayer.level>0) {
+ do {
+ menuLayer = this.layers[(this.father[menuLayer.id])];
+ } while (menuLayer.level > 0);
+
+ if (menuLayer && menuLayer.eventOnGroupActivate) {
+ menuLayer.eventOnGroupActivate();
+ }
+ }
}
}
},
@@ -1072,35 +1089,24 @@
return this;
},
- asContextMenu: function(parent, evt){
- var refLayer = $(parent);
- if(!refLayer) return this;
- var id = this.id;
+ asContextMenu: function(options){
this.highlightParent = false;
+ this.options = options || {};
+ if (this.options.ongroupactivate){
+ this.eventOnGroupActivate = this.options.ongroupactivate.bindAsEventListener(this);
+ }
+ if (this.options.onitemselect){
+ this.eventOnItemSelect = this.options.onitemselect.bindAsEventListener(this);
+ }
+ if (this.options.oncollapse){
+ this.eventOnCollapse = this.options.oncollapse.bindAsEventListener(this);
+ }
+ if (this.options.onexpand){
+ this.eventOnExpand = this.options.onexpand.bindAsEventListener(this);
+ }
+
//TODO: clarify
- return this;
-
- if(!evt){
- evt = 'onclick';
- }
- var offEvt = 'onmouseout';
- offEvt = this.eventJsToPrototype(offEvt);
-
- var dis = this;
- var onmouseout =
- function(e){
- RichFaces.Menu.Layers.setLMTO(this.hideDelay);
- RichFaces.Menu.Layers.clearPopUpTO();
- }.bindAsEventListener(this);
- evt = this.eventJsToPrototype(evt);
- var handler = function(e){new RichFaces.Menu.DelayedContextMenu(this.id, e).show();}.bindAsEventListener(this);
- var binding = new RichFaces.Menu.Layer.Binding (parent, evt, handler);
- this.bindings.push(binding);
- binding.refresh();
- binding = new RichFaces.Menu.Layer.Binding (parent, offEvt, onmouseout);
- this.bindings.push(binding);
- binding.refresh();
- return this;
+ return this;
},
eventJsToPrototype: function(evtName){
var indexof = evtName.indexOf('on');
18 years, 5 months
JBoss Rich Faces SVN: r4152 - in branches/3.1.x/sandbox/ui/contextMenu/src/main: java/org/richfaces/component and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-11-21 13:16:44 -0500 (Wed, 21 Nov 2007)
New Revision: 4152
Modified:
branches/3.1.x/sandbox/ui/contextMenu/src/main/config/component/contextMenu.xml
branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/component/UIContextMenu.java
branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererBase.java
branches/3.1.x/sandbox/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
Log:
context menu - parameters support, more comprehensive demo
Modified: branches/3.1.x/sandbox/ui/contextMenu/src/main/config/component/contextMenu.xml
===================================================================
--- branches/3.1.x/sandbox/ui/contextMenu/src/main/config/component/contextMenu.xml 2007-11-21 18:13:51 UTC (rev 4151)
+++ branches/3.1.x/sandbox/ui/contextMenu/src/main/config/component/contextMenu.xml 2007-11-21 18:16:44 UTC (rev 4152)
@@ -32,5 +32,19 @@
</description>
<defaultvalue>"server"</defaultvalue>
</property>
+ <property>
+ <name>event</name>
+ <classname>java.lang.String</classname>
+ <description>
+ </description>
+ <defaultvalue>"oncontextmenu"</defaultvalue>
+ </property>
+ <property>
+ <name>attached</name>
+ <classname>boolean</classname>
+ <description>
+ </description>
+ <defaultvalue>true</defaultvalue>
+ </property>
</component>
</components>
Modified: branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/component/UIContextMenu.java
===================================================================
--- branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/component/UIContextMenu.java 2007-11-21 18:13:51 UTC (rev 4151)
+++ branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/component/UIContextMenu.java 2007-11-21 18:16:44 UTC (rev 4152)
@@ -34,4 +34,8 @@
public abstract void setAttached(boolean b);
+ public abstract String getEvent();
+
+ public abstract void setEvent(String event);
+
}
Modified: branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererBase.java
===================================================================
--- branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererBase.java 2007-11-21 18:13:51 UTC (rev 4151)
+++ branches/3.1.x/sandbox/ui/contextMenu/src/main/java/org/richfaces/renderkit/html/ContextMenuRendererBase.java 2007-11-21 18:16:44 UTC (rev 4152)
@@ -23,13 +23,22 @@
import java.io.IOException;
import java.io.Writer;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.List;
+import java.util.Map;
import javax.faces.component.UIComponent;
+import javax.faces.component.UIParameter;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
+import org.ajax4jsf.component.JavaScriptParameter;
+import org.ajax4jsf.javascript.JSFunction;
+import org.ajax4jsf.javascript.JSReference;
import org.ajax4jsf.renderkit.RendererUtils.HTML;
import org.ajax4jsf.resource.InternetResource;
+import org.richfaces.component.UIContextMenu;
import org.richfaces.renderkit.TemplateEncoderRendererBase;
import org.xml.sax.ContentHandler;
@@ -94,12 +103,57 @@
writer.write(component.getClientId(context));
writer.write("',");
writeScriptBody(context, component, true);
- writer.write(");");
+ writer.write(")");
+ writer.write(getClientAttachmentOptions(context, (UIContextMenu) component));
+ writer.write(";");
+
writer.endElement("script");
}
+ private String getClientAttachmentOptions(FacesContext context, UIContextMenu contextMenu) {
+ String result = "";
+ if (contextMenu.isAttached()) {
+ JSFunction function = new JSFunction(".attachToParent");
+ UIComponent parent = contextMenu.getParent();
+ String parentId = parent.getClientId(context);
+
+ function.addParameter(parentId);
+
+ String event = contextMenu.getEvent();
+
+ if (event == null) {
+ event = "oncontextmenu";
+ }
+
+ function.addParameter(event);
+
+ Map params = new LinkedHashMap();
+ List children = contextMenu.getChildren();
+
+ for (Iterator iterator = children.iterator(); iterator.hasNext();) {
+ UIComponent kid = (UIComponent) iterator.next();
+
+ if (kid instanceof UIParameter) {
+ UIParameter parameter = (UIParameter) kid;
+ String name = parameter.getName();
+ Object value = parameter.getValue();
+
+ if (parameter instanceof JavaScriptParameter &&
+ ((JavaScriptParameter) parameter).isNoEscape()) {
+ value = new JSReference(String.valueOf(value));
+ }
+
+ params.put(name, value);
+ }
+
+ }
+
+ function.addParameter(params);
+ result = function.toScript();
+ }
+ return result;
+ }
-
protected void doEncodeEnd(ResponseWriter writer, FacesContext context,
UIComponent component) throws IOException {
writer.endElement(HTML.DIV_ELEM);
Modified: branches/3.1.x/sandbox/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js
===================================================================
--- branches/3.1.x/sandbox/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js 2007-11-21 18:13:51 UTC (rev 4151)
+++ branches/3.1.x/sandbox/ui/contextMenu/src/main/resources/org/richfaces/renderkit/html/scripts/context-menu.js 2007-11-21 18:16:44 UTC (rev 4152)
@@ -7,12 +7,34 @@
this.id = id;
this.evaluator = evaluator;
$(id).component = this;
+ this.doShow = this.show;
+ this.doHide = this.hide;
+ },
+
+ attachToParent : function(id, event, context) {
+ var element = $(id);
+ if (!element) {
+ element = $(this.id);
+ if (element) {
+ element = element.parentNode;
+ }
+ }
+ //Strip 'on' here
+ var evnName = event.substr(2);
+ var listener = this.show.bindAsEventListener(this, context);
+ Event.observe(element, evnName, listener);
},
+ hide: function() {
+ //Stub here
+ RichFaces.Menu.Layers.shutdown();
+ },
+
show: function(event, context) {
this.construct(context);
new RichFaces.Menu.DelayedContextMenu(this.id + "_menu", event).show();
+ Event.stop(event||window.event);
},
construct: function(context) {
18 years, 5 months
JBoss Rich Faces SVN: r4151 - branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-11-21 13:13:51 -0500 (Wed, 21 Nov 2007)
New Revision: 4151
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
Log:
Fix situation when an user deselect item with Ctrl key pressed.
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-11-21 17:13:18 UTC (rev 4150)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-11-21 18:13:51 UTC (rev 4151)
@@ -255,8 +255,11 @@
this.activeItem = activeElem;
}
-
- Richfaces.SelectItems.doActive(this.activeItem);
+ if (this.getSelectItemByNode(this.activeItem)._selected) {
+ Richfaces.SelectItems.doActive(this.activeItem);
+ } else {
+ Richfaces.SelectItems.doNormal(this.activeItem);
+ }
this.saveState();
this.controlListManager();
this.setFocus();
18 years, 5 months
JBoss Rich Faces SVN: r4150 - in branches/3.1.x/ui/orderingList/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2007-11-21 12:13:18 -0500 (Wed, 21 Nov 2007)
New Revision: 4150
Added:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js
Modified:
branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
Log:
refactoring of .js files
Added: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js (rev 0)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2007-11-21 17:13:18 UTC (rev 4150)
@@ -0,0 +1,352 @@
+if(!window.Richfaces) window.Richfaces = {};
+
+Richfaces.ListBase = Class.create();
+
+Richfaces.ListBase.compare = function(obj1, obj2) {
+ return ((obj1 == obj2) ? 0 : ((obj1 < obj2) ? -1 : 1));
+}
+
+Richfaces.ListBase.ORDERING_LIST_CLASSES = {
+ normal : "ol_internal_tab rich-ordering-list-items",
+ disabled : "ol_internal_tab rich-ordering-list-disabled",
+ active : "ol_internal_tab rich-ordering-list-active"
+}
+
+Richfaces.ListBase.ASC = "acs";
+Richfaces.ListBase.DESC = "desc";
+
+Richfaces.ListBase.CONTROL_SET = ["A", "INPUT", "TEXTAREA", "SELECT", "BUTTON"];
+
+Richfaces.ListBase.prototype = {
+ initialize : function(containerId, contentTableId, headerTableId, focusKeeperId, valueKeeperId,
+ onclickControlId) {
+ this.selectedItems = new Array();
+
+ this.container = $(containerId);
+ this.shuttleTable = $(contentTableId);
+ this.valueKeeper = $(valueKeeperId);
+ this.focusKeeper = $(focusKeeperId);
+ this.focusKeeper.focused = false;
+ this.setFocus();
+ this.focusKeeper.observe("keydown", (function(e) {this.onkeydownHandler(window.event || e)}).bindAsEventListener(this));
+ this.focusKeeper.observe("blur", function (e) {this.focusListener(e);}.bindAsEventListener(this));
+
+ this.shuttleTbody = this.shuttleTable.tBodies[0];
+
+ this.items = null;
+ this.retrieveShuttleItems(containerId);
+
+ this.shuttle = null;
+ this.sortOrder = Richfaces.ListBase.ASC;
+
+ this.activeItem = null;
+
+ this.shuttleTop = LayoutManager.getElemXY(this.shuttleTable).top;
+
+ $(contentTableId).observe("click", function(e) {this.onclickHandler(window.event || e)}.bindAsEventListener(this));
+ },
+
+ retrieveShuttleItems : function(containerId) {
+ var rows = this.shuttleTbody.rows;
+ this.shuttleItems = new Array();
+ var id;
+
+ for (var i = 0; i < rows.length; i++) {
+ var row = rows[i];
+ id = row.id.split(containerId + ":")[1];
+ this.shuttleItems[i]
+ = new Richfaces.SelectItem(null, (id || i),
+ ((Richfaces.SelectItems.isSelected(row)) ? true : false), row);
+ if (Richfaces.SelectItems.isSelected(row)) {
+ this.selectedItems.push(row);
+ }
+ if (Richfaces.SelectItems.isActive(row)) {
+ this.activeItem = row;
+ }
+ }
+ },
+
+ getExtremeItem : function(position) { //FIXME
+ var extremeItem = this.selectedItems[0];
+ var currentItem;
+
+ for (var i = 1; i < this.selectedItems.length; i++) {
+ currentItem = this.selectedItems[i];
+ if (position == "first") {
+ if (currentItem.rowIndex < extremeItem.rowIndex) {
+ extremeItem = currentItem;
+ }
+ } else {
+ if (currentItem.rowIndex > extremeItem.rowIndex) {
+ extremeItem = currentItem;
+ }
+ }
+ }
+ return extremeItem;
+ },
+
+ getEventTargetRow : function(event) {
+ var activeElem;
+ if (event.rangeParent) {
+ //activeElem = event.rangeParent.parentNode;
+ activeElem = event.target;
+ } else {
+ activeElem = event.srcElement;
+ }
+
+ if (activeElem == null) {
+ return;
+ }
+
+ if (activeElem.tagName && Richfaces.ListBase.CONTROL_SET.indexOf(activeElem.tagName) != -1) {
+ return;
+ }
+
+ while (activeElem.tagName.toLowerCase() != "tr") {
+ activeElem = activeElem.parentNode;
+ if (!activeElem.tagName) {
+ return; //for IE
+ }
+ }
+
+ return activeElem;
+ },
+
+ onclickHandler : function(event) {
+ var activeElem = this.getEventTargetRow(event);
+ if (activeElem != null) {
+
+ if (event.ctrlKey) {
+ this.addSelectedItem(activeElem);
+ this.activeItem = activeElem;
+ } else if (event.shiftKey) {
+ this.selectItemGroup(activeElem);
+ } else {
+ this.selectionItem(activeElem);
+ this.activeItem = activeElem;
+ }
+
+
+ Richfaces.SelectItems.doActive(this.activeItem);
+ this.saveState();
+ //this.controlListManager();
+ this.setFocus();
+ }
+ },
+
+ onkeydownHandler : function(event) {
+ var action = null;
+ switch (event.keyCode) {
+ case 34 : action = 'last'; this.moveSelectedItems(action ,event); break; //page down
+ case 33 : action = 'first'; this.moveSelectedItems(action, event); break; //page up
+ case 38 : //up arrow
+ action = 'up';
+ this.moveActiveItem(action, event);
+ break;
+ case 40 : //down arrow
+ action = 'down';
+ this.moveActiveItem(action, event);
+ break;
+ case 65 : // Ctrl + A
+ if (event.ctrlKey) {
+ this.selectAll();
+ Event.stop(event);
+ }
+ Richfaces.SelectItems.doActive(this.activeItem);
+ this.saveState();
+ break;
+ case 32 : this.invertSelection(event); this.saveState(); break; //blank
+ }
+ },
+
+ invertSelection : function(event) {
+ var eventItem = this.activeItem;
+ var eventShuttleItem = this.getSelectItemByNode(eventItem);
+ if (eventShuttleItem._selected) {
+ eventShuttleItem._selected = false;
+ this.selectedItems.remove(eventShuttleItem);
+ } else {
+ eventShuttleItem._selected = true;
+ this.selectedItems.push(eventShuttleItem);
+ }
+ },
+
+ moveActiveItem : function(action, event) {
+ var item = this.activeItem;
+ var rows = this.shuttleTbody.rows;
+ if ((action == 'up') && (item.rowIndex > 0)) {
+ this.changeActiveItems(rows[item.rowIndex - 1], item);
+ } else if ((action == 'down') && (item.rowIndex < this.shuttleItems.length - 1)) {
+ this.changeActiveItems(rows[item.rowIndex + 1], item);
+ }
+
+ this.saveState();
+ this.autoScrolling(action, event);
+ //this.controlListManager();
+ },
+
+ changeActiveItems : function(newItem, item) {
+ var shuttleItem = this.getSelectItemByNode(item);
+ var newShuttleItem = this.getSelectItemByNode(newItem);
+
+ this.resetMarked();
+
+ Richfaces.SelectItems.doActive(newItem);
+ newItem._selected = true;
+ this.activeItem = newItem;
+ this.selectedItems.push(newItem);
+ },
+
+ selectAll : function() {
+ var startIndex = 0;
+ var endIndex = this.shuttleItems.length - 1;
+ this.selectItemRange(startIndex, endIndex);
+ },
+
+ /**
+ * Click handler
+ */
+ selectionItem : function(activeItem) {
+ var markedItem = this.getSelectItemByNode(activeItem);
+ var markedShuttleItem = activeItem;
+
+ if (markedItem != null) {
+ this.resetMarked();
+ if (markedItem._selected) {
+ markedItem._selected = false;
+ } else {
+ markedItem._selected = true;
+ this.selectedItems[0] = markedShuttleItem;
+ }
+ }
+ },
+
+ /**
+ * CTRL+Click handler
+ */
+ addSelectedItem : function(activeItem) {
+ var markedItem = this.getSelectItemByNode(activeItem);
+ var markedShuttleItem = activeItem;
+
+ if (markedItem._selected) {
+ this.selectedItems.remove(markedShuttleItem);
+ markedItem._selected = false;
+ } else {
+ markedItem._selected = true;
+ this.selectedItems.push(markedShuttleItem);
+ }
+
+ Richfaces.SelectItems.doSelect(this.activeItem);
+
+ if (this.activeItem && !this.getSelectItemByNode(this.activeItem)._selected) {
+ Richfaces.SelectItems.doNormal(this.activeItem);
+ }
+ },
+
+ /**
+ * Shift+Click handler
+ */
+ selectItemGroup : function(currentItem) {
+ //FIXME
+ var activeItemIndex = this.activeItem.rowIndex;
+ var startIndex;
+ var endIndex;
+
+ if (currentItem.rowIndex > activeItemIndex) {
+ startIndex = activeItemIndex;
+ endIndex = currentItem.rowIndex;
+ } else {
+ startIndex = currentItem.rowIndex;
+ endIndex = activeItemIndex;
+ }
+
+ this.resetMarked();
+
+ this.selectItemRange(startIndex, endIndex);
+ },
+
+ selectItemRange : function(startIndex, endIndex) {
+ var rows = this.shuttleTbody.rows;
+ for (var i = startIndex; i <= endIndex; i++) {
+ Richfaces.SelectItems.doSelect(rows[i]);
+ this.selectedItems.push(rows[i]);
+ this.getSelectItemByNode(rows[i])._selected = true;
+ }
+ },
+
+ resetMarked : function() {
+ var rows = this.shuttleTbody.rows;
+ for (var i = 0; i < rows.length; i++) {
+ var shuttleItem = rows[i];
+ Richfaces.SelectItems.doNormal(shuttleItem);
+ this.getSelectItemByNode(shuttleItem)._selected = false; //FIXME
+ }
+ this.selectedItems.length = 0;
+ },
+
+ getSelectItemByNode : function(selectItemNode) {
+ for (var i = 0; i < this.shuttleItems.length; i++) {
+ var item = this.shuttleItems[i];
+ if (selectItemNode.rowIndex == item._node.rowIndex) {
+ return item;
+ }
+ }
+ return null;
+ },
+
+ autoScrolling : function(action, event) {
+ this.selectedItems.sort(this.compareByRowIndex);
+ var increment;
+ var scrollTop = this.shuttleTable.parentNode.scrollTop;
+ if (action == 'up' || action == 'first') {
+ var targetItemTop = LayoutManager.getElemXY(this.selectedItems[0]).top;
+ increment = (targetItemTop - scrollTop) - this.shuttleTop;
+ if (increment < 0) {
+ this.shuttleTable.parentNode.scrollTop += increment;
+ }
+ } else if (action == 'down' || action == 'last') {
+ var item = this.selectedItems[this.selectedItems.length - 1];
+ targetItemBottom = LayoutManager.getElemXY(this.selectedItems[this.selectedItems.length - 1]).top + item.offsetHeight;
+ var increment = (targetItemBottom - scrollTop) - (this.shuttleTop + this.shuttleTable.parentNode.offsetHeight - LayoutManager.SCROLL_WIDTH);
+ if (increment > 0) {
+ this.shuttleTable.parentNode.scrollTop += increment;
+ }
+ }
+ Event.stop(event);
+ },
+
+ setFocus : function() {
+ this.focusKeeper.focus();
+ this.focusKeeper.focused = true;
+ if (this.isListActive()) {
+ this.shuttleTable.className = Richfaces.ListBase.ORDERING_LIST_CLASSES.active;
+ }
+ },
+
+ focusListener : function(e) {
+ e = e || window.event;
+ this.focusKeeper.focusused = false;
+ this.shuttleTable.className = Richfaces.ListBase.ORDERING_LIST_CLASSES.normal;
+ },
+
+ compareByLabel : function(obj1, obj2) {
+ obj1 = obj1._label;
+ obj2 = obj2._label;
+ return Richfaces.ListBase.compare(obj1, obj2);
+ },
+
+ compareByRowIndex : function(obj1, obj2) {
+ obj1 = obj1.rowIndex;
+ obj2 = obj2.rowIndex;
+ return Richfaces.ListBase.compare(obj1, obj2);
+ },
+
+ isListActive : function() {
+ if ((this.activeItem != null || this.selectedItems.length != 0) && this.focusKeeper.focused) {
+ return true;
+ }
+ return false;
+ }
+}
+
+
Added: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js (rev 0)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/extend.js 2007-11-21 17:13:18 UTC (rev 4150)
@@ -0,0 +1,189 @@
+// vim: tw=80 ts=4 sw=4 noet
+// ----------------------------------------------------------------------------
+// Project : Extend - Prototype OOP extension
+// URL : <http://www.ivy.fr/js/extend>
+// ----------------------------------------------------------------------------
+// Author : Sebastien Pierre <sebastien(a)ivy.fr>
+// License : Revised BSD License
+// ----------------------------------------------------------------------------
+// Creation : 08-Sep-2006
+// Last mod : 17-Nov-2006
+// ----------------------------------------------------------------------------
+
+// The Extend object holds all the information required to implement the
+// inheritance and other OO-goodness.
+if(!window.Extend) {
+
+Extend = {
+ VERSION: 1.1,
+ CLASSDEF: "CLASSDEF",
+ DELETE: "DELETE",
+ // These are a list of methods of class instances that are reserved by the
+ // OO layer (see the reparent method for more info)
+ INSTANCE_RESERVED: {
+ CLASSDEF: true,
+ getClass: true,
+ parentClass: true
+ },
+
+ // Sets up a class
+ setupClass: function( _class, declaration )
+ {
+ // We create an empty prototype if the user did not provide one
+ declaration = declaration || {}
+ _class.prototype = declaration
+ // We clone the given method definition, because they will be augmented
+ // with the ones defined in the parent class
+ _class.methods = {}
+ for ( var key in declaration ) { _class.methods[key] = declaration[key] }
+ _class.inherited = {}
+ _class.parentClass = undefined
+ if ( declaration[Extend.CLASSDEF] )
+ { _class.className = declaration[Extend.CLASSDEF].name }
+ else
+ { _class.className = undefined }
+ _class.subclasses = _class.subclasses || []
+ _class.constructor = Extend.Operations.constructor
+ _class.reparent = Extend.Operations.reparent
+ _class.method = Extend.Operations.method
+ _class.update = Extend.Operations.update
+ if ( declaration[Extend.CLASSDEF] )
+ { _class.reparent(declaration[Extend.CLASSDEF].parent) }
+ // We update the class methods with an `ofClass` method that returns the
+ // class, so that instances will have a proper
+ declaration.getClass = function() {return _class}
+ declaration.parentClass = function() {return this.getClass().parentClass}
+ declaration.parentCall = function() {
+ var new_args = []
+ for ( var i=1;i<arguments.length;i++ ) {new_args.push(arguments[i])}
+ return this.parentClass().method(arguments[0]).apply(this, new_args)
+ }
+ declaration.setClass = function(newClass) {
+ return this.getClass().parentClass
+ }
+ // We reparent the subclasses if any
+ for ( var i=0 ; i<_class.subclasses ; i++ ) {
+ _class.subclasses[i].reparent(_class)
+ }
+ return _class
+ },
+ // These are operations that will be "mixed-in" with the new classes
+ Operations: {
+ constructor: function() {
+ return this.prototype.initialize || function() {}
+ },
+ // Reparents this class
+ reparent: function( newParentClass )
+ {
+ if ( this.parentClass )
+ {
+ var this_index = this.subclasses.indexOf(this)
+ this.parentClass.subclasses.splice(this_index, 1)
+ for ( var method_name in this.inherited ) {
+ this.method(method_name, null, this.parentClass)
+ }
+ }
+ this.parentClass = newParentClass
+ if ( !newParentClass ) return
+ var parent_methods = newParentClass.prototype
+ // We iterate on all the parent methods
+ for ( parent_method_name in parent_methods ) {
+ // If the method is a reserved one, we skip it
+ if ( Extend.INSTANCE_RESERVED[parent_method_name] == true ) { continue }
+ // If the method is not directly defined in the current class, we add it
+ if ( this.methods[parent_method_name] == undefined )
+ {
+ this.method( parent_method_name,
+ parent_methods[parent_method_name],
+ newParentClass.inherited[parent_method_name] || newParentClass
+ )
+ }
+ }
+ newParentClass.subclasses.push(this)
+ },
+ update: function(newPrototype) {
+ Extend.setupClass(this, newPrototype||this.prototype)
+ },
+ // Returns, sets or deletes a method in this class
+ method: function( name, body, declaredIn ) {
+ if ( body == undefined )
+ {
+ var method = this.prototype[name]
+ if ( name == undefined ) throw new Error("Method not found: "+name)
+ return method
+ }
+ else
+ {
+ declaredIn = declaredIn || this
+ // If the method is declared in this class
+ if ( declaredIn == this )
+ {
+ if ( body == Extend.DELETE ) {
+ delete this.methods[name]
+ delete this.inherited[name]
+ delete this.prototype[name]
+ // If the method is defined in the parent we set it
+ if ( this.parentClass ) {
+ var parent_method = this.parentClass.method(name)
+ if ( parent_method ) {
+ this.method(name, parent_method, this.parentClass.inherited[name] || this.parentClass)
+ }
+ }
+ } else {
+ this.methods[name] = body
+ this.prototype[name] = body
+ delete this.inherited[name]
+ }
+ }
+ // Or if its declared in another class
+ else
+ {
+ if ( body == Extend.DELETE ) {
+ delete this.inherited[name]
+ delete this.methods[name]
+ delete this.prototype[name]
+ // If the method is defined in the parent we set it
+ if ( this.parentClass ) {
+ var parent_method = this.parentClass.method(name)
+ if ( parent_method ) {
+ this.method(name, parent_method, this.parentClass.inherited[name] || this.parentClass)
+ }
+ }
+ }
+ else {
+ if ( this.methods[name] == undefined ) {
+ this.inherited[name] = declaredIn
+ this.prototype[name] = body
+ }
+ }
+ }
+ for ( var i=0 ; i<this.subclasses.length ; i++ )
+ {
+ this.subclasses[i].method(name,body,declaredIn)
+ }
+ }
+ }
+ }
+}
+
+// In case prototype is not available, we use this instead
+try {
+ Class = Class
+} catch ( Error ) {
+ Class = {create:function() {return function() {this.initialize.apply(this, arguments)}}}
+}
+Class._create = Class.create
+Class.create = function( declaration ) {
+ var new_class = Extend.setupClass(Class._create(declaration), declaration)
+ // The following only works on FireFox
+ /*
+ new_class.watch("prototype", function(id,oldval,newval) {
+ new_class.prototype = newval
+ Extend.setupClass(new_class, newval)
+ return newval
+ })*/
+ return new_class
+};
+
+};
+// EOF
Modified: branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-11-21 17:04:30 UTC (rev 4149)
+++ branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-11-21 17:13:18 UTC (rev 4150)
@@ -13,11 +13,13 @@
<h:scripts>
new org.ajax4jsf.javascript.PrototypeScript(),
+ scripts/extend.js,
scripts/ShuttleUtils.js,
scripts/SelectItem.js,
scripts/LayoutManager.js
- scripts/Control.js,
- scripts/OrderingList.js,
+ scripts/Control.js,
+ scripts/ListBase.js,
+ scripts/OrderingList.js
</h:scripts>
<f:clientId var="clientId"/>
@@ -72,7 +74,7 @@
function init() {
try {
var cotrolsIdPrefix = [['up', 'disup'], ['down', 'disdown'], ['last', 'dislast'], ['first','disfirst']];
- var shuttle = new Shuttle('#{cId}', '#{cId}internal_tab', '#{cId}internal_header_tab', '#{cId}focusKeeper', '#{cId}valueKeeper', cotrolsIdPrefix, '#{cId}sortLabel', function() {#{component.attributes['onorderchanged']}});
+ var shuttle = new Richfaces.OrderingList('#{cId}', '#{cId}internal_tab', '#{cId}internal_header_tab', '#{cId}focusKeeper', '#{cId}valueKeeper', cotrolsIdPrefix, '#{cId}sortLabel', function() {#{component.attributes['onorderchanged']}});
var layoutManager = new LayoutManager('#{clientId}internal_header_tab', '#{clientId}internal_tab');
layoutManager.widthSynchronization();
} catch (e) {
18 years, 5 months
JBoss Rich Faces SVN: r4149 - management/design/contextMenu.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-11-21 12:04:30 -0500 (Wed, 21 Nov 2007)
New Revision: 4149
Modified:
management/design/contextMenu/FuncSpec - Context Menu.doc
Log:
updated specification
Modified: management/design/contextMenu/FuncSpec - Context Menu.doc
===================================================================
(Binary files differ)
18 years, 5 months
JBoss Rich Faces SVN: r4148 - in trunk/ui/inputnumber-slider/src/main: java/org/richfaces/renderkit and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-21 11:59:08 -0500 (Wed, 21 Nov 2007)
New Revision: 4148
Modified:
trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
trunk/ui/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
trunk/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
Log:
remove onsliding event, fix onslide event behavior
Modified: trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml
===================================================================
--- trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2007-11-21 16:55:55 UTC (rev 4147)
+++ trunk/ui/inputnumber-slider/src/main/config/component/inputNumberSlider.xml 2007-11-21 16:59:08 UTC (rev 4148)
@@ -144,17 +144,10 @@
<property>
<name>onslide</name>
<classname>java.lang.String</classname>
- <description>Event occur after on slid</description>
+ <description>Event occur on slide</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
- <property>
- <name>onsliding</name>
- <classname>java.lang.String</classname>
- <description>Event occur on sliding</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
-
<property>
<name> onchange </name>
<classname>java.lang.String</classname>
Modified: trunk/ui/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java
===================================================================
--- trunk/ui/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java 2007-11-21 16:55:55 UTC (rev 4147)
+++ trunk/ui/inputnumber-slider/src/main/java/org/richfaces/renderkit/InputNumberSliderRendererBase.java 2007-11-21 16:59:08 UTC (rev 4148)
@@ -21,9 +21,12 @@
package org.richfaces.renderkit;
+import java.io.IOException;
+
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
+import org.ajax4jsf.renderkit.RendererUtils;
import org.richfaces.component.UIInputNumberSlider;
/**
@@ -40,5 +43,9 @@
protected boolean attributeToBoolean(UIComponent component, String attributeName) {
return getUtils().isBooleanAttribute(component, attributeName);
}
+
+ public void writeEventHandlerFunction(FacesContext context, UIComponent component, String eventName) throws IOException{
+ RendererUtils.writeEventHandlerFunction(context, component, eventName);
+ }
}
Modified: trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2007-11-21 16:55:55 UTC (rev 4147)
+++ trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2007-11-21 16:59:08 UTC (rev 4148)
@@ -77,14 +77,6 @@
this.eventError = new Function("event","clientErrorMessage",this.options.onerr);
}
- if (this.options.onslide) {
- this.onSlideEvent = new Function("event",this.options.onslide).bindAsEventListener(this);
- }
-
- if (this.options.onsliding) {
- this.onSlidingEvent = new Function("event",this.options.onsliding).bindAsEventListener(this);
- }
-
if (this.options.onchange != ""){
this.eventChanged = new Function("event",this.options.onchange).bindAsEventListener(this);
}
@@ -196,6 +188,7 @@
sliderValue=0;
}
sliderValue = this.getNearestValue(sliderValue);
+
this.value = sliderValue;
if (!this.editInFocus && (this.required || "" != this.input.value || this.updating)){
this.input.value = this.value;
@@ -254,8 +247,12 @@
var pointer = Event.pointerX(event);
var offsets = Position.cumulativeOffset(this.track);
this.updating = true;
- if(this.onSlidingEvent) this.onSlidingEvent(event);
- this.setValue(this.translateToValue( ( pointer - offsets[0] ) -(this.handleLength/2)));
+ var value = this.translateToValue( ( pointer - offsets[0] ) -(this.handleLength/2));
+
+ if(this.invokeEvent("slide",event,this.getNearestValue(value),this.input)){
+ this.setValue(value);
+ }
+
this.updating = false;
var offsets = Position.cumulativeOffset(this.handle);
this.offsetX = pointer - offsets[0];
@@ -284,7 +281,6 @@
processMouseUp: function(event) {
this.endDrag(event);
this.fireClickIfNeeded(event);
- if(this.onSlideEvent) this.onSlideEvent(event);
},
endDrag: function(event) {
@@ -405,5 +401,45 @@
trim : function(str){
return str.replace(/^\s+|\s+$/, '');
- }
+ },
+
+ invokeEvent: function(eventName, event, value, element) {
+
+ var eventFunction = this.options['on'+eventName];
+ var result;
+
+ if (eventFunction)
+ {
+ var eventObj;
+
+ if (event)
+ {
+ eventObj = event;
+ }
+ else if( document.createEventObject )
+ {
+ eventObj = document.createEventObject();
+ }
+ else if( document.createEvent )
+ {
+ eventObj = document.createEvent('Events');
+ eventObj.initEvent( eventName, true, false );
+ }
+
+ eventObj.rich = {component:this};
+ eventObj.rich.value = value;
+
+ try
+ {
+ result = eventFunction.call(element, eventObj);
+ }
+ catch (e) { LOG.warn("Exception: "+e.Message + "\n[on"+eventName + "]"); }
+
+ }
+
+ if (result!=false) result = true;
+
+ return result;
+ }
+
}
Modified: trunk/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx
===================================================================
--- trunk/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2007-11-21 16:55:55 UTC (rev 4147)
+++ trunk/ui/inputnumber-slider/src/main/templates/inputNumberSlider.jspx 2007-11-21 16:59:08 UTC (rev 4148)
@@ -184,8 +184,7 @@
arrowSelected : "#{arrowSelected}",
onerr : "#{component.attributes['onerror']}",
clientErrorMsg : "#{component.attributes['clientErrorMessage']}",
- onslide : "#{component.attributes['onslide']}",
- onsliding : "#{component.attributes['onsliding']}",
+ <f:call name="writeEventHandlerFunction"><f:parameter value="onslide" /></f:call>,
onchange : "#{component.attributes['onchange']}",
required : #{component.attributes['required']}
})
18 years, 5 months