Author: abelevich
Date: 2009-04-10 06:58:54 -0400 (Fri, 10 Apr 2009)
New Revision: 13486
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/ui/ImageLoader.java
Log:
fix image load
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/ui/ImageLoader.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/ui/ImageLoader.java 2009-04-10
10:44:03 UTC (rev 13485)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/ui/ImageLoader.java 2009-04-10
10:58:54 UTC (rev 13486)
@@ -47,7 +47,7 @@
if (null == data) {
return;
}
- File imageResource = fileManager.getFileByAbsolutePath(data.toString());
+ File imageResource = fileManager.getFileByPath(data.toString());
paintImageToBrowser(out, imageResource);
}
@@ -55,7 +55,7 @@
if (null == data) {
return;
}
- File imageResource = fileManager.getFileByPath(data.toString());
+ File imageResource = fileManager.getFileByAbsolutePath(data.toString());
paintImageToBrowser(out, imageResource);
}
Show replies by date