[jboss-cvs] jboss-seam/src/ui/org/jboss/seam/ui/tag ...

Shane Bryzak Shane_Bryzak at symantec.com
Tue Jan 23 00:19:54 EST 2007


  User: sbryzak2
  Date: 07/01/23 00:19:54

  Modified:    src/ui/org/jboss/seam/ui/tag  FileUploadTag.java
  Log:
  separate value bindings for data, content type and filename
  
  Revision  Changes    Path
  1.2       +34 -0     jboss-seam/src/ui/org/jboss/seam/ui/tag/FileUploadTag.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FileUploadTag.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/ui/org/jboss/seam/ui/tag/FileUploadTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- FileUploadTag.java	22 Jan 2007 16:19:19 -0000	1.1
  +++ FileUploadTag.java	23 Jan 2007 05:19:54 -0000	1.2
  @@ -11,6 +11,10 @@
    */
   public class FileUploadTag extends UIComponentTagBase
   { 
  +   private String data;
  +   private String contentType;
  +   private String fileName;
  +   
      @Override
      public String getComponentType()
      {
  @@ -28,4 +32,34 @@
      {
          super.setProperties(component);
      }
  +   
  +   public String getData()
  +   {
  +      return data;
  +   }
  +   
  +   public void setData(String data)
  +   {
  +      this.data = data;
  +   }
  +   
  +   public String getContentType()
  +   {
  +      return contentType;
  +   }
  +   
  +   public void setContentType(String contentType)
  +   {
  +      this.contentType = contentType;
  +   }
  +   
  +   public String getFileName()
  +   {
  +      return fileName;
  +   }
  +   
  +   public void setFileName(String fileName)
  +   {
  +      this.fileName = fileName;
  +   }
   }
  
  
  



More information about the jboss-cvs-commits mailing list