Author: amarkhel
Date: 2009-03-23 10:41:39 -0400 (Mon, 23 Mar 2009)
New Revision: 13106
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java
Log:
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java 2009-03-23
14:40:51 UTC (rev 13105)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/manager/Model.java 2009-03-23
14:41:39 UTC (rev 13106)
@@ -40,7 +40,7 @@
@Observer(Constants.UPDATE_MAIN_AREA_EVENT)
public void setMainArea(NavigationEnum mainArea) {
- if(this.mainArea.equals(NavigationEnum.FILE_UPLOAD)){
+ if(this.mainArea != null && this.mainArea.equals(NavigationEnum.FILE_UPLOAD)){
Events.instance().raiseEvent("clearFileUpload");
}
this.mainArea = mainArea;
Show replies by date