This content has been marked as final.
Show 1 reply
-
1. Re: line breaks disappearing in a inputTextArea ajax submit
ljcollazos Mar 4, 2014 4:30 AM (in response to ljcollazos)I found a solution but not if it will be the best way to do it.
Instead of using hidden input I use a "hidden" textarea for fields that can have line breaks:
<textarea name="expone" id="expone" style="display:none;"> <h:outputText value="#{solicitudCiudadanoQYSBean.expone}"/> </ textarea>
So the format is maintained and these fields display correctly in my PDF document.