I need to show the errors in login hook of liferay in popup, but the sentence is only a line of code, so I don't know how implement the popup. the key line is the next:
<liferay-ui:error exception="<%= NoSuchUserException.class %>" message="This message is editable" />
This error is to showed in a label but I didn't need this.
like this example:: http://www.jose-aguilar.com/blog/wp-content/uploads/2012/07/bootstrap-modal.png
In case you need to show errors in dialog box,I suppose you are using
to send error from action phase.You can check SeesionErrors for 'error' attribute and display your message in dialog box: