You should not attempt to define a dialog within a form control such as a dataTable. Define a separate form for the dialog (for maximum IE compatability, define it first).
Forms may not be embedded, either the original HTML version or the
JSF version.
Also, this is not proper JSF EL usage:
A value attribute is supposed to
reference a property,, not invoke a method. The proper coding would be:
Which would allow JSF to invoke getPetUpdate() for you.
The other way is bad practice for output, but it would be fatal for input controls, since it allows no way of invoking the corresponding setPetUpdate method when the form is submitted. JSF knows whether to call the get or set method when you do a proper property reference.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.