Author: vmolotkov
Date: 2008-03-03 14:43:23 -0500 (Mon, 03 Mar 2008)
New Revision: 6510
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
new mark up
Modified:
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss
===================================================================
---
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss 2008-03-03
19:43:15 UTC (rev 6509)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss 2008-03-03
19:43:23 UTC (rev 6510)
@@ -11,6 +11,19 @@
/* fieldset{padding : 30px; border : 1px solid #c0c0c0;} */
/* legend{font-weight : bold} */
+.insel_arrow{
+ background : #FEFFDA/*editBackgroundColor*/;
+ padding : 0px 0px 0px 0px; border : 0px;
+ margin : 0px;
+ width : 12px;
+ position : absolute;
+ top:1px;
+ left : 88px;
+ /*background-image:url(images/mark_list.gif);*/
+ background-position : center right;
+ background-repeat : no-repeat;
+}
+
.rich-inplace {
}
@@ -153,6 +166,12 @@
</u:style>
</u:selector>
+ <u:selector name=".insel_arrow">
+ <u:style name="background-image">
+ <f:resource
f:key="org.richfaces.renderkit.html.images.SpinnerButtonDown"/>
+ </u:style>
+ </u:selector>
+
<u:selector name=".rich-inplace-select-view">
<u:style name="background-color"
skin="editorBackgroundColor"/>
<u:style name="border-bottom-color" skin="generaTextColor"/>
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-03-03
19:43:15 UTC (rev 6509)
+++
trunk/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-03-03
19:43:23 UTC (rev 6510)
@@ -113,14 +113,14 @@
},
deleteViewArtifacts : function () {
- var text = this.inplaceInput.childNodes[6];
+ var text = this.inplaceInput.childNodes[7];
if (text) {
this.inplaceInput.removeChild(text);
}
},
getCurrentText : function() {
- return this.inplaceInput.childNodes[6];
+ return this.inplaceInput.childNodes[7];
},
setStrutWidth : function() {}
Modified: trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-03-03 19:43:15 UTC
(rev 6509)
+++ trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-03-03 19:43:23 UTC
(rev 6510)
@@ -74,6 +74,7 @@
tabindex='#{component.attributes["tabindex"]}'
readonly="readonly"
class="rich-inplace-select-field"/>
+ <input readonly="readonly" type="Text" value=""
class="insel_arrow"/>
<input id='#{clientId}inplaceValue' name='#{clientId}inplaceValue'
type='hidden' value='#{fieldValue}'/>
<div id="#{clientId}bar" class="rich-inplace-select-control-set"
style="display:none;">
<jsp:scriptlet>
Show replies by date