You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sv...@apache.org on 2005/03/18 16:38:15 UTC
cvs commit: incubator-myfaces/src/components/org/apache/myfaces/custom/htmlEditor HtmlEditorTag.java
svieujot 2005/03/18 07:38:15
Modified: src/components/org/apache/myfaces/custom/htmlEditor
HtmlEditorTag.java
Log:
Bugfix for weblogic.
Revision Changes Path
1.15 +36 -1 incubator-myfaces/src/components/org/apache/myfaces/custom/htmlEditor/HtmlEditorTag.java
Index: HtmlEditorTag.java
===================================================================
RCS file: /home/cvs/incubator-myfaces/src/components/org/apache/myfaces/custom/htmlEditor/HtmlEditorTag.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- HtmlEditorTag.java 15 Mar 2005 05:24:03 -0000 1.14
+++ HtmlEditorTag.java 18 Mar 2005 15:38:15 -0000 1.15
@@ -18,12 +18,16 @@
import javax.faces.component.UIComponent;
import org.apache.myfaces.component.UserRoleAware;
+import org.apache.myfaces.renderkit.JSFAttr;
import org.apache.myfaces.taglib.UIComponentTagBase;
/**
* @author Sylvain Vieujot (latest modification by $Author$)
* @version $Revision$ $Date$
* $Log$
+ * Revision 1.15 2005/03/18 15:38:15 svieujot
+ * Bugfix for weblogic.
+ *
* Revision 1.14 2005/03/15 05:24:03 svieujot
* Add a fallback textarea mode to the htmlEditor.
*
@@ -87,6 +91,11 @@
private String enabledOnUserRole;
private String visibleOnUserRole;
+
+ private String immediate;
+ private String required;
+ private String validator;
+ private String valueChangeListener;
public void release() {
super.release();
@@ -105,6 +114,11 @@
showDebugToolBox=null;
enabledOnUserRole=null;
visibleOnUserRole=null;
+
+ immediate=null;
+ required=null;
+ validator=null;
+ valueChangeListener=null;
}
protected void setProperties(UIComponent component) {
@@ -129,6 +143,11 @@
setStringProperty(component, UserRoleAware.ENABLED_ON_USER_ROLE_ATTR, enabledOnUserRole);
setStringProperty(component, UserRoleAware.VISIBLE_ON_USER_ROLE_ATTR, visibleOnUserRole);
+
+ setBooleanProperty(component, JSFAttr.IMMEDIATE_ATTR, immediate);
+ setBooleanProperty(component, JSFAttr.REQUIRED_ATTR, required);
+ setValidatorProperty(component, validator);
+ setValueChangedListenerProperty(component, valueChangeListener);
}
public String getComponentType() {
@@ -198,4 +217,20 @@
public void setVisibleOnUserRole(String visibleOnUserRole){
this.visibleOnUserRole = visibleOnUserRole;
}
+
+ public void setImmediate(String immediate){
+ this.immediate = immediate;
+ }
+
+ public void setRequired(String required){
+ this.required = required;
+ }
+
+ public void setValidator(String validator){
+ this.validator = validator;
+ }
+
+ public void setValueChangeListener(String valueChangeListener){
+ this.valueChangeListener = valueChangeListener;
+ }
}
\ No newline at end of file