0
Good morning,
It is 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 catching the first obj comes filled the second always comes null
I’m working with jsf
Dude why do you want to do this? These two objects have something to do with each other?
– Macario1983
face worked here, yes these objects have relation. There was no mystery just directed the bean as shown in the example code. I think there was some mistake in the injection..
– samuel silva
My question refers more to the design aspect of the class, put there as are the two classes
– Macario1983