You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ha...@apache.org on 2009/01/29 20:29:15 UTC

svn commit: r738977 - /myfaces/commons/trunk/myfaces-commons-components/src/main/java/org/apache/myfaces/commons/exporter/ExporterActionListenerTag.java

Author: hazems
Date: Thu Jan 29 19:29:15 2009
New Revision: 738977

URL: http://svn.apache.org/viewvc?rev=738977&view=rev
Log:
Solving the https://issues.apache.org/jira/browse/MFCOMMONS-3

Modified:
    myfaces/commons/trunk/myfaces-commons-components/src/main/java/org/apache/myfaces/commons/exporter/ExporterActionListenerTag.java

Modified: myfaces/commons/trunk/myfaces-commons-components/src/main/java/org/apache/myfaces/commons/exporter/ExporterActionListenerTag.java
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-components/src/main/java/org/apache/myfaces/commons/exporter/ExporterActionListenerTag.java?rev=738977&r1=738976&r2=738977&view=diff
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-components/src/main/java/org/apache/myfaces/commons/exporter/ExporterActionListenerTag.java (original)
+++ myfaces/commons/trunk/myfaces-commons-components/src/main/java/org/apache/myfaces/commons/exporter/ExporterActionListenerTag.java Thu Jan 29 19:29:15 2009
@@ -53,6 +53,11 @@
         {
             throw new JspException("fileType attribute not set");
         }
+        
+        if (_fileName == null) 
+        {
+            throw new JspException("fileName attribute not set");
+        }        
 
         // find the parent UIComponentTag which should be an ActionSource.
         UIComponentTag componentTag = UIComponentTag
@@ -135,4 +140,6 @@
     public void setFor(String _for) {
         this._for = _for;
     }
+    
+    
 }