Moves response objects from pz2 bean to dedicated bean
[mkjsf-moved-to-github.git] / src / META-INF / resources / pz2utils / pz2watch.xhtml
index fbdd66d..da88ba6 100644 (file)
@@ -52,9 +52,9 @@
         </h:dataTable>\r
         <h:panelGrid  style="${pz2.hasCommandErrors() ? 'display: block;' : 'display: none;'}">\r
           <h:column>\r
-            <h:outputText id="messages" value="#{pz2.commandError.message}" style="color: red;"/>\r
+            <h:outputText id="messages" value="#{data.commandError.message}" style="color: red;"/>\r
           </h:column>\r
-          <h:dataTable value="#{pz2.commandError.suggestions}" var="suggestion" cellspacing="0" cellpadding="0">                  \r
+          <h:dataTable value="#{data.commandError.suggestions}" var="suggestion" cellspacing="0" cellpadding="0">                  \r
            <h:column>\r
              #{suggestion}        \r
            </h:column>      \r