Pessoal, desculpa ta postando aki novamente é que me surgiu uma outra dúvida e não to conseguindo sair do canto. Na verdade não sei pra onde ir.
Tenho o seguinte JSF:
<h:form>
<f:verbatim>
<h3>Jampa Software Development - Gerente</h3>
<h3>Cadastro de Usuario</h3>
</f:verbatim>
<h:panelGrid columns="1">
<h:outputLabel value="Nome" for="nome">
<f:verbatim>
<br />
</f:verbatim>
<h:inputText value="#{usuario.nome}" id="nome" style=" width : 310px;"/>
</h:outputLabel>
<h:outputLabel value="Telefone" for="telefone">
<f:verbatim>
<br />
</f:verbatim>
<h:inputText value="#{usuario.telefone}" id="telefone" />
</h:outputLabel>
<h:outputLabel value="Email" for="email" >
<f:verbatim>
<br />
</f:verbatim>
<h:inputText value="#{usuario.email}" id="email" style=" width : 310px;"/>
</h:outputLabel>
<h:outputLabel value="Login" for="login">
<f:verbatim>
<br />
</f:verbatim>
<h:inputText value="#{usuario.login}" id="login" />
</h:outputLabel>
<h:outputLabel value="Senha" for="senha">
<f:verbatim>
<br />
</f:verbatim>
<h:inputSecret value="#{usuario.senha}" id="senha" />
</h:outputLabel>
<h:outputLabel value="Tipo" for="tipo">
<f:verbatim>
<br />
</f:verbatim>
<h:selectOneMenu value="#{usuario.tipo}" id="tipo">
<f:selectItem itemValue="Cliente" itemLabel="Cliente" />
<f:selectItem itemValue="Desenvolvedor" itemLabel="Desenvolvedor" />
<f:selectItem itemValue="Gerente" itemLabel="Gerente" />
</h:selectOneMenu>
</h:outputLabel>
<h:commandButton action="#{usuario.cadastrarUsuario}" value="Cadastrar" />
<h:messages />
</h:panelGrid>
</h:form>
Todos esses valores estão chegando como null no Maneged Bean.
Primeiro eu tenho um login onde por enquanto retorna uma String "gerente" sempre e em seguida o usuário eh direcionado para uma segunda tela onde o mesmo fará o cadastro de usuários. Quando o cliente faz o submit estes valores só chegam como null par ao Managed Bean.
Alguém poderia dar uma força?
Grato.
