I have this p:inputTextarea:
<p:inputTextarea id="inputTextArea" value="#{myBean.data}" />
Since I moved the submitting form button elsewhere, myBean.data stays null when clicking on the button
So I did this:
<p:inputTextarea id="inputTextArea" value="#{myBean.data}}">
<f:ajax event="blur" />
</p:inputTextarea>
which seems to work !
But I have a feeling that there is a more elegant way of doing this. I just need the value from the inputTextarea written to the bean, so that when I click a button in another form, the data will be available.
Any ideas ?