Author: sergeyhalipov
Date: 2008-04-11 07:48:28 -0400 (Fri, 11 Apr 2008)
New Revision: 7762
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
Log:
Fixed compilation problem.
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
===================================================================
---
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java 2008-04-11
11:47:11 UTC (rev 7761)
+++
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java 2008-04-11
11:48:28 UTC (rev 7762)
@@ -34,7 +34,7 @@
public void paint(OutputStream stream, Object object) throws IOException {
stream.write(getFiles().get((Integer)object).getData());
}
- public void listener(UploadEvent event) throws IOException{
+ public void listener(UploadEvent event) throws Exception{
UploadItem item = event.getUploadItem();
File file = new File();
file.setLength(item.getData().length);
Show replies by date