2 Replies Latest reply on Aug 26, 2008 10:36 AM by betul aydin

    ajax keep alive component doestn work

    betul aydin Newbie

      Hi about this issue I saw some post on this form but all post are without answered.So I hope can somebody answer me.
      My problem that when I use the keep alive componenent on my application I have that error.




      javax.servlet.ServletException: /Giris.jsp(216,3) According to TLD or attribute directive in tag file, attribute beanName does not accept any expressions
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:83)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:806)



      here is my tag code

      <rich:modalPanel id="email" autosized="true" left="100" top="100">
      <f:facet name="header"><h:outputText value="Musteri Listesi"></h:outputText> </f:facet>
      <a4j:form>
      <a4j:region renderRegionOnly="true">
      <rich:dataTable rowKeyVar="index" id="tabloMus" rows="2" value="#{SpectBilgileri.musteriTablo}" styleClass="table1" footerClass="foot" headerClass="theader1" rowClasses="row1,row2" var="satir" width="100%" onRowMouseOver="this.style.backgroundColor='#FBF7E6'" onRowMouseOut="this.style.backgroundColor=''">
      <f:facet name="header"> <rich:datascroller fastStep="2" stepControls="show" ajaxSingle="false" id="d" maxPages="20" renderIfSinglePage="false" for="tabloMus" align="center" boundaryControls="show" fastControls="show"> </rich:datascroller>
      </f:facet>
      <rich:column sortBy="#{satir.musNo}" filterBy="#{satir.musNo}" filterEvent="onkeyup" style="width: 60px;">
      <f:facet name="header"><h:outputText value="Musteri No"></h:outputText></f:facet>
      <h:outputText value="#{satir.musNo}" styleClass="cell"></h:outputText>
      </rich:column>
      <rich:column sortBy="#{satir.musAd}" filterBy="#{satir.musAd}" filterEvent="onkeyup" style="width: 60px;">
      <f:facet name="header"><h:outputText value="Musteri Adı"></h:outputText></f:facet>
      <h:outputText value="#{satir.musAd}" styleClass="cell" ></h:outputText>
      </rich:column>
      <rich:column style="width: 20px;">
      <f:facet name="header"></f:facet>
      <h:selectBooleanCheckbox value="#{satir.mailSec}"></h:selectBooleanCheckbox>
      </rich:column>
      </rich:dataTable>
      <h:panelGrid columns="2" styleClass="margin-top: 20px; margin-bottom: 20px; margin-left: 60px">

      <a4j:commandButton value="Gönder" styleClass="button" reRender="tabloMus" action="#{SpectBilgileri.emailGonder}">
      </a4j:commandButton>
      <a4j:commandButton value="Çıkış" styleClass="button" onclick="javascript:Richfaces.hideModalPanel('email')" ></a4j:commandButton>
      </h:panelGrid>
      </a4j:region>

      </a4j:form>
      <a4j:keepAlive beanName="#{SpectBilgileri.musteriTablo}"></a4j:keepAlive>
      </rich:modalPanel>