This content has been marked as final.
Show 3 replies
-
1. suggestionBox/Master + selectOneMenu/Detail
liuliu Jan 26, 2011 3:20 AM (in response to edilmar)your logic is good. I think you need post more your page code.
-
2. suggestionBox/Master + selectOneMenu/Detail
edilmar Jan 26, 2011 1:39 PM (in response to liuliu)Hi,
I solved using a4j:support into inputText:
<h:inputText id="Pedido_cliente" value="#{pedido.entity.cliente}"
size="40"
required="true" requiredMessage="Campo Cliente obrigatóriona tabela ."
>
<f:converter converterId="clienteConverter"/>
<a4j:support ajaxSingle="true"process="Pedido_cliente" reRender="Pedido_clienteCont"event="onblur"/>
</h:inputText>
The only problem now is that when the user uses the mouse to select a client, the requiredMessaged is echoed. When using only keyboard, all works fine.
-
3. suggestionBox/Master + selectOneMenu/Detail
nbelaevski Jan 30, 2011 6:13 PM (in response to edilmar)Hi Edilmar,
Can you please post complete page code to show the relation between suggestionbox, 'client' component and 'Pedido_cliente'?