-
1. Re: a4j repeat table problem
nbelaevski Dec 2, 2009 3:48 PM (in response to rcroonenberghs)Hi Roel,
Please post related pages code. -
2. Re: a4j repeat table problem
rcroonenberghs Dec 3, 2009 2:29 AM (in response to rcroonenberghs)This is the jsp/jsf code
...<a4j:outputPanel id="presults"> <a4j:repeat id="resultview" binding="#{masterDataDetail.cmpResults}" rows="25" value="#{masterDataDetail.items}" var="result"> <table width="90%" style="border: 1px solid #000;"> <tr> <td style="font-weight:bold"> <h:outputText value="#{msg.masterDataDetail_nummer}" /> <h:outputLink value="transactiondatadetail.jsf"> <h:outputText value="#{result.contractnumber}"/> <f:param name="contractnr" value="#{result.contractnumber}" /> <f:param name="ref" value="masterdatadetail" /> </h:outputLink> </td> <td style="font-weight:bold"> <h:outputText value="#{msg.masterDataDetail_contractstatus}" />  <h:outputText value="#{result.contractstatus}"></h:outputText> </td> <td style="font-weight:bold"> <h:outputText value="#{msg.masterDataDetail_servicecontractnumber}" />  <h:outputText value="#{result.servicecontractnumber}"></h:outputText> </td> <td style="font-weight:bold"> <h:outputText value="#{msg.masterDataDetail_licenseplate}" /> <h:outputText value="#{result.licenseplate}"></h:outputText> </td> </tr> </table> <table> <tr> <td>  </td> </tr> </table>
...<table width="90%" style="border:1px solid #000;margin-top:1em"> <tr> <td> <h:outputText value="#{msg.masterDataDetail_excessdistancerm}"/> </td> <td> <h:outputText value="#{result.excessdistancerm}"> <f:convertNumber maxFractionDigits="3" /> </h:outputText> </td> <td> <h:outputText value="#{msg.masterDataDetail_lessdistancerm}"/> </td> <td> <h:outputText value="#{result.lessdistancerm}"> <f:convertNumber maxFractionDigits="3" /> </h:outputText> </td> </tr> </table> <div style="width:90%;background-color:#000;margin:1em 0"> </div> </a4j:repeat> </a4j:outputPanel> <rich:spacer height="10" /> <rich:datascroller align="center" reRender="presults" for="resultview" renderIfSinglePage="false" binding="#{masterDataDetail.cmpDataScroller}" scrollerListener="#{masterDataDetail.switchPage}" maxPages="20" /> </h:form>
-
3. Re: a4j repeat table problem
ilya_shaikovsky Dec 3, 2009 10:01 AM (in response to rcroonenberghs)from the beggining add layout="block" to your outputPanel and tbody elements to your tables.
-
4. Re: a4j repeat table problem
rcroonenberghs Dec 3, 2009 10:39 AM (in response to rcroonenberghs)I added what you suggested (layout="block" an to all my tables), but it does not change.
I still get the same lay-out error. -
5. Re: a4j repeat table problem
rcroonenberghs Dec 3, 2009 10:44 AM (in response to rcroonenberghs)I added what you suggested (layout="block" and < tbody>) to all my tables, but it does not change.
I still get the same lay-out error. -
6. Re: a4j repeat table problem
ilya_shaikovsky Dec 3, 2009 10:53 AM (in response to rcroonenberghs)Which Filter used? If there are any problems in a4j:log?
(I can't find the war under URL provided) -
7. Re: a4j repeat table problem
rcroonenberghs Dec 3, 2009 11:07 AM (in response to rcroonenberghs)You can find the war at http://www.filedropper.com/dlagtest (seems filedropper deleted it, i uploaded it again)
The report button is not ajax, but refreshes the page. -
8. Re: a4j repeat table problem
tomba Jan 14, 2010 8:04 AM (in response to rcroonenberghs)Have you guys managed to reproduce this problem with the war?
Can you just let us know if there's something more we need to provide, because we're still stuck with this problem.Thanks,
Steven