You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by gv...@apache.org on 2005/11/05 17:12:15 UTC

svn commit: r331007 - in /struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans: ActionListenerBean.java ConverterBean.java ValidatorBean.java ValueChangeListenerBean.java

Author: gvanmatre
Date: Sat Nov  5 08:12:04 2005
New Revision: 331007

URL: http://svn.apache.org/viewcvs?rev=331007&view=rev
Log:
Pulled the id property from the attributes collection for beans that don't describe a component. 

Modified:
    struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ActionListenerBean.java
    struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ConverterBean.java
    struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValidatorBean.java
    struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValueChangeListenerBean.java

Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ActionListenerBean.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ActionListenerBean.java?rev=331007&r1=331006&r2=331007&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ActionListenerBean.java (original)
+++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ActionListenerBean.java Sat Nov  5 08:12:04 2005
@@ -26,4 +26,26 @@
 
     private static final long serialVersionUID = 3256723996136716338L;
     
+    /**
+     * <p>Override the handling of the {@link ComponentBean}'s id property. 
+     * The <code>id</code> is not stored in the <code>attributes</code>
+     * collection.</p>
+     */
+    private String id = null;
+
+    /**
+     * <p>Returns the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public String getId() {
+        return id;
+    }
+    
+
+    /**
+     * <p>Sets the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public void setId(String id) {
+        this.id = id;
+    }
+    
 }

Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ConverterBean.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ConverterBean.java?rev=331007&r1=331006&r2=331007&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ConverterBean.java (original)
+++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ConverterBean.java Sat Nov  5 08:12:04 2005
@@ -25,5 +25,27 @@
 public class ConverterBean extends InnerComponentBean {
 
     private static final long serialVersionUID = 3258417218273621552L;
+   
+    /**
+     * <p>Override the handling of the {@link ComponentBean}'s id property. 
+     * The <code>id</code> is not stored in the <code>attributes</code>
+     * collection.</p>
+     */
+    private String id = null;
+
+    /**
+     * <p>Returns the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public String getId() {
+        return id;
+    }
+    
+
+    /**
+     * <p>Sets the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public void setId(String id) {
+        this.id = id;
+    }
     
 }

Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValidatorBean.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValidatorBean.java?rev=331007&r1=331006&r2=331007&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValidatorBean.java (original)
+++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValidatorBean.java Sat Nov  5 08:12:04 2005
@@ -25,5 +25,29 @@
 public class ValidatorBean extends InnerComponentBean {
 
     private static final long serialVersionUID = 4050763771565782322L;
+
+    /**
+     * <p>Override the handling of the {@link ComponentBean}'s id property. 
+     * The <code>id</code> is not stored in the <code>attributes</code>
+     * collection.</p>
+     */
+    private String id = null;
+
+    /**
+     * <p>Returns the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public String getId() {
+        return id;
+    }
+    
+
+    /**
+     * <p>Sets the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public void setId(String id) {
+        this.id = id;
+    }
+    
+    
     
 }

Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValueChangeListenerBean.java
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValueChangeListenerBean.java?rev=331007&r1=331006&r2=331007&view=diff
==============================================================================
--- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValueChangeListenerBean.java (original)
+++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/config/beans/ValueChangeListenerBean.java Sat Nov  5 08:12:04 2005
@@ -25,5 +25,28 @@
 public class ValueChangeListenerBean extends InnerComponentBean {
 
     private static final long serialVersionUID = 3256718472791536436L;
+   
+    
+    /**
+     * <p>Override the handling of the {@link ComponentBean}'s id property. 
+     * The <code>id</code> is not stored in the <code>attributes</code>
+     * collection.</p>
+     */
+    private String id = null;
+
+    /**
+     * <p>Returns the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public String getId() {
+        return id;
+    }
+    
+
+    /**
+     * <p>Sets the {@link ComponentBean}'s <code>id</code>.</p>
+     */
+    public void setId(String id) {
+        this.id = id;
+    }
     
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org