Please refer to the attachments.
Put something like #
before any <h:form> element, so that the conversation is long-running before any <form> is rendered.