primefaces use commandlink to hide one dialog and show another -


I would like to use a command link or something to hide the currently shown dialog and will show another dialogue to anyone Is this a good way to accomplish this?

just hide () and show () methods from p: command link

& lt; p: commandLink value = "open-close" onclick = "dlg1.hide (); dlg2. Show ();" / & Gt;



Comments