The problem was in Tobago SecretPhaseListener. It blocked all jsf phases after a restore phase. I just added <create-session-secret>false</create-session-secret> and <check-session-secret>false</check-session-secret> in tobago-config.xml then the problem was gone. I hope it will be useful to someone.

-----Исходное сообщение----- From: Leonardo Uribe
Sent: Tuesday, May 13, 2014 5:13 PM
To: MyFaces Discussion
Subject: Re: Submit problem

Hi

You should check if the html output is correct. Probably it could be a
conflict between Tobago and the default JSF renderers, after all
RenderKitWrapper was added in JSF 2.0. Even if you set
renderKitId=”HTML_BASIC”, probably Tobago renderkit is still on top.

regards,

Leonardo Uribe


2014-05-08 10:42 GMT+02:00 Anton Sysoev <[email protected]>:

  Hi. I have a project based on Tobago 2.0 alpha 3 + Tomcat 7.0.34 +
MyFaces Core 2.1.14 and it works fine. Now I need one page based on core
jsf components only. I try to add a page like below in the project

<f:view xmlns="http://www.w3.org/1999/xhtml";<http://www.w3.org/1999/xhtml>


xmlns:h="http://java.sun.com/jsf/html";<http://java.sun.com/jsf/html>
           xmlns:f="http://java.sun.com/jsf/core";
           renderKitId=”HTML_BASIC”>

    <html>
        <h[image: Дразнюсь]ody>
            <h:form>
                <h:inputText value=”#{mybean.number}”/>
                <h:commandButton value=”submit” action=”#{mybean.store}”/>
            <h:form>
        </h[image: Дразнюсь]ody>
    <html>
</f:view>

Page is rendered but values are not submitted. Is this a bug or I’m doing
something wrong? Thanks.


Reply via email to