I want to set dynamically the timeout of current conversation through the method org.jboss.seam.core.Conversation.setTimeout() but this method seems not to have no effect as I explains next:
in a stateful ejb, in the method that launches a conversation I code:
import org.jboss.seam.core.Conversation;
...
@In
private Conversation conversation;
@Begin
public String selectHotel(Hotel selectedHotel) {
...
conversation.setTimeout(600000);
}Seam will come around and overwrite any timeout values you set like that using the page timeouts. You'll need to set the timeout value in pages.xml or in the appropriate *-page.xml files.