JBoss Rich Faces SVN: r11943 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-12-20 09:39:58 -0500 (Sat, 20 Dec 2008)
New Revision: 11943
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-5436
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2008-12-20 14:33:52 UTC (rev 11942)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/calSample.xhtml 2008-12-20 14:39:58 UTC (rev 11943)
@@ -13,14 +13,10 @@
}
</style>
<h:form>
- <script type="text/javascript">
- function custom(){
- alert(1);
- }
- </script>
+
<h:panelGrid id="panel" columns="2" columnClasses="ecol1, ecol2">
<a4j:outputPanel id="calendar" layout="block">
- <rich:calendar value="#{calendarBean.selectedDate}" oncollapse="custom()"
+ <rich:calendar value="#{calendarBean.selectedDate}"
locale="#{calendarBean.locale}"
popup="#{calendarBean.popup}"
datePattern="#{calendarBean.pattern}"
17 years, 4 months
JBoss Rich Faces SVN: r11942 - trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-12-20 09:33:52 -0500 (Sat, 20 Dec 2008)
New Revision: 11942
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
RF-5214
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-12-20 14:10:39 UTC (rev 11941)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-12-20 14:33:52 UTC (rev 11942)
@@ -1165,6 +1165,11 @@
acceptedTypes: this.acceptedTypes,
noDuplicate: this.options.noDuplicate,
maxFiles: this.maxFileBatchSize });
+ if (Richfaces.browser.isIE)
+ {
+ this.flashComponent.style.width = this.currentInput.parentNode.style.width;
+ this.flashComponent.style.height = this.currentInput.parentNode.style.height;
+ }
this.enable();
},
17 years, 4 months
JBoss Rich Faces SVN: r11941 - in trunk/docs/cdkguide/en/src/main/docbook: modules and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-12-20 09:10:39 -0500 (Sat, 20 Dec 2008)
New Revision: 11941
Removed:
trunk/docs/cdkguide/en/src/main/docbook/modules/ref.xml
Modified:
trunk/docs/cdkguide/en/src/main/docbook/master.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - CDK Tags were deleted
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-20 13:41:18 UTC (rev 11940)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-20 14:10:39 UTC (rev 11941)
@@ -9,7 +9,6 @@
<!ENTITY overview SYSTEM "modules/overview.xml">
<!ENTITY devsample SYSTEM "modules/devsample.xml">
<!ENTITY ide SYSTEM "modules/ide.xml">
-<!ENTITY ref SYSTEM "modules/ref.xml">
<!ENTITY test SYSTEM "modules/test.xml">
@@ -197,7 +196,7 @@
<title>Button component development</title>
<para> Work in progress... </para>
- </chapter> &ide; &namingconv; &ref;
+ </chapter> &ide; &namingconv;
<chapter id="temptags" xreflabel="temptags">
<?dbhtml filename="temptags.html"?>
Deleted: trunk/docs/cdkguide/en/src/main/docbook/modules/ref.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/ref.xml 2008-12-20 13:41:18 UTC (rev 11940)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/ref.xml 2008-12-20 14:10:39 UTC (rev 11941)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="ref" xreflabel="ref">
- <?dbhtml filename="ref.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>reference</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </chapterinfo>
-
- <title>CDK Tag Reference</title>
- <para>
- Work in progress...
- </para>
-
-</chapter>
\ No newline at end of file
17 years, 4 months
JBoss Rich Faces SVN: r11940 - in trunk/docs/common-resources/en/src/main: script and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-12-20 08:41:18 -0500 (Sat, 20 Dec 2008)
New Revision: 11940
Modified:
trunk/docs/common-resources/en/src/main/css/html.css
trunk/docs/common-resources/en/src/main/script/toggle.js
Log:
https://jira.jboss.org/jira/browse/RF-5429 - an anchors to titles were added
Modified: trunk/docs/common-resources/en/src/main/css/html.css
===================================================================
--- trunk/docs/common-resources/en/src/main/css/html.css 2008-12-20 12:53:19 UTC (rev 11939)
+++ trunk/docs/common-resources/en/src/main/css/html.css 2008-12-20 13:41:18 UTC (rev 11940)
@@ -13,30 +13,45 @@
}
body {
-background-image:url(../images/richfaces_label2.png);
-background-repeat:no-repeat;
-background-attachment:fixed;
-background-position:top left;
-z-index:1;
-color:#333333;
-font-family:'Lucida Grande',Geneva,Verdana,Arial,sans-serif;
-font-size:12px;
-line-height:150%;
-max-width:1000px;
-padding:0em 2em;
-text-align:center;
+ background-image:url(../images/richfaces_label2.png);
+ background-repeat:no-repeat;
+ background-attachment:fixed;
+ background-position:top left;
+ z-index:1;
+ color:#333333;
+ font-family:'Lucida Grande',Geneva,Verdana,Arial,sans-serif;
+ font-size:12px;
+ line-height:150%;
+ max-width:1000px;
+ padding:0em 2em;
+ text-align:center;
}
div#overlay{
-background-image:url(../images/community/bkg_gradient.gif);
-background-repeat:repeat-x;
-width:100%;
-height:100%;
-position:absolute;
-top:0px;
-left:0px;
-z-index:-1;
-}
+ background-image:url(../images/community/bkg_gradient.gif);
+ background-repeat:repeat-x;
+ width:100%;
+ height:100%;
+ position:absolute;
+ top:0px;
+ left:0px;
+ z-index:-1;
+}
+
+
+h2.title a:hover, h3.title a:hover, h4.title a:hover, h5.title a:hover, h6.title a:hover {
+ text-decoration:underline;
+}
+
+h2.title a, h3.title a, h4.title a, h5.title a, h6.title a {
+ text-decoration:none;
+}
+
+
+div.chapter, div.section {
+ padding-top:3em;
+}
+
div.book, div.chapter, div.section{
width:1000px;
margin:0 auto;
@@ -267,4 +282,4 @@
border:0;
margin:0;
display: inline;
-}
\ No newline at end of file
+}
Modified: trunk/docs/common-resources/en/src/main/script/toggle.js
===================================================================
--- trunk/docs/common-resources/en/src/main/script/toggle.js 2008-12-20 12:53:19 UTC (rev 11939)
+++ trunk/docs/common-resources/en/src/main/script/toggle.js 2008-12-20 13:41:18 UTC (rev 11940)
@@ -14,6 +14,14 @@
var params='subject='+$F('subject')+'&message='+escape($F('message'))+'&name='+$F('name')+'&email='+$F('email')+'&path='+window.location;
var xmlobj=new Ajax.Updater('feedback-state','script/send_mail.php',{method:'get',parameters: params});
}
+
+Event.observe(window, 'load', function() {
+ var array = new Array();
+ array = $$('.title:not(h1) a');
+ for(i=0; i<array.length; i++){
+ array[i].setAttribute('href', window.location.toString().replace(/#[0-9A-Za-z_\-]*/, "")+"#"+$(array[i]).readAttribute('id'));
+ }
+});
function dbToggle(node, expandText, collapseText) {
var dt = node.parentNode;
@@ -57,4 +65,4 @@
show: function(node) {
node.style.display = "";
}
-};
\ No newline at end of file
+};
17 years, 4 months
JBoss Rich Faces SVN: r11939 - trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-12-20 07:53:19 -0500 (Sat, 20 Dec 2008)
New Revision: 11939
Modified:
trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
https://jira.jboss.org/jira/browse/RF-2648
Modified: trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-12-20 12:02:26 UTC (rev 11938)
+++ trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-12-20 12:53:19 UTC (rev 11939)
@@ -395,6 +395,10 @@
var toolTipX = x - offsets[0];
var toolTipY = y - offsets[1];
+
+ var scrollOffsets = Position.realOffset(this.layer);
+ toolTipX = toolTipX + scrollOffsets[0];
+ toolTipY = toolTipY + scrollOffsets[1];
var layerdim = Element.getDimensions(this.layer);
var layerLeft = toolTipX;
17 years, 4 months
JBoss Rich Faces SVN: r11938 - trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-12-20 07:02:26 -0500 (Sat, 20 Dec 2008)
New Revision: 11938
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
https://jira.jboss.org/jira/browse/RF-5284
Modified: trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-12-20 12:02:04 UTC (rev 11937)
+++ trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-12-20 12:02:26 UTC (rev 11938)
@@ -225,10 +225,10 @@
}
if (item.itemValue != this.value) {
this.startChangedState();
- if (this.tempValueKeeper != item.itemLabel) {
+ if (item.itemLabel && value != item.itemValue) {
this.tempValueKeeper.value = item.itemLabel;
+ this.invokeEvent(this.events.onchange, this.inplaceSelect, "onchange", item.itemValue);
}
- this.invokeEvent(this.events.onchange, this.inplaceSelect, "onchange", item.itemValue);
} else {
this.startViewState();
}
17 years, 4 months
JBoss Rich Faces SVN: r11937 - trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-12-20 07:02:04 -0500 (Sat, 20 Dec 2008)
New Revision: 11937
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
https://jira.jboss.org/jira/browse/RF-5284
Modified: trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-12-20 10:51:28 UTC (rev 11936)
+++ trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2008-12-20 12:02:04 UTC (rev 11937)
@@ -336,10 +336,11 @@
if (userValue != this.value) {
this.startChangedState();
- if (this.tempValueKeeper != userValue) {
+ if (value != userValue) {
this.tempValueKeeper.value = userValue;
+ this.invokeEvent(this.events.onchange, this.inplaceInput, "onchange", userValue);
}
- this.invokeEvent(this.events.onchange, this.inplaceInput, "onchange", userValue);
+
} else {
this.startViewState();
}
17 years, 4 months
JBoss Rich Faces SVN: r11936 - trunk/test-applications/jsp/src/main/webapp/tTree.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-12-20 05:51:28 -0500 (Sat, 20 Dec 2008)
New Revision: 11936
Modified:
trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp 2008-12-19 20:01:46 UTC (rev 11935)
+++ trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp 2008-12-20 10:51:28 UTC (rev 11936)
@@ -36,6 +36,7 @@
ajaxSubmitSelection="#{tTree.ajaxSubmitSelection}"
immediate="#{tTree.immediate}" rendered="#{tTree.rendered}"
reRender="reRenderID"
+ nodeFace="#{defTree.name == 'param-value' ? 'input' : 'text'}"
showConnectingLines="#{tTree.showConnectingLines}" focus="focusID"
nodeSelectListener="#{tTree.nodeSelectListener}"
toggleOnClick="#{tTree.toggleOnClick}"
@@ -54,14 +55,14 @@
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
- onselected="#{event.onselected}" >
+ onselected="#{event.onselected}">
- <rich:treeNode>
+ <rich:treeNode type="input">
<h:outputText value="#{defTree} : " />
<h:inputText value="#{defTree.name}" />
</rich:treeNode>
- <rich:treeNode>
+ <rich:treeNode type="text">
<h:outputText value="#{defTree}" />
</rich:treeNode>
</rich:tree>
Modified: trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp 2008-12-19 20:01:46 UTC (rev 11935)
+++ trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp 2008-12-20 10:51:28 UTC (rev 11936)
@@ -69,7 +69,7 @@
<rich:tree id="leftTree" style="width:300px"
nodeSelectListener="#{tTreeDND.processLSelection}"
- reRender="selectedNodeL, leftContainer" ajaxSubmitSelection="true"
+ reRender="selectedNodeL" ajaxSubmitSelection="true"
switchType="client" value="#{tTreeDND.treeNodeLeft}"
changeExpandListener="#{tTreeDND.onExpand}"
binding="#{tTreeDND.leftTree}"
@@ -94,7 +94,7 @@
<rich:tree id="rightTree" style="width:300px"
nodeSelectListener="#{tTreeDND.processRSelection}"
- reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
+ reRender="selectedNodeR" ajaxSubmitSelection="true"
switchType="client" value="#{tTreeDND.treeNodeRight}"
changeExpandListener="#{tTreeDND.onExpand}"
binding="#{tTreeDND.rightTree}"
17 years, 4 months
JBoss Rich Faces SVN: r11935 - trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-12-19 15:01:46 -0500 (Fri, 19 Dec 2008)
New Revision: 11935
Modified:
trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
https://jira.jboss.org/jira/browse/RF-4592
Modified: trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-12-19 19:56:06 UTC (rev 11934)
+++ trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-12-19 20:01:46 UTC (rev 11935)
@@ -109,10 +109,12 @@
}
this.detectWidth();
var menu = $(menuName);
+ var eventResult = true;
+
RichFaces.Menu.fitLayerToContent(menu);
var visible = this.isVisible(menuName);
- this.setVisibility(menuName, visibleFlag);
- this.ieSelectWorkAround(menuName, visibleFlag);
+// this.setVisibility(menuName, visibleFlag);
+// this.ieSelectWorkAround(menuName, visibleFlag);
var menuLayer = this.layers[menu.id];
if (visible && !visibleFlag) {
@@ -121,7 +123,7 @@
menuLayer.eventOnClose(event);
}
if (menuLayer.eventOnCollapse) {
- menuLayer.eventOnCollapse(event);
+ eventResult = menuLayer.eventOnCollapse(event);
}
if (menuLayer.refItem) {
menuLayer.refItem.highLightGroup(false);
@@ -132,8 +134,9 @@
if (menuLayer.eventOnOpen) {
menuLayer.eventOnOpen(event);
}
+
if (menuLayer.eventOnExpand) {
- menuLayer.eventOnExpand(event);
+ eventResult = menuLayer.eventOnExpand(event);
}
if (menuLayer.level>0) {
@@ -147,6 +150,11 @@
}
}
}
+
+ if(eventResult != false) {
+ this.setVisibility(menuName, visibleFlag);
+ this.ieSelectWorkAround(menuName, visibleFlag);
+ }
},
initIFrame: function(layer) {
@@ -359,79 +367,79 @@
this.element = Event.element(e);
this.layer = $(layer);
this.show = function() {
- RichFaces.Menu.Layers.shutdown();
- var body = RichFaces.Menu.getPageDimensions();
- var win = RichFaces.Menu.getWindowDimensions();
- var bodyHeight = body.height;
- var bodyWidth = body.width;
-
- var layer_display = this.layer.style.display;
+ RichFaces.Menu.Layers.shutdown();
+ var body = RichFaces.Menu.getPageDimensions();
+ var win = RichFaces.Menu.getWindowDimensions();
+ var bodyHeight = body.height;
+ var bodyWidth = body.width;
+
+ var layer_display = this.layer.style.display;
if (layer_display=='none')
{
this.layer.style.visibility='hidden';
this.layer.style.display='';
}
-
- var clientX = this.event.clientX;
- var clientY = this.event.clientY;
-
+
+ var clientX = this.event.clientX;
+ var clientY = this.event.clientY;
+
var e = this.event;
var x = Event.pointerX(e);
var y = Event.pointerY(e);
var elementDim = Richfaces.Position.getOffsetDimensions(this.layer);
-
+
var offsets = Position.cumulativeOffset(this.layer);
-
+
offsets[0] -= this.layer.offsetLeft || 0;
offsets[1] -= this.layer.offsetTop || 0;
-
+
var toolTipX = x - offsets[0];
var toolTipY = y - offsets[1];
-
- var layerdim = Element.getDimensions(this.layer);
- var layerLeft = toolTipX;
-
- if (clientX + layerdim.width > win.width) {
- layerLeft -= (layerdim.width - RichFaces.Menu.Layers.shadowWidth - RichFaces.Menu.Layers.CornerRadius);
- }
-
- if (layerLeft < 0) {
- layerLeft = 0;
- }
-
- /*
- if (layerLeft + layerdim.width > bodyWidth) {
- layerLeft = bodyWidth - layerdim.width;
- }
-
- if (layerLeft < 0) {
- layerLeft = 0;
- }
- */
- var layerTop = toolTipY;
- /*if (layertop + layerdim.height > bodyHeight) {
- layertop = bodyHeight - layerdim.height;
- }
-
- if (layertop < 0) {
- layertop = 0;
- }
- */
- if (clientY + layerdim.height > win.height) {
- layerTop -= (layerdim.height - RichFaces.Menu.Layers.shadowWidth - RichFaces.Menu.Layers.CornerRadius);
- }
-
- if (layerTop < 0) {
- layerTop = 0;
- }
-
- this.layer.style.left = layerLeft + "px";
- this.layer.style.top = layerTop + "px";
-
+
+ var layerdim = Element.getDimensions(this.layer);
+ var layerLeft = toolTipX;
+
+ if (clientX + layerdim.width > win.width) {
+ layerLeft -= (layerdim.width - RichFaces.Menu.Layers.shadowWidth - RichFaces.Menu.Layers.CornerRadius);
+ }
+
+ if (layerLeft < 0) {
+ layerLeft = 0;
+ }
+
+ /*
+ if (layerLeft + layerdim.width > bodyWidth) {
+ layerLeft = bodyWidth - layerdim.width;
+ }
+
+ if (layerLeft < 0) {
+ layerLeft = 0;
+ }
+ */
+ var layerTop = toolTipY;
+ /*if (layertop + layerdim.height > bodyHeight) {
+ layertop = bodyHeight - layerdim.height;
+ }
+
+ if (layertop < 0) {
+ layertop = 0;
+ }
+ */
+ if (clientY + layerdim.height > win.height) {
+ layerTop -= (layerdim.height - RichFaces.Menu.Layers.shadowWidth - RichFaces.Menu.Layers.CornerRadius);
+ }
+
+ if (layerTop < 0) {
+ layerTop = 0;
+ }
+
+ this.layer.style.left = layerLeft + "px";
+ this.layer.style.top = layerTop + "px";
+
this.layer.style.display=layer_display;
this.layer.style.visibility='';
- RichFaces.Menu.Layers.LMPopUp(this.layer.id, false,e);
+ RichFaces.Menu.Layers.LMPopUp(this.layer.id, false,e);
RichFaces.Menu.Layers.clearLMTO();
}.bind(this);
}
@@ -1173,22 +1181,55 @@
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);
}
+// see RF-4592 for details
+// if (this.options.oncollapse){
+// this.eventOnCollapse = this.options.oncollapse.bindAsEventListener(this);
+// }
+
if (this.options.oncollapse){
- this.eventOnCollapse = this.options.oncollapse.bindAsEventListener(this);
+ this.eventOnCollapse = this.options.oncollapse.bindAsEventListener(this,"collapse");
}
- if (this.options.onexpand){
- this.eventOnExpand = this.options.onexpand.bindAsEventListener(this);
- }
-
+
+// if (this.options.onexpand){
+// this.eventOnExpand = this.options.onexpand.bindAsEventListener(this);
+// }
+
+ if (this.options.onexpand){
+ this.eventOnExpand = this.invokeEvent.bindAsEventListener(this,"expand");
+ }
+
//TODO: clarify
return this;
},
+
+ invokeEvent : function (event, eventName) {
+ 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 );
+ }
+ result = eventFunction.call(eventObj);
+ }
+ if (result!=false) result = true;
+ return result;
+ },
+
eventJsToPrototype: function(evtName){
var indexof = evtName.indexOf('on');
if(indexof >= 0){
17 years, 4 months
JBoss Rich Faces SVN: r11934 - in trunk: extensions/gwt and 12 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-19 14:56:06 -0500 (Fri, 19 Dec 2008)
New Revision: 11934
Modified:
trunk/cdk/generator/pom.xml
trunk/extensions/gwt/pom.xml
trunk/framework/jsf-test/pom.xml
trunk/framework/pom.xml
trunk/framework/test/pom.xml
trunk/samples/pom.xml
trunk/samples/richfaces-demo/pom.xml
trunk/samples/richfaces-ear-demo/webapp/pom.xml
trunk/samples/seamEAR/wars/seamWebapp/pom.xml
trunk/sandbox/samples/rex-demo/pom.xml
trunk/test-applications/ajaxTest/pom.xml
trunk/test-applications/seamApp/web/pom.xml
trunk/test-applications/seleniumTest/pom.xml
trunk/ui/pom.xml
Log:
JSF RI version updated to 1.2_11
Modified: trunk/cdk/generator/pom.xml
===================================================================
--- trunk/cdk/generator/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/cdk/generator/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -52,7 +52,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
Modified: trunk/extensions/gwt/pom.xml
===================================================================
--- trunk/extensions/gwt/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/extensions/gwt/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -120,12 +120,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
Modified: trunk/framework/jsf-test/pom.xml
===================================================================
--- trunk/framework/jsf-test/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/framework/jsf-test/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -25,7 +25,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -91,7 +91,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/framework/pom.xml
===================================================================
--- trunk/framework/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/framework/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -99,7 +99,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/framework/test/pom.xml
===================================================================
--- trunk/framework/test/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/framework/test/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -47,7 +47,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
Modified: trunk/samples/pom.xml
===================================================================
--- trunk/samples/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/samples/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -183,12 +183,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>runtime</scope>
</dependency>
</dependencies>
@@ -238,12 +238,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>runtime</scope>
</dependency>
</dependencies>
@@ -283,12 +283,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>runtime</scope>
</dependency>
<dependency>
@@ -337,13 +337,13 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: trunk/samples/richfaces-demo/pom.xml
===================================================================
--- trunk/samples/richfaces-demo/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/samples/richfaces-demo/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -184,12 +184,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>runtime</scope>
</dependency>
</dependencies>
@@ -280,12 +280,12 @@
<!-- dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>runtime</scope>
</dependency -->
</dependencies>
Modified: trunk/samples/richfaces-ear-demo/webapp/pom.xml
===================================================================
--- trunk/samples/richfaces-ear-demo/webapp/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/samples/richfaces-ear-demo/webapp/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -93,13 +93,13 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
</dependencies>
Modified: trunk/samples/seamEAR/wars/seamWebapp/pom.xml
===================================================================
--- trunk/samples/seamEAR/wars/seamWebapp/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/samples/seamEAR/wars/seamWebapp/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -55,13 +55,13 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/sandbox/samples/rex-demo/pom.xml
===================================================================
--- trunk/sandbox/samples/rex-demo/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/sandbox/samples/rex-demo/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -163,12 +163,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>runtime</scope>
</dependency>
</dependencies>
Modified: trunk/test-applications/ajaxTest/pom.xml
===================================================================
--- trunk/test-applications/ajaxTest/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/test-applications/ajaxTest/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -94,12 +94,12 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: trunk/test-applications/seamApp/web/pom.xml
===================================================================
--- trunk/test-applications/seamApp/web/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/test-applications/seamApp/web/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -16,13 +16,13 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/test-applications/seleniumTest/pom.xml
===================================================================
--- trunk/test-applications/seleniumTest/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/test-applications/seleniumTest/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -222,7 +222,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
Modified: trunk/ui/pom.xml
===================================================================
--- trunk/ui/pom.xml 2008-12-19 19:53:01 UTC (rev 11933)
+++ trunk/ui/pom.xml 2008-12-19 19:56:06 UTC (rev 11934)
@@ -183,7 +183,7 @@
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
+ <version>1.2_11</version>
<scope>provided</scope>
</dependency>
</dependencies>
17 years, 4 months