Changeset 3909
- Timestamp:
- Oct 21, 2010, 2:18:32 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/file/SaveFile.java
r3475 r3909 37 37 import org.proteios.core.FileType; 38 38 import org.proteios.core.ItemFactory; 39 import org.proteios.gui.form.FileField; 39 40 import org.proteios.gui.form.FormFactory; 40 41 import se.lu.thep.waf.ActionException; … … 96 97 if (!item.isFormField()) 97 98 { 99 if (item.getName() == null || item.getName().equals("")) 100 { 101 setError("Please select a file to upload"); 102 return; 103 } 98 104 if (parentDirId == null) 99 105 throw new ActionException("No active directory");
Note: See TracChangeset
for help on using the changeset viewer.