JBoss Rich Faces SVN: r6297 - trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:30:18 -0500 (Fri, 22 Feb 2008)
New Revision: 6297
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss
Log:
Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss 2008-02-22 14:27:14 UTC (rev 6296)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/css/inplaceselect.xcss 2008-02-22 14:30:18 UTC (rev 6297)
@@ -33,7 +33,7 @@
}
.rich-inplace-select-field {
- background : #FBFF8E/*editBackgroundColor*/;
+ background : #FEFFDA/*editBackgroundColor*/;
padding : 0px 0px 0px 0px;
border : 0px;
margin : 0px;
@@ -103,8 +103,9 @@
}
.rich-inplace-select-list-decoration{
- border : 1px solid #c0c0c0 /*panelBorderColor*/;
- padding : 0px; background : #FFFFFF; /*tableBackgroundColor*/
+ border : 1px outset #c0c0c0 /*panelBorderColor*/;
+ padding : 0px;
+ background-color : #FEFFDA; /*tableBackgroundColor*/
}
16 years, 11 months
JBoss Rich Faces SVN: r6296 - trunk/ui/combobox.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:27:14 -0500 (Fri, 22 Feb 2008)
New Revision: 6296
Modified:
trunk/ui/combobox/pom.xml
Log:
Modified: trunk/ui/combobox/pom.xml
===================================================================
--- trunk/ui/combobox/pom.xml 2008-02-22 14:26:47 UTC (rev 6295)
+++ trunk/ui/combobox/pom.xml 2008-02-22 14:27:14 UTC (rev 6296)
@@ -22,6 +22,13 @@
<goal>generate</goal>
</goals>
</execution>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>generate-tests</goal>
+ </goals>
+ </execution>
</executions>
<configuration>
<library>
16 years, 11 months
JBoss Rich Faces SVN: r6295 - trunk/sandbox/ui/inplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:26:47 -0500 (Fri, 22 Feb 2008)
New Revision: 6295
Modified:
trunk/sandbox/ui/inplaceInput/pom.xml
Log:
Modified: trunk/sandbox/ui/inplaceInput/pom.xml
===================================================================
--- trunk/sandbox/ui/inplaceInput/pom.xml 2008-02-22 14:26:32 UTC (rev 6294)
+++ trunk/sandbox/ui/inplaceInput/pom.xml 2008-02-22 14:26:47 UTC (rev 6295)
@@ -22,6 +22,13 @@
<goal>generate</goal>
</goals>
</execution>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>generate-tests</goal>
+ </goals>
+ </execution>
</executions>
<configuration>
<library>
16 years, 11 months
JBoss Rich Faces SVN: r6294 - trunk/sandbox/ui/inplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:26:32 -0500 (Fri, 22 Feb 2008)
New Revision: 6294
Modified:
trunk/sandbox/ui/inplaceSelect/pom.xml
Log:
Modified: trunk/sandbox/ui/inplaceSelect/pom.xml
===================================================================
--- trunk/sandbox/ui/inplaceSelect/pom.xml 2008-02-22 14:15:24 UTC (rev 6293)
+++ trunk/sandbox/ui/inplaceSelect/pom.xml 2008-02-22 14:26:32 UTC (rev 6294)
@@ -22,6 +22,13 @@
<goal>generate</goal>
</goals>
</execution>
+ <execution>
+ <id>generate-test-sources</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>generate-tests</goal>
+ </goals>
+ </execution>
</executions>
<configuration>
<library>
16 years, 11 months
JBoss Rich Faces SVN: r6293 - trunk/sandbox/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-02-22 09:15:24 -0500 (Fri, 22 Feb 2008)
New Revision: 6293
Modified:
trunk/sandbox/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
client side event firing
Modified: trunk/sandbox/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/sandbox/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-02-22 14:05:20 UTC (rev 6292)
+++ trunk/sandbox/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-02-22 14:15:24 UTC (rev 6293)
@@ -491,7 +491,15 @@
},
upload: function() {
- if (this.disabled) return;
+ if (this.disabled) return;
+
+ if(this.events.onupload) {
+ if(this.events.onupload() === false) {
+ //the action is cancelled
+ return;
+ }
+ }
+
this.runUpload = true;
if (!this.activeEntry) {
@@ -683,6 +691,9 @@
//has been requested to stop by user
this.setupAutoUpload();
Element.hide(this._progressBar);
+ if(this.events.onuploadcomplete) {
+ this.element.fire("rich:onuploadcomplete", {});
+ }
}
this._updateEntriesState();
@@ -698,6 +709,16 @@
this._updateEntriesState();
+ if(newState == FileUploadEntry.UPLOAD_CANCELED) {
+ if(this.events.onuploadcanceled) {
+ this.element.fire("rich:onuploadcanceled", {});
+ }
+ } else {
+ if(this.events.onerror) {
+ this.element.fire("rich:onerror", {});
+ }
+ }
+
} else if (newState == FileUploadEntry.UPLOAD_IN_PROGRESS) {
this.activeEntry = entry;
16 years, 11 months
JBoss Rich Faces SVN: r6292 - in trunk/sandbox/samples/inplaceSelect-sample/src/main: webapp/pages and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:05:20 -0500 (Fri, 22 Feb 2008)
New Revision: 6292
Modified:
trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml
Log:
extend demo
Modified: trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java 2008-02-22 14:04:49 UTC (rev 6291)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/java/org/richfaces/Bean.java 2008-02-22 14:05:20 UTC (rev 6292)
@@ -21,9 +21,141 @@
package org.richfaces;
/**
- * @author $Autor$
- *
+ * @author Anton Belevich
*/
public class Bean {
+ private String editEvent = "click";
+
+ private String maxSelectWidth;
+
+ private String minSelectWidth;
+
+ private String selectWidth;
+
+ private String defaultLabel;
+
+ private String controlsPosition = "center";
+
+ private String controlsHorizontalAlign = "right";
+
+ private Object value = "New York";
+
+ private String listWidth = "200px";
+
+ private String listHeight = "200px";
+
+ private boolean selectOnEdit;
+
+ private boolean showControls;
+
+ private boolean applyFromControlsOnly;
+
+
+
+ public String getEditEvent() {
+ return editEvent;
+ }
+
+ public void setEditEvent(String editEvent) {
+ this.editEvent = editEvent;
+ }
+
+ public String getMaxSelectWidth() {
+ return maxSelectWidth;
+ }
+
+ public void setMaxSelectWidth(String maxSelectWidth) {
+ this.maxSelectWidth = maxSelectWidth;
+ }
+
+ public String getMinSelectWidth() {
+ return minSelectWidth;
+ }
+
+ public void setMinSelectWidth(String minSelectWidth) {
+ this.minSelectWidth = minSelectWidth;
+ }
+
+ public String getSelectWidth() {
+ return selectWidth;
+ }
+
+ public void setSelectWidth(String selectWidth) {
+ this.selectWidth = selectWidth;
+ }
+
+ public String getDefaultLabel() {
+ return defaultLabel;
+ }
+
+ public void setDefaultLabel(String defaultLabel) {
+ this.defaultLabel = defaultLabel;
+ }
+
+ public boolean isShowControls() {
+ return showControls;
+ }
+
+ public void setShowControls(boolean showControls) {
+ this.showControls = showControls;
+ }
+
+ public String getControlsPosition() {
+ return controlsPosition;
+ }
+
+ public void setControlsPosition(String controlsPosition) {
+ this.controlsPosition = controlsPosition;
+ }
+
+ public String getControlsHorizontalAlign() {
+ return controlsHorizontalAlign;
+ }
+
+ public void setControlsHorizontalAlign(String controlsHorizontalAlign) {
+ this.controlsHorizontalAlign = controlsHorizontalAlign;
+ }
+
+ public boolean getApplyFromControlsOnly() {
+ return applyFromControlsOnly;
+ }
+
+ public void setApplyFromControlsOnly(boolean applyFromControlsOnly) {
+ this.applyFromControlsOnly = applyFromControlsOnly;
+ }
+
+ public boolean isSelectOnEdit() {
+ return selectOnEdit;
+ }
+
+ public void setSelectOnEdit(boolean selectOnEdit) {
+ this.selectOnEdit = selectOnEdit;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public void setValue(Object value) {
+ this.value = value;
+ }
+
+ public String getListWidth() {
+ return listWidth;
+ }
+
+ public void setListWidth(String listWidth) {
+ this.listWidth = listWidth;
+ }
+
+ public String getListHeight() {
+ return listHeight;
+ }
+
+ public void setListHeight(String listHeight) {
+ this.listHeight = listHeight;
+ }
+
+
}
\ No newline at end of file
Modified: trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp 2008-02-22 14:04:49 UTC (rev 6291)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.jsp 2008-02-22 14:05:20 UTC (rev 6292)
@@ -13,9 +13,67 @@
<h:outputText value="Current skin: #{skinBean.skin}"/><br />
</h:form>
<h:form>
- <div style="width: 300px">
+ <h:panelGrid columns="2">
+ <h:outputText value="editEvent is: "></h:outputText>
+ <h:inputText value="#{bean.editEvent}"></h:inputText>
+
+ <h:outputText value="maxSelectWidth is: "></h:outputText>
+ <h:inputText value="#{bean.maxSelectWidth}"></h:inputText>
+
+ <h:outputText value="minSelectWidth is: "></h:outputText>
+ <h:inputText value="#{bean.minSelectWidth}"></h:inputText>
+
+ <h:outputText value="selectWidth is: "></h:outputText>
+ <h:inputText value="#{bean.selectWidth}"></h:inputText>
+
+ <h:outputText value="defaultLabel is: "></h:outputText>
+ <h:inputText value="#{bean.defaultLabel}"></h:inputText>
+
+ <h:outputText value="controlsPosition is: "></h:outputText>
+ <h:inputText value="#{bean.controlsPosition}"></h:inputText>
+
+ <h:outputText value="controlsHorizontalAlign is: "></h:outputText>
+ <h:inputText value="#{bean.controlsHorizontalAlign}"></h:inputText>
+
+ <h:outputText value="value is: "></h:outputText>
+ <h:inputText value="#{bean.value}"></h:inputText>
+
+ <h:outputText value="listWidth is: "></h:outputText>
+ <h:inputText value="#{bean.listWidth}"></h:inputText>
+
+ <h:outputText value="listHeight is: "></h:outputText>
+ <h:inputText value="#{bean.listHeight}"></h:inputText>
+
+ <h:outputText value="selectOnEdit (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.selectOnEdit}" />
+
+ <h:outputText value="showControls (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.showControls}" />
+
+ <h:outputText value="applyFromControlsOnly (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.applyFromControlsOnly}" />
+
+
+ </h:panelGrid>
+
+ <div style="width: 300px">
Fresh off his victory in the Florida primary, Sen. John McCain is poised to take another big prize. Former
- <is:inplaceSelect showControls="true" value="New York">
+ <is:inplaceSelect
+ editEvent="#{bean.editEvent}"
+ maxSelectWidth="#{bean.maxSelectWidth}"
+ minSelectWidth="#{bean.minSelectWidth}"
+ selectWidth="#{bean.selectWidth}"
+ defaultLabel="#{bean.defaultLabel}"
+ controlsPosition="#{bean.controlsPosition}"
+ controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
+ value="#{bean.value}"
+ listWidth="#{bean.listWidth}"
+ listHeight="#{bean.listHeight}"
+ selectOnEdit="#{bean.selectOnEdit}"
+ showControls="#{bean.showControls}"
+ applyFromControlsOnly="#{bean.applyFromControlsOnly}"
+
+ >
<f:selectItem itemLabel="option 1" itemValue="Kansas City"/>
<f:selectItem itemLabel="option 2" itemValue="Las Vegas"/>
<f:selectItem itemLabel="option 3" itemValue="Oklahoma City"/>
@@ -28,6 +86,9 @@
</is:inplaceSelect>
Mayor Rudy Giuliani plans to drop out and endorse McCain, two GOP sources said. That would give McCain added momentum heading into a debate Wednesday and next week's Super Tuesday contests
</div>
+ <br/>
+ <h:outputText value="value is: #{bean.value}"></h:outputText>
+ <h:commandButton value="submit"></h:commandButton>
</h:form>
</f:view>
</body>
Modified: trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml 2008-02-22 14:04:49 UTC (rev 6291)
+++ trunk/sandbox/samples/inplaceSelect-sample/src/main/webapp/pages/index.xhtml 2008-02-22 14:05:20 UTC (rev 6292)
@@ -19,9 +19,67 @@
</h:form>
<h:form>
+ <h:panelGrid columns="2">
+ <h:outputText value="editEvent is: "></h:outputText>
+ <h:inputText value="#{bean.editEvent}"></h:inputText>
+
+ <h:outputText value="maxSelectWidth is: "></h:outputText>
+ <h:inputText value="#{bean.maxSelectWidth}"></h:inputText>
+
+ <h:outputText value="minSelectWidth is: "></h:outputText>
+ <h:inputText value="#{bean.minSelectWidth}"></h:inputText>
+
+ <h:outputText value="selectWidth is: "></h:outputText>
+ <h:inputText value="#{bean.selectWidth}"></h:inputText>
+
+ <h:outputText value="defaultLabel is: "></h:outputText>
+ <h:inputText value="#{bean.defaultLabel}"></h:inputText>
+
+ <h:outputText value="controlsPosition is: "></h:outputText>
+ <h:inputText value="#{bean.controlsPosition}"></h:inputText>
+
+ <h:outputText value="controlsHorizontalAlign is: "></h:outputText>
+ <h:inputText value="#{bean.controlsHorizontalAlign}"></h:inputText>
+
+ <h:outputText value="value is: "></h:outputText>
+ <h:inputText value="#{bean.value}"></h:inputText>
+
+ <h:outputText value="listWidth is: "></h:outputText>
+ <h:inputText value="#{bean.listWidth}"></h:inputText>
+
+ <h:outputText value="listHeight is: "></h:outputText>
+ <h:inputText value="#{bean.listHeight}"></h:inputText>
+
+ <h:outputText value="selectOnEdit (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.selectOnEdit}" />
+
+ <h:outputText value="showControls (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.showControls}" />
+
+ <h:outputText value="applyFromControlsOnly (default: false): " />
+ <h:selectBooleanCheckbox value="#{bean.applyFromControlsOnly}" />
+
+
+ </h:panelGrid>
+
<div style="width: 300px">
Fresh off his victory in the Florida primary, Sen. John McCain is poised to take another big prize. Former
- <is:inplaceSelect showControls="true" value="New York">
+ <is:inplaceSelect
+ editEvent="#{bean.editEvent}"
+ maxSelectWidth="#{bean.maxSelectWidth}"
+ minSelectWidth="#{bean.minSelectWidth}"
+ selectWidth="#{bean.selectWidth}"
+ defaultLabel="#{bean.defaultLabel}"
+ controlsPosition="#{bean.controlsPosition}"
+ controlsHorizontalAlign="#{bean.controlsHorizontalAlign}"
+ value="#{bean.value}"
+ listWidth="#{bean.listWidth}"
+ listHeight="#{bean.listHeight}"
+ selectOnEdit="#{bean.selectOnEdit}"
+ showControls="#{bean.showControls}"
+ applyFromControlsOnly="#{bean.applyFromControlsOnly}"
+
+ >
<f:selectItem itemLabel="option 1" itemValue="Kansas City"/>
<f:selectItem itemLabel="option 2" itemValue="Las Vegas"/>
<f:selectItem itemLabel="option 3" itemValue="Oklahoma City"/>
@@ -33,8 +91,12 @@
<f:selectItem itemLabel="option 9" itemValue="New York"/>
</is:inplaceSelect>
Mayor Rudy Giuliani plans to drop out and endorse McCain, two GOP sources said. That would give McCain added momentum heading into a debate Wednesday and next week's Super Tuesday contests
- </div>
+ </div>
+ <br/>
+ <h:outputText value="value is: #{bean.value}"></h:outputText>
+ <h:commandButton value="submit"></h:commandButton>
</h:form>
+
</f:view>
</body>
16 years, 11 months
JBoss Rich Faces SVN: r6291 - trunk/sandbox/ui/inplaceSelect.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:04:49 -0500 (Fri, 22 Feb 2008)
New Revision: 6291
Modified:
trunk/sandbox/ui/inplaceSelect/pom.xml
Log:
Modified: trunk/sandbox/ui/inplaceSelect/pom.xml
===================================================================
--- trunk/sandbox/ui/inplaceSelect/pom.xml 2008-02-22 14:04:30 UTC (rev 6290)
+++ trunk/sandbox/ui/inplaceSelect/pom.xml 2008-02-22 14:04:49 UTC (rev 6291)
@@ -56,6 +56,11 @@
<artifactId>combobox</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.sandbox.ui</groupId>
+ <artifactId>inplaceInput</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
16 years, 11 months
JBoss Rich Faces SVN: r6290 - trunk/sandbox/ui/inplaceSelect/src/main/templates.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:04:30 -0500 (Fri, 22 Feb 2008)
New Revision: 6290
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
name="#{clientId}inplaceValue", add inplaceInput to the pom file
Modified: trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-22 14:03:35 UTC (rev 6289)
+++ trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-22 14:04:30 UTC (rev 6290)
@@ -73,7 +73,7 @@
maxlength='#{component.attributes["inputMaxLength"]}'
tabindex='#{component.attributes["tabindex"]}'
class="rich-inplace-select-field"/>
- <input id='#{clientId}inplaceValue' name='#{clientId}value' type='hidden' value='#{fieldValue}'/>
+ <input id='#{clientId}inplaceValue' name='#{clientId}inplaceValue' type='hidden' value='#{fieldValue}'/>
<div id="#{clientId}bar" class="rich-inplace-select-btn-set" style="display:none;">
<div class="rich-inplace-select-shadow">
<table cellpadding="0" cellspacing="0" border="0" class="rich-inplace-select-shadow-size">
16 years, 11 months
JBoss Rich Faces SVN: r6289 - in trunk/sandbox/ui/inplaceInput/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-22 09:03:35 -0500 (Fri, 22 Feb 2008)
New Revision: 6289
Modified:
trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
add input html events
Modified: trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-22 14:02:04 UTC (rev 6288)
+++ trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-22 14:03:35 UTC (rev 6289)
@@ -31,130 +31,230 @@
<property>
<name>value</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>inputMaxLength</name>
<classname>java.lang.Integer</classname>
+ <description></description>
<defaultvalue>255</defaultvalue>
</property>
<property>
<name>maxInputWidth</name>
<classname>java.lang.String</classname>
+ <description></description>
<defaultvalue><![CDATA["150px"]]></defaultvalue>
</property>
<property>
<name>minInputWidth </name>
<classname>java.lang.String</classname>
+ <description></description>
<defaultvalue><![CDATA["70px"]]></defaultvalue>
</property>
<property>
<name>inputWidth</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>defaultLabel</name>
<classname>java.lang.String</classname>
+ <description></description>
<defaultvalue><![CDATA["Click..."]]></defaultvalue>
</property>
<property>
<name>showControls</name>
<classname>boolean</classname>
+ <description></description>
<defaultvalue>false</defaultvalue>
</property>
<property>
<name>applyFromControlsOnly</name>
<classname>boolean</classname>
+ <description></description>
<defaultvalue>false</defaultvalue>
</property>
<property>
<name>editEvent</name>
<classname>java.lang.String</classname>
+ <description></description>
<defaultvalue><![CDATA["click"]]></defaultvalue>
</property>
<property>
<name>controlsPosition</name>
<classname>java.lang.String</classname>
+ <description></description>
<defaultvalue><![CDATA["center"]]></defaultvalue>
</property>
<property>
<name>controlsHorizontalAlign</name>
<classname>java.lang.String</classname>
+ <description></description>
<defaultvalue><![CDATA["right"]]></defaultvalue>
</property>
<property>
<name>oneditactivation</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>onviewactivation</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>oneditactivated</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>onviewactivated</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>selectOnEdit</name>
<classname>boolean</classname>
+ <description></description>
<defaultvalue>false</defaultvalue>
</property>
<property>
<name>tabindex</name>
<classname>int</classname>
+ <description></description>
</property>
<property>
<name>saveControlIcon</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>cancelControlIcon</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>viewClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>editClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>changedClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>controlClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>viewHoverClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>changedHoverClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>controlPressedClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
<property>
<name>controlHoverClass</name>
<classname>java.lang.String</classname>
+ <description></description>
</property>
+ <property>
+ <name>onchange</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ </property>
+
+ <property>
+ <name>onselect</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ </property>
+ <property>
+ <name>onfocus</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ </property>
+ <property>
+ <name>onblur</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ </property>
+ <property>
+ <name>oninputclick</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer button is clicked</description>
+
+ </property>
+ <property>
+ <name>oninputdblclick</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer button is double-clicked</description>
+ </property>
+ <property>
+ <name>oninputkeydown</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is pressed down</description>
+ </property>
+ <property>
+ <name>oninputkeypress</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is pressed and released</description>
+ </property>
+ <property>
+ <name>oninputkeyup</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a key is released</description>
+ </property>
+ <property>
+ <name>oninputmousedown</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: script expression; a pointer button is pressed down</description>
+ </property>
+ <property>
+ <name>oninputmousemove</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved within</description>
+ </property>
+ <property>
+ <name>oninputmouseout</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved away</description>
+ </property>
+ <property>
+ <name>oninputmouseover</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: a script expression; a pointer is moved onto</description>
+ </property>
+ <property>
+ <name>oninputmouseup</name>
+ <classname>java.lang.String</classname>
+ <description>HTML: script expression; a pointer button is released</description>
+ </property>
&html_events;
Modified: trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-22 14:02:04 UTC (rev 6288)
+++ trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-22 14:03:35 UTC (rev 6289)
@@ -70,7 +70,12 @@
maxlength='#{component.attributes["inputMaxLength"]}'
autocomplete="off"
value='#{fieldValue}'
- tabindex='#{component.attributes["tabindex"]}'/>
+ tabindex='#{component.attributes["tabindex"]}'
+ onchange='#{component.attributes["onchange"]}'
+ onselect='#{component.attributes["onselect"]}'
+ onblur='#{component.attributes["onblur"]}'
+ onfocus='#{component.attributes["onfocus"]}'
+ />
<input id='#{clientId}value' name='#{clientId}value' type='hidden' value='#{fieldValue}'/>
<div id="#{clientId}bar" class="is_btn_set" style="display:none;">
<jsp:scriptlet>
16 years, 11 months
JBoss Rich Faces SVN: r6288 - management/design/inplaceSelect/design.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2008-02-22 09:02:04 -0500 (Fri, 22 Feb 2008)
New Revision: 6288
Modified:
management/design/inplaceSelect/design/inplaceSelect.html
Log:
Modified: management/design/inplaceSelect/design/inplaceSelect.html
===================================================================
--- management/design/inplaceSelect/design/inplaceSelect.html 2008-02-22 13:58:59 UTC (rev 6287)
+++ management/design/inplaceSelect/design/inplaceSelect.html 2008-02-22 14:02:04 UTC (rev 6288)
@@ -14,7 +14,7 @@
.insel_changed_state{background-image:url(images/mark_changed.gif); background-position : top left; background-repeat : no-repeat;}
.insel_edit_state{position : relative; width : 100px;}
-.insel_field{background : #FBFF8E/*editBackgroundColor*/; padding : 0px 0px 0px 0px; border : 0px; margin : 0px; width : 112px; position : absolute; top:0px; left : 0px;background-image:url(images/mark_list.gif); background-position : center right; background-repeat : no-repeat;}
+.insel_field{background : #FEFFDA/*editBackgroundColor*/; padding : 0px 0px 0px 0px; border : 1px #BED6F8; /*panelBorderColor*/; margin : 0px; width : 112px; position : absolute; top:0px; left : 0px;background-image:url(images/mark_list.gif); background-position : center right; background-repeat : no-repeat;}
.insel_strut{width : 100px; height : 1px}
.insel_btn{
background : url(images/bg_btn.png) top repeat-x #C7D7EC; /*gradient - from generalBackgroundColor to tabBackgroundColor, background-color - tabBackgroundColor*/
@@ -28,7 +28,7 @@
margin : 0px;}
-.insel_btn_set{ position : absolute; top:0px; left : 112px; white-space : nowrap}
+.insel_btn_set{ position : absolute; top:0px; left : 114px; white-space : nowrap}
.insel_shadow{ top:0; left:0; position : absolute;}
.insel_shadow_size{ width : 34px; height : 16px;}
.insel_shadow_tl{ background : url(images/bg_shadow.png) repeat-x top left;}
@@ -38,7 +38,7 @@
.cb_list_cord{ position : relative; font-size : 0px;d!isplay : none}/*DDL is hidden!!!!!*/
.cb_list_scroll{ overflow : auto; height : 100px;}
.cb_list_position{ position : absolute; top:1px; left:0px;}
-.cb_list_decoration{border : 1px solid #c0c0c0 /*panelBorderColor*/; padding : 0px; background : #FFFFFF; /*tableBackgroundColor*/}
+.cb_list_decoration{border : 1px outset #BED6F8; /*panelBorderColor*/; padding : 0px; background : #FEFFDA; /*tableBackgroundColor*/}
.cb_width_list{ width : 250px;}
.cb_option{ padding : 2px; white-space : nowrap;}
.cb_font{ font-size : 11px/*generalSizeFont*/; font-family : arial/*generalFamilyFont*/; color : #000000/*generalTextColor*/}
16 years, 11 months