Can't check the solution life now, but the following looks suspicious:
When you check the rendered XHTML-code (e.g. through Firebug in Firefox), you might recognize that the form newResourceTypeForm
is actually empty. With the appendTo="@body", I guess, the dialog panel is attached directly to the
body` - element, and through this is outside any formular. This prevents the buttons inside of work.
- Either move the form into the
p:dialog
, or - try dropping
appendTo
- try a rewrite
appendTo="@form"
Hope one of that might help you go forward, and if - upvotes appreciated - ...