JBoss Rich Faces SVN: r5424 - in management/design/fileUpload/markup: images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2008-01-16 10:02:36 -0500 (Wed, 16 Jan 2008)
New Revision: 5424
Added:
management/design/fileUpload/markup/images/bg_RegressBar.png
management/design/fileUpload/markup/images/bg_header.png
management/design/fileUpload/markup/images/bg_uploaded.png
management/design/fileUpload/markup/images/ico_add.gif
management/design/fileUpload/markup/images/ico_clear.gif
management/design/fileUpload/markup/images/ico_delete.gif
management/design/fileUpload/markup/images/ico_file.gif
management/design/fileUpload/markup/images/ico_start.gif
management/design/fileUpload/markup/images/ico_stop.gif
Modified:
management/design/fileUpload/markup/file_upload.html
management/design/fileUpload/markup/images/bg_press.png
Log:
Modified: management/design/fileUpload/markup/file_upload.html
===================================================================
--- management/design/fileUpload/markup/file_upload.html 2008-01-16 14:43:21 UTC (rev 5423)
+++ management/design/fileUpload/markup/file_upload.html 2008-01-16 15:02:36 UTC (rev 5424)
@@ -6,86 +6,125 @@
<style>
body{margin : 20px}
-.upload_font{font-family : verdana /*generalFamilyFont*/ ; font-size : 10px/*generalSizeFont*/;}
+.upload_font{font-family : verdana /*generalFamilyFont*/ ; font-size : 11px/*generalSizeFont*/;}
#upload_table{width : 100%}
-#upload_table td{border-bottom:1px solid #c0c0c0 /*tableBorderColor*/;white-space : nowrap; padding : 4 0 4 0;}
+#upload_table td{border-bottom:1px solid #c0c0c0 /*tableBorderColor*/;white-space : nowrap;}
-#upload_footer{width : 100%}
-#upload_footer td{white-space : nowrap; padding : 5 0 5 0;}
-
-.upload_list_width{ width:350px;}
+.upload_list_width{ width:400px;}
.upload_list_decor{ border:1px solid #c0c0c0 /*tableBorderColor*/; background : #FFFFFF /*tableBackgroundColor*/;}
-.upload_list_overflow{height : 200px; overflow : auto; overflow-x : hidden;}
-.upload_icon{ width : 50; padding-top : 10; padding-bottom : 10; text-align : center;}
-.upload_name{ width : 200; overflow : hidden; padding-top : 1; padding-bottom : 1;}
+.upload_list_overflow{height : 210px; overflow : auto; overflow-x : hidden;}
+.upload_name{ width : 100%; height : 50px; padding : 2px 10px 2px 10px;}
.upload_del{ width : 90; text-align : center; padding-top : 3; padding-bottom : 3;}
.upload_scroll{ width : 10; text-align : center;}
.upload_anc{ color : ##0078D0/*generalLinkColor*/;}
-.upload_footer_decor{ background : #EAF0F8 /*additionalBackgroundColor*/; border-top: 1px solid #c0c0c0 /*tableBorderColor*/;}
-.upload_footer_firstcol{ width : 100%}
-.upload_footer_del{ width : 90; text-align : center;}
+.upload_toolbar_decor{ background : #EAF0F8 /*additionalBackgroundColor*/;border-bottom:1px solid #c0c0c0 /*tableBorderColor*/;border-top:1px solid #FFFFFF /*tableBackgroundColor*/;border-left:1px solid #FFFFFF /*tableBackgroundColor*/;padding : 2px}
-.upload_btn_over{
- display : inline;
- background : url(images/bg_button.png) repeat-x #C7D7EC; /*from generalBackgroundColor to tabBackgroundColor*/
- padding: 0px;
- text-align : center;
- border : 1px solid #c0c0c0; /*panelBorderColor*/
- cursor : pointer;
-}
-.upload_btn_press{
- display : inline;
- background : url(images/bg_press.png) repeat-x bottom #C7D7EC; /*from tabBackgroundColor to generalBackgroundColor*/
- padding: 0px;
- text-align : center;
- border : 1px solid #c0c0c0; /*panelBorderColor*/
- cursor : pointer;
-}
.upload_bar_exterior{ border : 1px solid #c0c0c0 /*panelBorderColor*/;}
.upload_bar_uploaded{width : 70%; height : 100%; background : #FF9409 /**/; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x; font-size : 0px;}
-.upload_bar_shell{width : 198; height : 8; background : #F1F1F1/*tableSubfooterBackgroundColor*/;}
+.upload_bar_deleted{width : 40%; height : 100%; background : #FF9409 /**/; background-image : url(images/bg_RegressBar.png);background-repeat : repeat-x; font-size : 0px;}
+.upload_bar_shell{width : 100%; height : 8; background : #F1F1F1/*tableSubfooterBackgroundColor*/;}
+
+.upload_button_border{
+ border : 1px solid #C0C0C0; /*tableBorderColor*/
+ margin : 2px;
+}
+.upload_button{
+ background : url(images/bg_header.png) /*from additionalBackgroundColor to trimColor*/ top left #C6D6EA /*trimColor*/ repeat-x;
+ cursor : pointer;
+ padding : 2px;
+}
+.upload_button_light{
+ background : url(images/bg_header.png) /*from additionalBackgroundColor to headerGradientColor*/ top left #C6D6EA /*trimColor*/ repeat-x;
+ border : 1px solid #E79A00; /*selectControlColor*/
+ cursor : pointer;
+ padding : 1px;
+ font-family : Arial;
+ font-size :11px;
+}
+.upload_button_dis{
+ background : #C0C0C0; /*tableBorderColor*/
+ border : 1px solid #C0C0C0; /*tableBorderColor*/
+ margin-bottom : 3px;
+ padding : 1px}
+.upload_button_press{
+ background : url(images/bg_press.png) /*from additionalBackgroundColor to trimColor*/ top left repeat-x #EAF0F8; /* additionalBackgroundColor*/
+ border : 1px solid #E79A00; /*selectControlColor*/
+ padding : 2px 0px 0px 2px;
+}
+a.upload_button_selection{
+ text-decoration : none;
+ color : #000000; /*generalTextColor*/
+ display : block;
+}
+.upload_button_content{
+ padding : 2px 6px 2px 3px;
+ text-align : left;
+ white-space : nowrap;
+}
+.upload_ico{
+ vertical-align: middle;
+ margin-right : 3px;
+}
+
+.upload_name_padding{padding : 2px 0px 2px 0px;}
+
+.upload_ico{background-position : 0px 50%; background-repeat : no-repeat; padding-left : 19px}
+.upload_ico_add{background-image : url(images/ico_add.gif)}
+.upload_ico_start{background-image : url(images/ico_start.gif)}
+.upload_ico_stop{background-image : url(images/ico_stop.gif)}
+.upload_ico_delete{background-image : url(images/ico_delete.gif)}
+.upload_ico_clear{background-image : url(images/ico_clear.gif)}
+
</style>
</head>
<body>
<div class="upload_list_width upload_list_decor">
+ <table class="upload_list_width" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="upload_toolbar_decor">
+ <div class="upload_button_border" style=" float:left"><div class="upload_button upload_font" onmouseover="this.className='upload_button_light upload_font'" onmousedown="this.className='upload_button_press upload_font'" onmouseup="this.className='upload_button upload_font'" onmouseout="this.className='upload_button upload_font'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_add">Add...</div></a></div></div>
+ <div class="upload_button_border" style=" float:left"><div class="upload_button upload_font" onmouseover="this.className='upload_button_light upload_font'" onmousedown="this.className='upload_button_press upload_font'" onmouseup="this.className='upload_button upload_font'" onmouseout="this.className='upload_button upload_font'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_start"><b>Upload</b></div></a></div></div>
+ <div class="upload_button_border" style=" float:right"><div class="upload_button upload_font" onmouseover="this.className='upload_button_light upload_font'" onmousedown="this.className='upload_button_press upload_font'" onmouseup="this.className='upload_button upload_font'" onmouseout="this.className='upload_button upload_font'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_clear">Clear All</div></a></div></div>
+ <div class="upload_button_border" style=" float:right"><div class="upload_button upload_font" onmouseover="this.className='upload_button_light upload_font'" onmousedown="this.className='upload_button_press upload_font'" onmouseup="this.className='upload_button upload_font'" onmouseout="this.className='upload_button upload_font'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_delete">Delete All</div></a></div></div>
+ </td>
+ </tr>
+ </table>
<div class="upload_list_width upload_list_overflow">
+
<table border="0" cellpadding="0" cellspacing="0" id="upload_table">
<tr>
- <td>
- <div class="upload_font upload_icon"><img src="images/ico_file_32.gif" width="32" height="32" alt="" border="0"></div>
- </td>
- <td>
- <div class="upload_font upload_name">
+ <td class="upload_font upload_name">
+ <div class="upload_name_padding">
file_upload.html
</div>
- <div class="upload_font upload_name">
+
+ <!--div class="upload_bar_exterior">
+ <div class="upload_bar_shell">
+ <div class="upload_bar_uploaded">
+
+ </div>
+ </div>
+ </div-->
+
+ <div class="upload_name_padding">
<b>Done</b>
- <!--div class="upload_bar_exterior">
- <div class="upload_bar_shell">
- <div class="upload_bar_uploaded">
-
- </div>
- </div>
- </div-->
- <!--br-->
</div>
+
- <!--div class="upload_font upload_name">
- 70% from 200000 KB
- </div-->
</td>
<td>
<div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
+ <div class="upload_font upload_del"><a href="#" class="upload_anc">Delete</a></div>
</td>
<td>
- <div class="upload_font upload_scroll"></div>
+ <div class="upload_font upload_scroll"> </div>
</td>
</tr>
</table>
@@ -94,35 +133,66 @@
<table border="0" cellpadding="0" cellspacing="0" id="upload_table">
<tr>
+ <td class="upload_font upload_name">
+ <div class="upload_name_padding">
+ file_upload.html
+ </div>
+
+
+ <div class="upload_bar_exterior">
+ <div class="upload_bar_shell">
+ <div class="upload_bar_uploaded">
+
+ </div>
+ </div>
+ </div>
+
+ <div class="upload_name_padding">
+ 120kb from 2000kb 04:56
+ </div>
+
+
+ </td>
<td>
- <div class="upload_font upload_icon"><img src="images/ico_file_32.gif" width="32" height="32" alt="" border="0"></div>
+ <!--div class="upload_font upload_del"><a href="#" class="upload_anc">Delete</a></div-->
+ <div class="upload_font upload_del"><br></div>
</td>
<td>
- <div class="upload_font upload_name">
+ <div class="upload_font upload_scroll"> </div>
+ </td>
+ </tr>
+ </table>
+
+
+
+ <table border="0" cellpadding="0" cellspacing="0" id="upload_table">
+ <tr>
+ <td class="upload_font upload_name">
+ <div class="upload_name_padding">
file_upload.html
</div>
- <div class="upload_font upload_name">
- <!--Done-->
- <div class="upload_bar_exterior">
- <div class="upload_bar_shell">
- <div class="upload_bar_uploaded">
-
- </div>
+
+ <!--div class="upload_bar_exterior">
+ <div class="upload_bar_shell">
+ <div class="upload_bar_uploaded">
+
</div>
</div>
- <!--br-->
+ </div-->
+
+ <div class="upload_name_padding">
+ <br>
</div>
+
- <div class="upload_font upload_name">
- <b>70%</b> from 200000 KB
- </div>
</td>
<td>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Stop</a></div>
+ <div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
+ <div class="upload_font upload_del"><br></div>
</td>
<td>
- <div class="upload_font upload_scroll"></div>
+ <div class="upload_font upload_scroll"> </div>
</td>
</tr>
</table>
@@ -131,102 +201,141 @@
<table border="0" cellpadding="0" cellspacing="0" id="upload_table">
<tr>
+ <td class="upload_font upload_name">
+ <div class="upload_name_padding">
+ file_upload.html
+ </div>
+
+
+ <!--div class="upload_bar_exterior">
+ <div class="upload_bar_shell">
+ <div class="upload_bar_uploaded">
+
+ </div>
+ </div>
+ </div-->
+
+ <div class="upload_name_padding">
+ <b>Done</b>
+ </div>
+
+
+ </td>
<td>
- <div class="upload_font upload_icon"><img src="images/ico_file_32.gif" width="32" height="32" alt="" border="0"></div>
+ <div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
+ <div class="upload_font upload_del"><a href="#" class="upload_anc">Yes</a> | <a href="#" class="upload_anc">No</a></div>
</td>
<td>
- <div class="upload_font upload_name">
+ <div class="upload_font upload_scroll"> </div>
+ </td>
+ </tr>
+ </table>
+
+
+ <table border="0" cellpadding="0" cellspacing="0" id="upload_table">
+ <tr>
+ <td class="upload_font upload_name">
+ <div class="upload_name_padding">
file_upload.html
</div>
- <div class="upload_font upload_name">
- <!--Done>
- <div class="upload_bar_exterior">
- <div class="upload_bar_shell">
- <div class="upload_bar_uploaded">
-
- </div>
+
+ <div class="upload_bar_exterior">
+ <div class="upload_bar_shell">
+ <div class="upload_bar_deleted">
+
</div>
- </div-->
- <br>
+ </div>
</div>
+
+ <div class="upload_name_padding">
+ Deleteing in progress
+ </div>
+
- <!--div class="upload_font upload_name">
- 70% from 200000 KB
- </div-->
</td>
<td>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Delete</a></div>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Upload</a></div>
+ <div class="upload_font upload_del"><br></div>
+ <div class="upload_font upload_del"><br></div>
</td>
<td>
- <div class="upload_font upload_scroll"></div>
+ <div class="upload_font upload_scroll"> </div>
</td>
</tr>
</table>
-
<table border="0" cellpadding="0" cellspacing="0" id="upload_table">
<tr>
- <td>
- <div class="upload_font upload_icon"><img src="images/ico_file_32.gif" width="32" height="32" alt="" border="0"></div>
- </td>
- <td>
- <div class="upload_font upload_name">
+ <td class="upload_font upload_name">
+ <div class="upload_name_padding">
file_upload.html
</div>
- <div class="upload_font upload_name">
- <!--Done>
- <div class="upload_bar_exterior">
- <div class="upload_bar_shell">
- <div class="upload_bar_uploaded">
-
- </div>
+
+ <!--div class="upload_bar_exterior">
+ <div class="upload_bar_shell">
+ <div class="upload_bar_uploaded">
+
</div>
- </div-->
- <br>
+ </div>
+ </div-->
+
+ <div class="upload_name_padding">
+ <b>Deleted</b>
</div>
+
- <!--div class="upload_font upload_name">
- 70% from 200000 KB
- </div-->
</td>
<td>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Delete</a></div>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Upload</a></div>
+ <div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
+ <div class="upload_font upload_del"><br></div>
</td>
<td>
- <div class="upload_font upload_scroll"></div>
+ <div class="upload_font upload_scroll"> </div>
</td>
</tr>
</table>
- </div>
-
-
- <div class="upload_list_width upload_footer_decor">
- <table border="0" cellpadding="0" cellspacing="0" id="upload_footer">
+ <table border="0" cellpadding="0" cellspacing="0" id="upload_table">
<tr>
- <td class="upload_footer_firstcol">
- <input style="margin-left : 5" value="Add..." type="Button" class="upload_btn_over upload_font" onmouseover="this.className='upload_btn_over upload_font'" onmouseout="this.className='upload_btn_over upload_font'" onmousedown="this.className='upload_btn_press upload_font'">
- <input style="padding-left : 10; padding-right : 10; font-weight : bold" value="Upload" type="Button" class="upload_btn_over upload_font" onmouseover="this.className='upload_btn_over upload_font'" onmouseout="this.className='upload_btn_over upload_font'" onmousedown="this.className='upload_btn_press upload_font'">
+ <td class="upload_font upload_name">
+ <div class="upload_name_padding">
+ file_upload.html
+ </div>
+
+
+ <!--div class="upload_bar_exterior">
+ <div class="upload_bar_shell">
+ <div class="upload_bar_uploaded">
+
+ </div>
+ </div>
+ </div-->
+
+ <div class="upload_name_padding">
+ <br>
+ </div>
+
+
</td>
<td>
- <div class="upload_font upload_footer_del">
- <input value="Clear" type="Button" class="upload_btn_over upload_font" onmouseover="this.className='upload_btn_over upload_font'" onmouseout="this.className='upload_btn_over upload_font'" onmousedown="this.className='upload_btn_press upload_font'">
- </div>
+ <div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
+ <div class="upload_font upload_del"><br></div>
</td>
<td>
- <div class="upload_font upload_scroll">
- </div>
+ <div class="upload_font upload_scroll"> </div>
</td>
</tr>
</table>
+
+
+
</div>
+
+
</div>
Added: management/design/fileUpload/markup/images/bg_RegressBar.png
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/bg_RegressBar.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/bg_header.png
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/bg_header.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: management/design/fileUpload/markup/images/bg_press.png
===================================================================
(Binary files differ)
Added: management/design/fileUpload/markup/images/bg_uploaded.png
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/bg_uploaded.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/ico_add.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/ico_add.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/ico_clear.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/ico_clear.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/ico_delete.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/ico_delete.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/ico_file.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/ico_file.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/ico_start.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/ico_start.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/ico_stop.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/ico_stop.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 12 months
JBoss Rich Faces SVN: r5423 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-16 09:43:21 -0500 (Wed, 16 Jan 2008)
New Revision: 5423
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
fix this.button.style.backgroundImage
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-16 14:30:40 UTC (rev 5422)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-16 14:43:21 UTC (rev 5423)
@@ -96,7 +96,7 @@
if (this.isActive()) {
this.button.className= classCss.ACTIVE + " " + classCss.HOVERED;
- this.button.style.backgroundImage = iconStyles.ACTIVE
+ this.button.style.backgroundImage = iconStyles.ACTIVE;
} else {
this.button.className = classCss.NORMAL + " " + classCss.HOVERED;
this.button.style.backgroundImage = iconStyles.NORMAL;
@@ -109,10 +109,10 @@
if (this.isActive()) {
this.button.className= classCss.ACTIVE;
- this.button.style.backgroundImage = iconStyles.ACTIVE
+ this.button.style.backgroundImage = iconStyles.ACTIVE;
} else {
this.button.className = classCss.NORMAL;
- this.button.style.backgroundImage = iconStyles.NORMAL
+ this.button.style.backgroundImage = iconStyles.NORMAL;
}
},
@@ -314,7 +314,7 @@
this.field.className = this.classes.FIELD.CLASSES.DISABLED;
var iconStyles = this.classes.BUTTONICON.STYLE;
- this.button.style.backgroundImage = iconStyles.DISABLE
+ this.button.style.backgroundImage = iconStyles.DISABLED;
this.button.disabled = true;
this.field.disabled = true;
@@ -328,7 +328,7 @@
this.field.className = this.classes.FIELD.CLASSES.NORMAL;
var iconStyles = this.classes.BUTTONICON.STYLE;
- this.button.style.backgroundImage = iconStyles.NORMAL
+ this.button.style.backgroundImage = iconStyles.NORMAL;
this.button.disabled = false;
this.field.disabled = false;
16 years, 12 months
JBoss Rich Faces SVN: r5422 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-16 09:30:40 -0500 (Wed, 16 Jan 2008)
New Revision: 5422
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
Log:
add font styles for disabled state
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-16 14:14:05 UTC (rev 5421)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-01-16 14:30:40 UTC (rev 5422)
@@ -248,6 +248,8 @@
<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:selector>
<u:selector name=".rich-combobox-input-inactive">
16 years, 12 months
JBoss Rich Faces SVN: r5421 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-01-16 09:14:05 -0500 (Wed, 16 Jan 2008)
New Revision: 5421
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
support of ESC
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-16 14:09:05 UTC (rev 5420)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-01-16 14:14:05 UTC (rev 5421)
@@ -159,6 +159,9 @@
case Event.KEY_UP :
this.comboList.moveActiveItem(event);
break;
+ case Event.KEY_ESC :
+ this.comboList.hideWithDelay();
+ break;
}
},
@@ -682,5 +685,5 @@
}
Richfaces.ComboBox.SPECIAL_KEYS = [
- Event.KEY_RETURN, Event.KEY_UP, Event.KEY_DOWN, Event.KEY_RIGHT, Event.KEY_LEFT
+ Event.KEY_RETURN, Event.KEY_UP, Event.KEY_DOWN, Event.KEY_RIGHT, Event.KEY_LEFT, Event.KEY_ESC
]
\ No newline at end of file
16 years, 12 months
JBoss Rich Faces SVN: r5420 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-16 09:09:05 -0500 (Wed, 16 Jan 2008)
New Revision: 5420
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
Log:
remove font color in disable state
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-16 14:06:57 UTC (rev 5419)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-01-16 14:09:05 UTC (rev 5420)
@@ -227,7 +227,6 @@
</u:selector>
<u:selector name=".rich-combobox-font-disabled">
- <u:style name="color" skin="tabDisabledTextColor"/>
<u:style name="font-family" skin="headerFamilyFont"/>
<u:style name="font-size" skin="headerSizeFont"/>
</u:selector>
16 years, 12 months
JBoss Rich Faces SVN: r5419 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-01-16 09:06:57 -0500 (Wed, 16 Jan 2008)
New Revision: 5419
Modified:
trunk/docs/userguide/en/src/main/docbook/included/jQuery.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml
Log:
language is corrected
Modified: trunk/docs/userguide/en/src/main/docbook/included/jQuery.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/jQuery.desc.xml 2008-01-16 14:05:51 UTC (rev 5418)
+++ trunk/docs/userguide/en/src/main/docbook/included/jQuery.desc.xml 2008-01-16 14:06:57 UTC (rev 5419)
@@ -21,7 +21,7 @@
<title>Key Features</title>
<itemizedlist>
<listitem>Presents jQuery JavaScript framework functionality</listitem>
- <listitem>Allows to apply onto JSF components and other DOM objects.</listitem>
+ <listitem>Able to apply onto JSF components and other DOM objects.</listitem>
<listitem>Works without conflicts with prototype.js library</listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml 2008-01-16 14:05:51 UTC (rev 5418)
+++ trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml 2008-01-16 14:06:57 UTC (rev 5419)
@@ -240,7 +240,7 @@
<para>In addition, RichFaces allows using either a component id or client id if you apply the
query to a JSF component. When you define a selector, RichFaces examines its content and
- tries to replace the defined in the selector id with component id if it's found.</para>
+ tries to replace the defined in the selector id with a component id if it's found.</para>
<para>For example, you have the following code:</para>
<programlisting role="XML"><![CDATA[...
@@ -279,7 +279,7 @@
</emphasis> generates a JavaScript function that might be used from any place of JavaScript
code on a page.</para>
- <para>There is an example of how to enlarge the picture smoothly on mouse over event and return
+ <para>There is an example of how to enlarge the picture smoothly on a mouse over event and return
back to the normal size on mouse out:</para>
<programlisting role="XML"><![CDATA[...
@@ -302,15 +302,15 @@
<para><emphasis role="bold">
<property><rich:jQuery></property>
</emphasis> adds styles and behavior to the DOM object dynamically. This means if you replace
- something on a page during an Ajax response, the applied artifacts will be overwritten. You
- are resistible to apply them again after the Ajax response is complete.</para>
+ something on a page during an Ajax response, the applied artifacts will be overwritten. But you
+ are allowed to apply them again after the Ajax response is complete.</para>
<para>Usually, it could be done with reRendering the <emphasis role="bold">
<property><rich:jQuery></property>
</emphasis> components in the same Ajax interaction with the components these queries are
applied to. Note, that queries with <emphasis>
<property>"timing"</property>
</emphasis> attribute set to <property>"onload"</property> are not
- invoked even the query is reRendered, because a DOM document is not fully reloaded during
+ invoked even if the query is reRendered, because a DOM document is not fully reloaded during
the Ajax interaction. If you need to re-applies query with
<property>"onload"</property> value of <emphasis>
<property>"timing"</property>
@@ -324,14 +324,14 @@
without defining the <emphasis role="bold">
<property><rich:jQuery></property>
</emphasis> component on a page if it is convenient for you. To start using the jQuery feature
- on the page, include the library to the page with the following code:</para>
+ on the page, include the library into a page with the following code:</para>
<programlisting role="XML"><![CDATA[...
<a4j:loadScript src="resource://jquery.js"/>
...]]></programlisting>
<para>Refer to the <ulink url="http://docs.jquery.com/">jQuery documentation </ulink> for the
- right sintax. Remember to use jQuery() function instead of $(), as soon as jQuery works
+ right syntax. Remember to use jQuery() function instead of $(), as soon as jQuery works
without conflicts with prototype.js.</para>
</section>
16 years, 12 months
JBoss Rich Faces SVN: r5418 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-16 09:05:51 -0500 (Wed, 16 Jan 2008)
New Revision: 5418
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
Log:
add color font for inactive state
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-16 14:01:17 UTC (rev 5417)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-01-16 14:05:51 UTC (rev 5418)
@@ -235,7 +235,7 @@
<u:selector name=".rich-combobox-font-inactive">
<u:style name="font-size" skin="generalSizeFont"/>
<u:style name="font-family" skin="generalFamilyFont"/>
- <u:style name="color" skin="generalTextColor"/>
+ <u:style name="color" skin="tableBorderColor"/>
</u:selector>
<u:selector name=".rich-combobox-input">
16 years, 12 months
JBoss Rich Faces SVN: r5417 - trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-01-16 09:01:17 -0500 (Wed, 16 Jan 2008)
New Revision: 5417
Modified:
trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js
Log:
RF-1742 fix js error
Modified: trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js
===================================================================
--- trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js 2008-01-16 13:56:34 UTC (rev 5416)
+++ trunk/ui/dataTable/src/main/resources/org/richfaces/renderkit/html/scripts/data-table.js 2008-01-16 14:01:17 UTC (rev 5417)
@@ -31,11 +31,13 @@
byTable.columns[columnId] = byExpression;
}
}
- var byId = byExpression[controlId];
- if (byId) {
- //TODO: delete controls already registered??
- } else {
- byExpression[controlId] = control;
+ if(byExpression) {
+ var byId = byExpression[controlId];
+ if (byId) {
+ //TODO: delete controls already registered??
+ } else {
+ byExpression[controlId] = control;
+ }
}
},
16 years, 12 months
JBoss Rich Faces SVN: r5416 - trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-01-16 08:56:34 -0500 (Wed, 16 Jan 2008)
New Revision: 5416
Modified:
trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp
Log:
Refactoring
Modified: trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp 2008-01-16 13:56:31 UTC (rev 5415)
+++ trunk/sandbox/samples/progressBarDemo/src/main/webapp/pages/index.jsp 2008-01-16 13:56:34 UTC (rev 5416)
@@ -36,13 +36,15 @@
permanent="#{bean.permanent}"
determined="#{bean.determined}"
reRenderAfterComplete="per2"
- mode="#{bean.modeString}">
+ mode="#{bean.modeString}"
+ progressVar="percent">
<f:facet name="initial">
<h:outputText value="Process not started"></h:outputText>
</f:facet>
- <f:facet name="completed">
+ <f:facet name="complete">
<h:outputText value="Process completed"></h:outputText>
</f:facet>
+ <h:outputText value="#{percent}%"></h:outputText>
</progressBar:progressBar>
<br clear="all"/>
<table><tr>
@@ -73,7 +75,7 @@
<f:verbatim><br /></f:verbatim>
</h:form>
<script>
- var pr = new ProgressBar('j_id_jsp_2009877409_1:progrs');
+ var pr = new ProgressBar('j_id_jsp_2009877409_4:progrs');
</script>
<input type="button" value="Get Progress" onclick="alert(pr.getProgress());" /><br/><br/>
<input type="text" value="" id="percent"/>
16 years, 12 months
JBoss Rich Faces SVN: r5415 - trunk/sandbox/ui/progressBAR/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-01-16 08:56:31 -0500 (Wed, 16 Jan 2008)
New Revision: 5415
Modified:
trunk/sandbox/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
Log:
Refactoring
Modified: trunk/sandbox/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
===================================================================
--- trunk/sandbox/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-01-16 13:50:02 UTC (rev 5414)
+++ trunk/sandbox/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-01-16 13:56:31 UTC (rev 5415)
@@ -131,24 +131,32 @@
/**
* Sets up the progressVar page attribute
- * @param context - facesContext
- * @param component - component instance
- * @param value - percent value
+ *
+ * @param context -
+ * facesContext
+ * @param component -
+ * component instance
+ * @param value -
+ * percent value
*/
public void setProgressVar(FacesContext context, UIComponent component,
- Object value) {
- Number persent = getNumber(value);
+ Number persent) {
String progresssVar = (String) component.getAttributes().get(
"progressVar");
- Map attrs = context.getExternalContext().getRequestMap();
- attrs.put(progresssVar, persent);
+ if (progresssVar != null) {
+ Map attrs = context.getExternalContext().getRequestMap();
+ attrs.put(progresssVar, persent);
+ }
}
/**
* Encodes progress state of component
- * @param context - faces context
- * @param component - component instance
- * @throws IOException
+ *
+ * @param context -
+ * faces context
+ * @param component -
+ * component instance
+ * @throws IOException
*/
public void encodeProgressState(FacesContext context, UIComponent component)
throws IOException {
@@ -213,9 +221,10 @@
writer.endElement("div");
}
}
-
- private void encodeChildrenComponents (FacesContext context, UIComponent component) {
-
+
+ private void encodeChildrenComponents(FacesContext context,
+ UIComponent component) {
+
}
/**
@@ -266,8 +275,10 @@
}
/**
- * Converts value attr to number value
- * @param v - value attr
+ * Converts value attr to number value
+ *
+ * @param v -
+ * value attr
* @return result
*/
public Number getNumber(Object v) {
@@ -315,10 +326,10 @@
poll.setSubmitted(submitted);
return submitted;
}
-
-
- /* (non-Javadoc)
+ /*
+ * (non-Javadoc)
+ *
* @see javax.faces.render.Renderer#getRendersChildren()
*/
@Override
@@ -326,12 +337,15 @@
return true;
}
- /* (non-Javadoc)
- * @see org.ajax4jsf.renderkit.AjaxCommandRendererBase#encodeChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.ajax4jsf.renderkit.AjaxCommandRendererBase#encodeChildren(javax.faces.context.FacesContext,
+ * javax.faces.component.UIComponent)
*/
@Override
public void encodeChildren(FacesContext context, UIComponent component)
throws IOException {
- return; // We don't need to render children !
+ return; // We don't need to render children !
}
}
16 years, 12 months