Fill two objects in a jsf form

0

Good morning,

Is it possible to fill two different objects in the same form?

Ex:

<p:inputText id="ordem" value="#{testeBean.objA.atributoA}" />

<p:inputText id="ordem2" value="#{testeBean.objB.atributoB}" />

To get the first obj comes filled the second always comes null

I'm working with jsf

    
asked by anonymous 04.07.2016 / 16:16

0 answers