I have this part of code using primeface component :
<h:outputText value="Division : " />
<p:inplace id="basic2">
<p:inputText value="#{utilisateursController.u1.division}" />
</p:inplace>
I want to testing if #{utilisateursController.u1.division} is equals “” (or null) it displays “Please enter a valid division” otherwise, it displays the value of #{utilisateursController.u1.division}
I have already see that somewhere but I don’t know how to use
can you remember me ?
thanks
Something like this ?