How can I use common HTML fields and buttons with JSF?

0

I'm doing a project with JSF and I'm also using common HTML fields and buttons on some forms.

Excerpt from my (X) HTML

<div class="clearfix">
 <input class="small DDD" type="tel" placeholder="DDD"
	maxlength="2" name="DDD" id="DDDFb"
	onkeypress="return onlyNumbersValue(event);" /> 
  <input class="medium telefoneFb" type="tel" maxlength="9"
	placeholder="Digite seu Telefone" name="fone" id="phoneFb"
	onkeypress="return onlyNumbersValue(event);"></input> 
  <input type="hidden" id="fb_phoneId" name="phoneId" />
</div>
<input type="submit" value="Cadastrar" id="cadastrarTel" />

I want to know how to get the value that the user typed and send to my Field Set in JSF without using <h:inputText value="#{meuBean.contato.ddd}"> and <h:commandButton action="#{meuBean.cadastrar}" value="Cadastrar"> .

    
asked by anonymous 11.10.2015 / 00:33

0 answers