Output Text problem..
hey guys, I'm having a problem with my output text display. it keeps giving me the error
javax.faces.el.EvaluationException: Cannot get value for expression '#{messageController.statMessage!=null}'
i know i set and got it right, but I can't figure out why in won't continue..
<h:outputText styleClass="greenBoldText" rendered="#{messageController.statMessage!=null}" value="#{messageController.statMessage}"/>
here's my backing bean:
publicclass MessageController{
static Logger log= Logger.getLogger(MessageController.class);
private String statMessage;
public String getStatMessage(){
log.debug(statMessage);
ApplicationResources application = (ApplicationResources) FacesUtil.instance().getApplicationMapValue(FacesContext.getCurrentInstance(),"applicationRes");
statMessage = parseMessages(application.getMessageProps(),statMessage);
log.debug(statMessage);
return statMessage;
}
private String parseMessages(Properties propFile, String compareString){
String message =null;
message = propFile.getProperty(compareString);
return message;
}
publicvoid setStatMessage(String statMessage){
this.statMessage = statMessage;
log.debug(statMessage);
}
}
here's my faces config snippet:
<managed-bean>
<managed-bean-name>messageController</managed-bean-name>
<managed-bean-class>com.shipserv.webui.controllers.MessageController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
need all the help i can get.. thanks in advance!

