Author: andrei_exadel
Date: 2009-03-27 11:11:08 -0400 (Fri, 27 Mar 2009)
New Revision: 13263
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Controller.java
trunk/test-applications/realworld2/web/src/main/webapp/includes/contextMenu/CMForAlbum.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/index/tree.xhtml
Log:
Fix context menu for tree
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Controller.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Controller.java 2009-03-27
14:52:47 UTC (rev 13262)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Controller.java 2009-03-27
15:11:08 UTC (rev 13263)
@@ -132,6 +132,7 @@
pushEvent(Constants.ADD_ERROR_EVENT, new Exception(HAVENT_ACCESS));
return;
}
+ model.setSelectedAlbum(album);
model.setMainArea(NavigationEnum.ALBUM_EDIT);
}
@@ -143,6 +144,11 @@
model.setMainArea(NavigationEnum.FILE_UPLOAD);
}
+ public void showFileUpload(Album album){
+ model.setSelectedAlbum(album);
+ model.setMainArea(NavigationEnum.FILE_UPLOAD);
+ }
+
public void showSharedAlbums(User user){
model.resetModel(NavigationEnum.USER_SHARED_ALBUMS, user, null, null, null);
}
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/contextMenu/CMForAlbum.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/includes/index/tree.xhtml
===================================================================
(Binary files differ)
Show replies by date