h:messages does not display messages when p:commandButton is pressed

You’re sending an ajax request with PrimeFaces <p:commandButton>. Ajax requests have by default no form of feedback (unless PrimeFaces’ autoUpdate=”true” is been used somewhere). You should be explicitly specifying parts of the view which you’d like to update on ajax response. One way is specifying the update attribute on <p:commandButton> to point to the client … Read more

MySQL: Large VARCHAR vs. TEXT?

TEXT and BLOB may by stored off the table with the table just having a pointer to the location of the actual storage. Where it is stored depends on lots of things like data size, columns size, row_format, and MySQL version. VARCHAR is stored inline with the table. VARCHAR is faster when the size is … Read more