Hello
I have a question about the usage of an ApplicationState object.
Can I use the @ApplicationState only in the com.application.tapestry.components
and com.application.tapestry.pages packages?
Or is it also valid in for example com.application.tapestry.beans package?
Because I have an ConversationManagerImpl class the isConversationsExists()
always returns false.
When I call conversationManager.startConversation(..) it prints false.
package com.application.tapestry.beans
public class ConversationManagerImpl implements ConversationManager {
@ApplicationState(create=false)
private Conversations conversations;
private boolean conversationsExists;
public boolean isConversationsExists() {
return conversationsExists;
}
public String startConversation(Object target) {
if(!conversationsExists) {
conversations = new Conversations();
}
System.out.println("conversation exists: " + isConversationsExists());
}
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline