JBoss Rich Faces SVN: r5605 - in trunk/sandbox/ui/combobox/src/main: resources/org/richfaces/renderkit/html/css and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-24 14:03:09 -0500 (Thu, 24 Jan 2008)
New Revision: 5605
Modified:
trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonGradient.java
trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonPressGradient.java
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
Log:
fix combobox appearance
Modified: trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonGradient.java
===================================================================
--- trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonGradient.java 2008-01-24 18:33:00 UTC (rev 5604)
+++ trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonGradient.java 2008-01-24 19:03:09 UTC (rev 5605)
@@ -13,6 +13,6 @@
*/
public class ComboBoxButtonGradient extends BaseGradient {
public ComboBoxButtonGradient() {
- super(8, 18, 9,Skin.generalBackgroundColor, "tabBackgroundColor");
+ super(8, 18, 9,"tabBackgroundColor", Skin.headerBackgroundColor);
}
}
Modified: trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonPressGradient.java
===================================================================
--- trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonPressGradient.java 2008-01-24 18:33:00 UTC (rev 5604)
+++ trunk/sandbox/ui/combobox/src/main/java/org/richfaces/renderkit/images/ComboBoxButtonPressGradient.java 2008-01-24 19:03:09 UTC (rev 5605)
@@ -13,7 +13,7 @@
public class ComboBoxButtonPressGradient extends BaseGradient{
public ComboBoxButtonPressGradient() {
- super(7,15 , 9, "tabBackgroundColor",Skin.generalBackgroundColor);
+ super(7,15 , 9, Skin.headerBackgroundColor, "tabBackgroundColor");
}
}
Modified: trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
===================================================================
--- trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-01-24 18:33:00 UTC (rev 5604)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-01-24 19:03:09 UTC (rev 5605)
@@ -12,71 +12,64 @@
.rich-combobox-button-hovered {
}
+.rich-combobox-input-width {
+ width : 250px;
+}
+
.rich-combobox-input {
- /*position : absolute;
- top : 0px; left : 0;
- padding-right :20px;
- padding-left :3px;
- margin : 0px;
- border : 1px solid;
- background-position:left top;
- background-repeat:repeat-x;*/
width : 240px;
position : absolute;
top : 0px;
left : 0;
padding-left :3px;
margin : 0px;
- border : 1px solid #c0c0c0;
+ border-width: 1px;
+ border-color : #000000;
+ background-position:left top;
+ background-repeat:repeat-x;
}
.rich-combobox-input-disabled {
+ width : 240px;
position : absolute;
- top : 0px; left : 0;
- padding-right :20px;
+ top : 0px;
+ left : 0;
padding-left :3px;
margin : 0px;
- border : 1px solid;
+ border-width: 1px;
+ border-color : #000000;
background-position:left top;
- background-repeat:repeat-x;
+ background-repeat:repeat-x;
}
.rich-combobox-input-inactive {
- /*position : absolute;
- top : 0px;
- left : 0px;
- padding-right :20px;
- padding-left :3px;
- margin : 0px;
- border : 1px solid;
- background-position:left top;
- background-repeat:repeat-x;*/
-
width : 240px;
position : absolute;
top : 0px;
left : 0;
padding-left :3px;
margin : 0px;
- border : 1px solid #c0c0c0;
- /*background-image: url(SpinnerFieldGradient.gif);
- */ background-position:left top;
+ border-width: 1px;
+ border-color : #000000;
+ background-position:left top;
+ background-repeat:repeat-x;
}
.rich-combobox-list-position {
position : absolute;
- top:-1px;
+ top:1px;
left:0px;
}
.rich-combobox-list-decoration {
- border : 1px solid #BED6F8;
+ border : 1px solid #c0c0c0;
padding : 0px;
background : #FFFFFF;
}
-.rich-combobox-list-scroll {
- overflow-y : auto;
- overflow-x : auto;
+.rich-combobox-list-scroll {
+ overflow : auto;
+ overflow-x : hidden;
+ height : 100px;
}
.rich-combobox-list-cord {
@@ -84,6 +77,10 @@
font-size : 0px;
}
+.rich-combobox-list-width {
+ width : 248px;
+}
+
.rich-combobox-item {
padding : 2px;
white-space : nowrap;
@@ -92,14 +89,19 @@
.rich-combobox-item-selected {
padding : 1px;
- border : 1px dotted;
+ border : 1px dotted #4a75b5;
+ background-color: #4a75b5;
+ width : 100%;
cursor:pointer;
}
.rich-combobox-strut {
+ width : 240px;
position : relative;
visibility : hidden;
- margin : 0px; padding : 2px;
+ margin : 0px;
+ padding-left : 3px;
+ border : 1px solid #c0c0c0;
}
.rich-combobox-shell {
@@ -107,13 +109,6 @@
}
.rich-combobox-button {
- /*position : absolute;
- top : 0px;
- right : 0px; //left: fullWidth - 17px;
- width : 17px;
- margin : 0px;
- border : 1px solid;*/
-
position : absolute;
top : 0px;
right : 0;
@@ -122,27 +117,20 @@
padding-right : 0px;
margin : 0px;
border : 1px solid #c0c0c0;
- /*border-color: #BED6F8 rgb(190, 214, 248) #BED6F8 rgb(190, 214, 248);*/
- /*panelBorderColor*/
}
.rich-combobox-button-disabled {
position : absolute;
top : 0px;
- right : 0px; //left: fullWidth - 17px;
+ right : 0;
width : 17px;
+ padding-left : 0px;
+ padding-right : 0px;
margin : 0px;
- border : 1px solid;
+ border : 1px solid #c0c0c0;
}
.rich-combobox-button-inactive {
- /*position : absolute;
- top : 0px;
- right : 0px; //left: fullWidth - 17px;
- width : 17px;
- margin : 0px;
- border : 1px solid;*/
-
position : absolute;
top : 0px;
right : 0;
@@ -151,29 +139,33 @@
padding-right : 0px;
margin : 0px;
border : 1px solid #c0c0c0;
- /*border-color: #BED6F8 rgb(190, 214, 248) #BED6F8 rgb(190, 214, 248);*/
- /*panelBorderColor*/
}
.rich-combobox-button-background {
- background : top repeat-x;
+ background-color: #4a75b5;
+ background-repeat: repeat-x;
+ background-position: top;
cursor : pointer;
}
.rich-combobox-button-background-disabled {
- background : top repeat-x;
+ background-color: #4a75b5;
+ background-repeat: repeat-x;
+ background-position: top;
cursor : pointer;
}
.rich-combobox-button-background-inactive {
- background : top repeat-x;
- cursor : pointer;
+ background-color: #4a75b5;
+ background-repeat: repeat-x;
+ background-position: top;
}
.rich-combobox-button-pressed-background {
- background : top repeat-x;
- cursor : pointer;
+ background-color: #4a75b5;
+ background-repeat: repeat-x;
+ background-position: bottom;
}
.rich-combobox-button-icon {
@@ -189,11 +181,11 @@
}
-.cb_shadow{ top:10; left:0; position : absolute;}
-.cb_shadow_tl{ background : url(images/bg_shadow.png) repeat-x top left;}
-.cb_shadow_tr{ background : url(images/bg_shadow.png) repeat-x top right;}
-.cb_shadow_bl{ background : url(images/bg_shadow.png) repeat-x bottom left;}
-.cb_shadow_br{ background : url(images/bg_shadow.png) repeat-x bottom right;}
+.rich-combobox-shadow{ top:10; left:0; position : absolute;}
+.rich-combobox-shadow-tl{repeat-x top left;}
+.rich-combobox-shadow-tr{repeat-x top right;}
+.rich-combobox-shadow-bl{repeat-x bottom left;}
+.rich-combobox-shadow-br{repeat-x bottom right;}
]]>
</f:verbatim>
@@ -244,18 +236,6 @@
</u:style>
</u:selector>
- <u:selector name=".rich-combobox-button">
- <u:style name="border-color" skin="panelBorderColor"/>
- </u:selector>
-
- <u:selector name=".rich-combobox-button-disabled">
- <u:style name="border-color" skin="panelBorderColor"/>
- </u:selector>
-
- <u:selector name=".rich-combobox-button-inactive">
- <u:style name="border-color" skin="panelBorderColor"/>
- </u:selector>
-
<u:selector name=".rich-combobox-button-hovered">
<u:style name="border-color" skin="selectControlColor"/>
</u:selector>
@@ -278,27 +258,18 @@
</u:selector>
<u:selector name=".rich-combobox-input">
- <u:style name="background-image">
- <f:resource f:key="org.richfaces.renderkit.images.ComboBoxInputGradient" />
- </u:style>
+ <u:style name="background-color" skin="controlBackgroundColor"/>
<u:style name="border-color" skin="panelBorderColor"/>
- <u:style name="border-bottom-color" skin="additionalBackgroundColor"/>
- <u:style name="border-right-color" skin="additionalBackgroundColor"/>
</u:selector>
<u:selector name=".rich-combobox-input-disabled">
- <u:style name="border-color" skin="tabBackgroundColor"/>
- <u:style name="border-bottom-color" skin="additionalBackgroundColor"/>
- <u:style name="border-right-color" skin="additionalBackgroundColor"/>
+ <u:style name="background-color" skin="controlBackgroundColor"/>
+ <u:style name="border-color" skin="panelBorderColor"/>
</u:selector>
<u:selector name=".rich-combobox-input-inactive">
- <u:style name="background-image">
- <f:resource f:key="org.richfaces.renderkit.images.ComboBoxInputGradient" />
- </u:style>
+ <u:style name="background-color" skin="controlBackgroundColor"/>
<u:style name="border-color" skin="panelBorderColor"/>
- <u:style name="border-bottom-color" skin="additionalBackgroundColor"/>
- <u:style name="border-right-color" skin="additionalBackgroundColor"/>
</u:selector>
<u:selector name=".rich-combobox-item">
@@ -308,8 +279,10 @@
</u:selector>
<u:selector name=".rich-combobox-item-selected">
- <u:style name="border-color" skin="generalTextColor"/>
- <u:style name="background-color" skin="additionalBackgroundColor" />
+ <u:style name="color" skin="generalTextColor" />
+ <u:style name="background-color" skin="headerBackgroundColor" />
+ <u:style name="border-color" skin="headerBackgroundColor" />
+ <u:style name="color" skin="generalTextColor" />
</u:selector>
<u:selector name=".rich-combobox-list-decoration">
Modified: trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
--- trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-24 18:33:00 UTC (rev 5604)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-24 19:03:09 UTC (rev 5605)
@@ -1,6 +1,7 @@
if (!window.Richfaces) window.Richfaces = {};
Richfaces.ComboBox = Class.create();
+
Richfaces.ComboBox.prototype = {
initialize: function(combobox, listId, parentListId, fieldId, buttonId, buttonBGId, iframeId, classes,
@@ -490,7 +491,7 @@
combobox.style.width = width;
this.iframe.style.width = width;
- positionElem.style.width = width;
+ //positionElem.style.width = width;
this.list.style.width = parseInt(width) - Richfaces.getBorderWidth(positionElem.firstChild, "lr") - Richfaces.getPaddingWidth(positionElem.firstChild, "lr");
},
@@ -500,7 +501,7 @@
var comBottom = fieldTop + fieldHeight;
var listHeight = this.list.style.height;
- var top = -4;
+ var top = 0 ;//= -4;
if (parseInt(listHeight) > (docHeight - comBottom)) {
if (fieldTop > (docHeight - comBottom)) {
top -= (parseInt(listHeight) + fieldHeight);
Modified: trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-24 18:33:00 UTC (rev 5604)
+++ trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-24 19:03:09 UTC (rev 5605)
@@ -33,27 +33,41 @@
variables.setVariable("disabled", disabled);
String listHeight = (String) component.getAttributes().get("listHeight");
- if (listHeight != null) {
+ if (listHeight == null || listHeight.length() == 0 || listHeight.trim().startsWith("0")) {
+ listHeight = "200px";
+ } else {
listHeight = HtmlUtil.qualifySize(listHeight);
}
variables.setVariable("listHeight", listHeight);
- String listWidth = (String) component.getAttributes().get("listWidth");
- if (listWidth != null) {
+
+ String width = (String) component.getAttributes().get("width");
+ String correction = null;
+ if (width == null || (width.length() == 0) || (width.trim().startsWith("0")) ) {
+ width = "150px";
+
+ } else {
+ width = HtmlUtil.qualifySize(width);
+ }
+
+ correction = width.substring(0,width.indexOf("px"));
+ correction = (Integer.parseInt(correction) - 10) + "px";
+
+ variables.setVariable("width", width);
+ variables.setVariable("correction", correction);
+
+ String listWidth = (String) component.getAttributes().get("listWidth");
+
+ if (listWidth == null || listWidth.length() == 0 || listWidth.trim().startsWith("0")) {
+ String listCorrection = width.substring(0,width.indexOf("px"));
+ listCorrection = (Integer.parseInt(listCorrection) - 2) + "px";
+ listWidth = listCorrection;
+ } else {
listWidth = HtmlUtil.qualifySize(listWidth);
}
variables.setVariable("listWidth", listWidth);
+
- String width = (String) component.getAttributes().get("width");
- if (width != null) {
- if ((width.length() == 0) || (width == "0")) {
- width = "150";
- } else {
- width = HtmlUtil.qualifySize(width);
- }
- }
- variables.setVariable("width", width);
-
String inputSize = (String) component.getAttributes().get("inputSize");
variables.setVariable("inputSize", inputSize);
@@ -152,14 +166,7 @@
}
variables.setVariable("itemSelectedClass", itemSelectedClass);
- String curWidth = null;
- curWidth = listWidth;
- if (listWidth == null) {
- curWidth = width;
- }
- variables.setVariable("curWidth", curWidth);
-
- String buttonIcon = (String)component.getAttributes().get("buttonIcon");
+ String buttonIcon = (String)component.getAttributes().get("buttonIcon");
if (buttonIcon != null && !buttonIcon.equals("")) {
buttonIcon = "url('" + buttonIcon + "')";
}
@@ -196,43 +203,44 @@
</jsp:scriptlet>
<f:resource var="spacer" name="images/spacer.gif"/>
-<div id="control#{clientId}" class="rich-combobox-font rich-combobox-shell #{styleClass}" style="width:#{listWidth};#{style}"
+<div id="control#{clientId}" class="rich-combobox-list-width rich-combobox-font rich-combobox-shell rich-combobox= #{styleClass}" style="width:#{listWidth};#{style}"
x:passThruWithExclusions="value,name,type,id,styleClass,class,style,size,autocomplete,disabled,onchange">
<div class="rich-combobox-list-cord"></div>
- <div class="rich-combobox-font rich-combobox-shell" style="width:#{width};">
+ <div class="rich-combobox-input-width rich-combobox-font rich-combobox-shell" style="width:#{width};">
<input id="comboboxField#{clientId}"
name="comboboxField#{clientId}"
disabled="#{disabled}"
- class="rich-combobox-font-inactive rich-combobox-input-inactive #{inputDisabledClass}" type="text"
+ class="rich-combobox-input-width rich-combobox-font-inactive rich-combobox-input-inactive #{inputDisabledClass}" type="text"
value="#{value}"
size="#{inputSize}"
onchange="#{component.attributes['onchange']}"
onselect="#{component.attributes['onselect']}"
onblur="#{component.attributes['onblur']}"
- style="width:#{width}; #{inputStyle}"
+ style="width:#{correction}; #{inputStyle}"
/>
- <input id="comboBoxButtonBG#{clientId}" readonly="true" type="text" value="" class="rich-combobox-font-inactive rich-combobox-button-background rich-combobox-button-inactive"/>
- <input id="comboboxButton#{clientId}" readonly="true" disabled="#{disabled}" type="text" value="" style="#{buttonStyle}; background-image: #{buttonIconNormal};"
+ <input id="comboBoxButtonBG#{clientId}" readonly="true" type="text" value="" class="rich-combobox-font-inactive rich-combobox-button-background rich-combobox-button-inactive"/>
+ <input id="comboboxButton#{clientId}" readonly="true" disabled="#{disabled}" type="text" value="" style="#{buttonStyle}; background-image: #{buttonIconNormal};"
class="rich-combobox-font-inactive rich-combobox-button-icon-inactive rich-combobox-button-inactive #{buttonDisabledClass}"/>
- <div class="rich-combobox-strut rich-combobox-fon" style="width:#{width}">Strut</div>
+ <div class="rich-combobox-input-width rich-combobox-strut rich-combobox-font" style="width:#{correction}">Strut</div>
</div>
+
<div id="listParent#{clientId}" class="rich-combobox-list-cord #{listClass}" style="display:none; #{listStyle};">
- <iframe id="iframe#{clientId}" class="rich-combobox-list-scroll rich-combobox-list-position" frameborder="0" style="display:none; width:#{listWidth};"/>
- <div class="cb_shadow">
+ <iframe id="iframe#{clientId}" class="rich-combobox-list-width rich-combobox-list-scroll rich-combobox-list-position" frameborder="0" style="display:none; width:#{listWidth};"/>
+ <div class="rich-combobox-shadow">
<table cellpadding="0" cellspacing="0" border="0" width="255" height="109">
<tr>
- <td class="cb_shadow_tl">
+ <td class="rich-combobox-shadow-tl">
<img src="#{spacer}" width="10" height="1" alt="" border="0"></img><br></br>
</td>
- <td class="cb_shadow_tr">
+ <td class="rich-combobox-shadow-tr">
<img src="#{spacer}" width="1" height="10" alt="" border="0"></img><br></br>
</td>
</tr>
<tr>
- <td class="cb_shadow_bl">
+ <td class="rich-combobox-shadow-bl">
<img src="#{spacer}" width="1" height="10" alt="" border="0"></img><br></br>
</td>
- <td class="cb_shadow_br">
+ <td class="rich-combobox-shadow-br">
<img src="#{spacer}" width="10" height="10" alt="" border="0"></img><br></br>
</td>
</tr>
@@ -240,7 +248,7 @@
</div>
<div id="listPosition#{clientId}" class="rich-combobox-list-position">
<div id="listDecoration#{clientId}" class="rich-combobox-list-decoration">
- <div id="list#{clientId}" class="rich-combobox-list-scroll" style="width:#{listWidth};">
+ <div id="list#{clientId}" class="rich-combobox-list-scroll rich-combobox-list-width" style="width:#{listWidth};">
<f:call name="encodeItems"/>
</div>
</div>
17 years
JBoss Rich Faces SVN: r5604 - trunk/framework/impl/src/main/javascript/ajaxjsf.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-01-24 13:33:00 -0500 (Thu, 24 Jan 2008)
New Revision: 5604
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
RF-2024
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-01-24 18:14:14 UTC (rev 5603)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-01-24 18:33:00 UTC (rev 5604)
@@ -97,11 +97,12 @@
if(typeof(_this._onerror) == "function"){
_this._onerror(_this,requestStatus,_this._errorMessage);
}
+ if (_this.onfinish)
+ {
+ _this.onfinish(_this);
+ }
}
- if (_this.onfinish)
- {
- _this.onfinish(_this);
- }
+
_this = undefined;
}
}; //this._onReady;
17 years
JBoss Rich Faces SVN: r5603 - branches/3.1.x/test-applications/qa.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-01-24 13:14:14 -0500 (Thu, 24 Jan 2008)
New Revision: 5603
Added:
branches/3.1.x/test-applications/qa/QA test report Build RF 3.1.4 CR1.xls
Log:
CR1 Test Report
Added: branches/3.1.x/test-applications/qa/QA test report Build RF 3.1.4 CR1.xls
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/test-applications/qa/QA test report Build RF 3.1.4 CR1.xls
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years
JBoss Rich Faces SVN: r5602 - branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css and 6 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-01-24 12:24:28 -0500 (Thu, 24 Jan 2008)
New Revision: 5602
Modified:
branches/3.1.x/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
branches/3.1.x/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
Log:
http://jira.jboss.com/jira/browse/RF-1654 http://jira.jboss.com/jira/browse/RF-1652
Modified: branches/3.1.x/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
===================================================================
--- branches/3.1.x/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2008-01-24 16:58:55 UTC (rev 5601)
+++ branches/3.1.x/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2008-01-24 17:24:28 UTC (rev 5602)
@@ -152,26 +152,4 @@
return result.toString();
}
- public String getContentStyle(FacesContext context, UIModalPanel panel) {
- StringBuffer result = new StringBuffer();
-
- result.append("overflow: hidden; ");
-
- String style = (String)panel.getAttributes().get("style");
- if (null != style && !"".equals(style)) {
- result.append(style).
- append(" ");
-
- }
- int minHeight = panel.getMinHeight();
- int minWidth = panel.getMinWidth();
- if (minWidth > -1) {
- result.append("min-width: " + minWidth + "; ");
- }
- if (minHeight > -1) {
- result.append("min-height: " + minHeight + "; ");
- }
-
- return result.toString();
- }
}
Modified: branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss
===================================================================
--- branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss 2008-01-24 16:58:55 UTC (rev 5601)
+++ branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/css/modalPanel.xcss 2008-01-24 17:24:28 UTC (rev 5602)
@@ -52,6 +52,11 @@
left: -32000px;
}
+ .rich-mp-content {
+ height: 100%;
+ width: 100%;
+ }
+
</f:verbatim>
<u:selector name=".dr-mpnl-spacer, .dr-mpnl-resizer">
@@ -62,11 +67,13 @@
<f:verbatim>
<![CDATA[
-.dr-mpnl-pnl{
+.dr-mpnl-pnl {
border-width: 1px;
border-style: solid;
padding : 1px;
background-color: inherit;
+ height: 100%;
+ width: 100%;
}
.dr-mpnl-pnl-h{
Modified: branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js
===================================================================
--- branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-01-24 16:58:55 UTC (rev 5601)
+++ branches/3.1.x/ui/modal-panel/src/main/resources/org/richfaces/renderkit/html/scripts/modalPanel.js 2008-01-24 17:24:28 UTC (rev 5602)
@@ -456,6 +456,7 @@
var eContentDiv = $(this.contentDiv);
var eShadowDiv = $(this.shadowDiv);
+ var eContentTable = $(this.contentTable);
if (this.options.autosized) {
eContentDiv.style.overflow = "";
@@ -474,7 +475,7 @@
if (eIframe) {
eIframe.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
}
- eContentDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
+ eContentTable.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
eShadowDiv.style.width = options.width + (/px/.test(options.width) ? '' : 'px');
}
@@ -486,7 +487,7 @@
if (eIframe) {
eIframe.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
}
- eContentDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
+ eContentTable.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
eShadowDiv.style.height = options.height + (/px/.test(options.height) ? '' : 'px');
}
@@ -687,19 +688,19 @@
var vetoeChange = false;
var newSize;
- var eContentDiv = $(this.contentDiv);
+ var eContentTable = $(this.contentTable);
var eShadowDiv = $(this.shadowDiv);
// Avoid currentStyle bug in opera
if (RichFaces.navigatorType() != "OPERA")
- newSize = Richfaces.getComputedStyleSize(eContentDiv, "width");
+ newSize = Richfaces.getComputedStyleSize(eContentTable, "width");
else
- newSize = parseInt(eContentDiv.style.width.replace("px", ""), 10);
+ newSize = parseInt(eContentTable.style.width.replace("px", ""), 10);
var oldSize = newSize;
newSize += diff.deltaWidth || 0;
- if (newSize >= this.minWidth) {
+ if (newSize >= this.minWidth || this.options.autosized) {
if (diff.deltaWidth) {
cssHashWH.width = newSize + 'px';
}
@@ -724,29 +725,22 @@
diff.deltaX = vetoes.vx;
}
var newPos;
- if (eCdiv.mpUseExpr) {
- newPos = eCdiv.mpLeft || 0;
- newPos += diff.deltaX;
-
- eCdiv.mpLeft = newPos;
- cssHash.left = newPos + 'px';
- } else {
- newPos = Richfaces.getComputedStyleSize(eCdiv, "left");
- newPos += diff.deltaX;
- cssHash.left = newPos + 'px';
- }
+
+ newPos = Richfaces.getComputedStyleSize(eCdiv, "left");
+ newPos += diff.deltaX;
+ cssHash.left = newPos + 'px';
}
// Avoid currentStyle bug in opera
if (RichFaces.navigatorType() != "OPERA")
- newSize = Richfaces.getComputedStyleSize(eContentDiv, "height");
+ newSize = Richfaces.getComputedStyleSize(eContentTable, "height");
else
- newSize = parseInt(eContentDiv.style.height.replace("px", ""), 10);
+ newSize = parseInt(eContentTable.style.height.replace("px", ""), 10);
var oldSize = newSize;
newSize += diff.deltaHeight || 0;
- if (newSize >= this.minHeight) {
+ if (newSize >= this.minHeight || this.options.autosized) {
if (diff.deltaHeight) {
cssHashWH.height = newSize + 'px';
}
@@ -785,8 +779,8 @@
Element.setStyle(eCdiv, cssHash);
- Element.setStyle(eContentDiv, cssHashWH);
- Element.setStyle(eShadowDiv, cssHashWH);
+ Element.setStyle(eContentTable, cssHashWH);
+ this.correctShadowSize();
if (this.iframe) {
Element.setStyle($(this.iframe), cssHashWH);
}
@@ -847,21 +841,28 @@
},
correctShadowSize: function(event) {
- var eContentDiv = $(this.contentDiv);
var eShadowDiv = $(this.shadowDiv);
- if (!eContentDiv || !eShadowDiv) {
+ var eContentTable = $(this.contentTable);
+ if (!eShadowDiv || !eContentTable) {
return;
}
var eIframe = $(this.iframe);
- var cWidth = eContentDiv.clientWidth;
- var cHeight = eContentDiv.clientHeight;
+ var dx = 0;
+ var dy = 0;
+ if (!Richfaces.browser.isIE)
+ {
+ dx = eShadowDiv.offsetWidth-eShadowDiv.clientWidth;
+ dy = eShadowDiv.offsetHeight-eShadowDiv.clientHeight;
+ }
+ var w = eContentTable.offsetWidth;
+ var h = eContentTable.offsetHeight;
+ eShadowDiv.style.width = (w-dx)+"px";
+ eShadowDiv.style.height = (h-dy)+"px";
- eShadowDiv.style.width = cWidth+"px";
- eShadowDiv.style.height = cHeight+"px";
if (eIframe) {
- eIframe.style.width = cWidth+"px";
- eIframe.style.height = cHeight+"px";
+ eIframe.style.width = w+"px";
+ eIframe.style.height = h+"px";
}
}
}
Modified: branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-24 16:58:55 UTC (rev 5601)
+++ branches/3.1.x/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-24 17:24:28 UTC (rev 5602)
@@ -80,8 +80,13 @@
<div id="#{clientId}ShadowDiv" class="dr-mpnl-shadow rich-mpnl-shadow"
style="#{component.shadowStyle}" >
</div>
- <table id="#{clientId}ContentTable" cellpadding="0" cellspacing="0" border="0" style="position: absolute; z-index: 2;"><tbody><tr><td class="dr-mpnl-pnl">
- <div id="#{clientId}ContentDiv" style="#{this:getContentStyle(context, component)}" class="rich-mp-content">
+ <table id="#{clientId}ContentTable" cellpadding="0" cellspacing="0" border="0"
+ style="position: absolute; z-index: 2; width: #{component.minWidth}px; height: #{component.minHeight}px; #{component.attributes['style']};">
+ <tbody>
+ <tr>
+ <td class="dr-mpnl-pnl">
+
+ <div id="#{clientId}ContentDiv" style="overflow: hidden;" class="rich-mp-content">
<a href="#" class="dr-mpnl-pnl-a" id="#{clientId}FirstHref" >_</a>
<table style="height: 100%; width: 100%;" border="0" cellpadding="0" cellspacing="0">
Modified: branches/3.1.x/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
===================================================================
--- branches/3.1.x/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java 2008-01-24 16:58:55 UTC (rev 5601)
+++ branches/3.1.x/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java 2008-01-24 17:24:28 UTC (rev 5602)
@@ -124,7 +124,7 @@
HtmlElement htmlContentDiv = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "ContentDiv");
assertNotNull(htmlContentDiv);
- assertTrue(htmlContentDiv.getAttributeValue("class").contains("dr-mpnl-pnl"));
+ assertTrue(htmlContentDiv.getAttributeValue("class").contains("rich-mp-content"));
HtmlElement header = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "Header");
assertNotNull(header);
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 2008-01-24 16:58:55 UTC (rev 5601)
+++ trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2008-01-24 17:24:28 UTC (rev 5602)
@@ -160,21 +160,4 @@
public void writeEventHandlerFunction(FacesContext context, UIComponent component, String eventName) throws IOException{
RendererUtils.writeEventHandlerFunction(context, component, eventName);
}
-
- public String getContentStyle(FacesContext context, UIModalPanel panel) {
- StringBuffer result = new StringBuffer();
-
- result.append("overflow: hidden; ");
-
- int minHeight = panel.getMinHeight();
- int minWidth = panel.getMinWidth();
- if (minWidth > -1) {
- result.append("min-width: " + minWidth + "px; ");
- }
- if (minHeight > -1) {
- result.append("min-height: " + minHeight + "px; ");
- }
-
- return result.toString();
- }
}
Modified: trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx
===================================================================
--- trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-24 16:58:55 UTC (rev 5601)
+++ trunk/ui/modal-panel/src/main/templates/org/richfaces/htmlModalPanel.jspx 2008-01-24 17:24:28 UTC (rev 5602)
@@ -85,8 +85,8 @@
<tbody>
<tr>
<td class="dr-mpnl-pnl">
-
- <div id="#{clientId}ContentDiv" style="#{this:getContentStyle(context, component)}" class="rich-mp-content">
+
+ <div id="#{clientId}ContentDiv" style="overflow: hidden;" class="rich-mp-content">
<a href="#" class="dr-mpnl-pnl-a" id="#{clientId}FirstHref" >_</a>
<table style="height: 100%; width: 100%;" border="0" cellpadding="0" cellspacing="0">
Modified: trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java
===================================================================
--- trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java 2008-01-24 16:58:55 UTC (rev 5601)
+++ trunk/ui/modal-panel/src/test/java/org/richfaces/component/ModalPanelComponentTest.java 2008-01-24 17:24:28 UTC (rev 5602)
@@ -124,7 +124,7 @@
HtmlElement htmlContentDiv = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "ContentDiv");
assertNotNull(htmlContentDiv);
- assertTrue(htmlContentDiv.getAttributeValue("class").contains("dr-mpnl-pnl"));
+ assertTrue(htmlContentDiv.getAttributeValue("class").contains("rich-mp-content"));
HtmlElement header = renderedView.getHtmlElementById(modalPanel.getClientId(facesContext) + "Header");
assertNotNull(header);
17 years
JBoss Rich Faces SVN: r5601 - branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-01-24 11:58:55 -0500 (Thu, 24 Jan 2008)
New Revision: 5601
Modified:
branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
http://jira.jboss.com/jira/browse/RF-1939
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 2008-01-24 16:53:31 UTC (rev 5600)
+++ branches/3.1.x/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-01-24 16:58:55 UTC (rev 5601)
@@ -999,18 +999,27 @@
}
// if($(topLevel)){ CH-1518
- var onmouseover = function(e){
- if (!e) {
- e = window.event;
- }
-
+ var menuOn = function(e) {
RichFaces.Menu.Layers.showDropDownLayer(this.id, topLevel, e,this.delay);
+ };
+
+ var mouseover = function(e) {
if (options.disabled == false && !RichFaces.Menu.isWithin(e, $(topLevel))) {
this.highlightLabel();
}
-
- }.bindAsEventListener(this);
+ };
+ var menuOff = function(e) {
+ RichFaces.Menu.Layers.setLMTO(this.hideDelay);
+ RichFaces.Menu.Layers.clearPopUpTO();
+ };
+
+ var mouseout = function(e){
+ if (options.disabled == false && !RichFaces.Menu.isWithin(e, $(topLevel))) {
+ this.unHighlightLabel();
+ }
+ };
+
if(!onEvt){
onEvt = 'onmouseover';
}
@@ -1020,24 +1029,32 @@
}
offEvt = this.eventJsToPrototype(offEvt);
- var dis = this;
- var onmouseout =
- function(e){
- RichFaces.Menu.Layers.setLMTO(this.hideDelay);
- RichFaces.Menu.Layers.clearPopUpTO();
- if (options.disabled == false && !RichFaces.Menu.isWithin(e, $(topLevel))) {
- this.unHighlightLabel();
- }
- }.bindAsEventListener(this);
+ var addBinding = function(eventName, handler) {
+ var binding = new RichFaces.Menu.Layer.Binding(topLevel, eventName, handler);
+ this.bindings.push(binding);
+ binding.refresh();
+ }.bind(this);
-// var item = $(topLevel);
- var binding = new RichFaces.Menu.Layer.Binding(topLevel,onEvt, onmouseover);
- this.bindings.push(binding);
- binding.refresh();
- binding = new RichFaces.Menu.Layer.Binding (topLevel, offEvt, onmouseout);
- this.bindings.push(binding);
- binding.refresh();
-
+ if (onEvt == 'mouseover') {
+ addBinding(onEvt, function(e) {
+ menuOn.call(this, e);
+ mouseover.call(this, e);
+ }.bindAsEventListener(this));
+ } else {
+ addBinding(onEvt, menuOn.bindAsEventListener(this));
+ addBinding('mouseover', mouseover.bindAsEventListener(this));
+ }
+
+ if (offEvt == 'mouseout') {
+ addBinding(offEvt, function(e) {
+ menuOff.call(this, e);
+ mouseout.call(this, e);
+ }.bindAsEventListener(this));
+ } else {
+ addBinding(offEvt, menuOff.bindAsEventListener(this));
+ addBinding('mouseout', mouseout.bindAsEventListener(this));
+ }
+
RichFaces.Menu.Layers.horizontals[this.id] = topLevel;
// }
return this;
17 years
JBoss Rich Faces SVN: r5600 - branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-01-24 11:53:31 -0500 (Thu, 24 Jan 2008)
New Revision: 5600
Modified:
branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
Log:
RF-2027
Modified: branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-24 16:52:33 UTC (rev 5599)
+++ branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-24 16:53:31 UTC (rev 5600)
@@ -192,7 +192,7 @@
if ((!this.editInFocus || newValue==sliderValue) && (this.required || "" != this.input.value || this.updating)){
this.input.value = this.value;
// this.optionInput.value = this.value;
- this.handle.style.left = this.translateToPx(sliderValue);
+ this.handle.style.left = this.translateToPx(this.value);
} else
{
this.handle.style.left = "-2px";
17 years
JBoss Rich Faces SVN: r5599 - trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-01-24 11:52:33 -0500 (Thu, 24 Jan 2008)
New Revision: 5599
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
Log:
small correction
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 2008-01-24 16:47:14 UTC (rev 5598)
+++ trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-24 16:52:33 UTC (rev 5599)
@@ -193,7 +193,7 @@
if ((!this.editInFocus || newValue==sliderValue) && (this.required || "" != this.input.value || this.updating)){
this.input.value = this.value;
// this.optionInput.value = this.value;
- this.handle.style.left = this.translateToPx(newValue);
+ this.handle.style.left = this.translateToPx(this.value);
} else
{
this.handle.style.left = "-2px";
17 years
JBoss Rich Faces SVN: r5598 - trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-01-24 11:47:14 -0500 (Thu, 24 Jan 2008)
New Revision: 5598
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
Log:
http://jira.jboss.com/jira/browse/RF-1963
Modified: trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2008-01-24 16:39:26 UTC (rev 5597)
+++ trunk/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2008-01-24 16:47:14 UTC (rev 5598)
@@ -129,22 +129,22 @@
if (!dragDiv) {
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicatorLeft";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
document.body.appendChild(dragDiv);
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicatorRight";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
document.body.appendChild(dragDiv);
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicatorBottom";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
document.body.appendChild(dragDiv);
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicator";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
Object.extend(dragDiv, DefaultDragIndicator);
document.body.appendChild(dragDiv);
}
17 years
JBoss Rich Faces SVN: r5597 - branches/3.1.x/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-01-24 11:39:26 -0500 (Thu, 24 Jan 2008)
New Revision: 5597
Modified:
branches/3.1.x/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
Log:
http://jira.jboss.com/jira/browse/RF-1963
Modified: branches/3.1.x/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js
===================================================================
--- branches/3.1.x/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2008-01-24 16:26:52 UTC (rev 5596)
+++ branches/3.1.x/framework/impl/src/main/resources/org/richfaces/renderkit/html/scripts/dnd/dnd-draggable.js 2008-01-24 16:39:26 UTC (rev 5597)
@@ -96,22 +96,22 @@
if (!dragDiv) {
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicatorLeft";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
document.body.appendChild(dragDiv);
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicatorRight";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
document.body.appendChild(dragDiv);
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicatorBottom";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
document.body.appendChild(dragDiv);
dragDiv = document.createElement("div");
dragDiv.id = "_rfDefaultDragIndicator";
- Element.setStyle(dragDiv, {"font-size" : "0px", "zIndex": 1000});
+ Element.setStyle(dragDiv, {"fontSize": "0px", "lineHeight": "0px", "zIndex": 1000});
Object.extend(dragDiv, DefaultDragIndicator);
document.body.appendChild(dragDiv);
}
17 years
JBoss Rich Faces SVN: r5596 - trunk/ui/calendar/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-24 11:26:52 -0500 (Thu, 24 Jan 2008)
New Revision: 5596
Modified:
trunk/ui/calendar/src/main/config/component/calendar.xml
Log:
http://jira.jboss.com/jira/browse/RF-696 - add description of 'inputSize' attribute
Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml 2008-01-24 16:08:58 UTC (rev 5595)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml 2008-01-24 16:26:52 UTC (rev 5596)
@@ -532,16 +532,17 @@
If false ApplyButton should not be shown
</description>
<defaultvalue>false</defaultvalue>
- </property>
- <property>
- <name>inputSize</name>
- <classname>int</classname>
- </property>
- <property>
- <name>label</name>
- <classname>java.lang.String</classname>
- <description>A localized user presentable name for this component.</description>
</property>
+ <property>
+ <name>inputSize</name>
+ <classname>int</classname>
+ <description>Defines the size of an input field. Similar to the "size" attribute of h:inputText</description>
+ </property>
+ <property>
+ <name>label</name>
+ <classname>java.lang.String</classname>
+ <description>A localized user presentable name for this component.</description>
+ </property>
</component>
&listeners;
17 years