> From: Jon Stevens [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 14, 2000 3:20 PM
> 
> Anyway, I added the changes to CVS. In the future, you should 
> also send patches instead of just talking about it.

Ok, since you posted this a few days ago, and I still
don't see any changes in the CVS version I just checked
out, it seems like you either haven't gotten around
implementing this change, or forgot to commit it. Anyway,
here is a patch and a reminder... (I don't have commit
privileges for ECS).


> -jon

Thanks,


-- 
Gonzalo A. Diethelm
[EMAIL PROTECTED]


Index: src/java/org/apache/ecs/html/Select.java
===================================================================
RCS file:
/products/cvs/master/ecs/src/java/org/apache/ecs/html/Select.java,v
retrieving revision 1.3
diff -u -r1.3 Select.java
--- src/java/org/apache/ecs/html/Select.java    1999/10/08 01:38:04     1.3
+++ src/java/org/apache/ecs/html/Select.java    2000/11/17 23:34:17
@@ -61,7 +61,7 @@
     @author <a href="mailto:[EMAIL PROTECTED]">Stephan Nagy</a>
     @author <a href="mailto:[EMAIL PROTECTED]">Jon S. Stevens</a>
 */
-public class Select extends MultiPartElement implements Printable,
PageEvents, FormEvents, MouseEvents, KeyEvents
+public class Select extends MultiPartElement implements Printable,
PageEvents, FormEvents, MouseEvents, KeyEvents, FocusEvents
 {
     /**
         Private initializer
@@ -453,5 +453,27 @@
     public void setOnKeyUp(String script)
     {
         addAttribute ( "onKeyUp", script );
+    }
+
+    /**
+        The onFocus event occurs when a element is focussed. This
+        attribute may be used with most elements.
+
+        @param The script
+    */
+    public void setOnFocus(String script)
+    {
+        addAttribute ( "onFocus", script );
+    }
+
+    /**
+        The onBlur event occurs when a element is blurred. This
+        attribute may be used with most elements.
+
+        @param The script
+    */
+    public void setOnBlur(String script)
+    {
+        addAttribute ( "onBlur", script );
     }
 } 


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to