0 Replies Latest reply on Aug 30, 2007 5:03 AM by pawel pietrasz

    t:popup and ajax problem

    pawel pietrasz Newbie

      I have code like this:

      <a4j:outputPanel ajaxRendered="true">
      <t:dataTable id="data" var="requests"value="#{requestslist.requestsList}" rows="20">

      <t:column style="width:8%;">
      <f:facet name="header"><t:outputText value="#{msg2.column1}" /></f:facet>
      <t:popup styleClass="popup" displayAtDistanceX="12" displayAtDistanceY="12">
      <h:commandLink action="#{singlerequest.getSingleRequest}" styleClass="link2">
      <h:outputText value="#{requests.symbolNumber}" />
      <f:param name="id" value="#{requests.id}" />
      <f:facet name="popup">
      <h:panelGrid columns="1" columnClasses="bigColumn2">
      <h:outputText value="#{requests.description}" styleClass="text1"/>

      <t:column style="width:20%;" >
      <f:facet name="header"><t:outputText value="#{msg2.column2}" /></f:facet>
      <h:outputText id="col2" value="#{requests.subject}" styleClass="text1"/>

      <a4j:poll id = "refreshId" reRender = "data" interval = "1000" />

      and it is fine, but when I'm reading sth from popup then after refresh my popup changes and I have to open it again, how can I change my code to avoid
      this problem ?