Problems with a4j:status
balteo Jun 5, 2007 10:50 AMHello,
I get the following error and I am at pains trying to understand what it means:
Target pointed Attribute for of AjaxStatus component with id bottom-status not is AjaxContainer
Can anyone please help?
Thanks in advance,
Julien.
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Application Protide</title> <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/style.css"/> <script type="text/javascript" src="${pageContext.request.contextPath}/js/prototype.js"></script> <script type="text/javascript" src="${pageContext.request.contextPath}/js/scriptaculous.js?load=effects"></script> </head> <body> <f:view> <a4j:outputPanel id="main-panel" layout="block"> <a4j:region id="main-region"> <h:panelGrid columns="2" border="0" width="100%" styleClass="protideHeader" id="page-header"> <h:graphicImage value="images/calfi.gif"/> <a4j:status id="top-status" for="main-region"> <f:facet name="start"> <h:graphicImage value="images/ajax-loader.gif"/> </f:facet> </a4j:status> </h:panelGrid> <f:verbatim><br/><br/></f:verbatim> <jsp:include page="includes/home/input-screen.jsp"/> <f:verbatim><br/><br/><br/><br/></f:verbatim> <jsp:include page="includes/home/output-screen.jsp"/> </a4j:region> </a4j:outputPanel> </f:view> </body> </html>
<f:subview id="buttons"> <h:panelGrid id="buttons-panel" columns="4" border="1" width="100%"> <a4j:status id="bottom-status" for="main-region"> <f:facet name="start"> <h:graphicImage value="images/ajax-loader.gif"/> </f:facet> <f:facet name="stop"> <h:graphicImage value="images/stop.gif"/> </f:facet> </a4j:status> <h:commandButton value="Submit me !!" action="#{ContractManagedBean.debugAction}"/> <a4j:commandButton value="Save me !!" action="#{ContractManagedBean.saveContractAction}" reRender="main-panel"/> <h:commandButton value="Reset me !!" type="reset"/> <f:facet name="footer"> <h:outputText value="here will go the messages"/> </f:facet> </h:panelGrid> </f:subview>