This content has been marked as final.
Show 6 replies
-
1. Re: rich:tab changed not refreshing pdf link in firefox, but
ilya_shaikovsky Nov 17, 2009 6:33 AM (in response to tharves)check please latest stable version. if not helps provide code.
-
2. Re: rich:tab changed not refreshing pdf link in firefox, but
tharves Nov 17, 2009 11:04 AM (in response to tharves)<script language="javascript" type="text/javascript"> function redirectPdoc(){ document.forms[0].action="index"; document.forms[0].submit(); } </script>
index.jsp
*********<rich:tabPanel width="750" headerAlignment="left" headerSpacing="7px" switchType="ajax" id="panel" > <rich:tab label="A" id="query" oncomplete="redirectPdoc();"> <a4j:include id="aa" viewId="/jsp/a.jsp" ></a4j:include> </rich:tab> <rich:tab label="B" id="acl"> <a4j:include id="bb" viewId="/jsp/b.jsp"></a4j:include> </rich:tab> <rich:tab id="managecode" label="C" switchType="ajax"> <a4j:include id="cc" viewId="/jsp/c.jsp"></a4j:include> </rich:tab> <rich:tab id="manageApplicant" label="D" switchType="ajax"> <a4j:include id="dd" viewId="/jsp/d.jsp"></a4j:include> </rich:tab> </rich:tabPanel>
a.jsp
*****<table border="0" cellpadding="0" cellspacing="3"> <td><h:commandLink id="cerview" value="pdfview" action="#{getPdfAction.downloadPdf}" rendered="#{pdfForm.accListSize != 0}" /></td> </table>
I called oncomplete="redirectPdoc();" in first tab. I redirect to same page. once that page is refreshed then only it will work in firefox. i think it is not right approach. let me know, can you give good suggestion -
3. Re: rich:tab changed not refreshing pdf link in firefox, but
ilya_shaikovsky Nov 18, 2009 6:00 AM (in response to tharves)<table border="0" cellpadding="0" cellspacing="3"> <td><h:commandLink id="cerview" value="pdfview" action="#{getPdfAction.downloadPdf}" rendered="#{pdfForm.accListSize != 0}" /></td> </table>
this code invalid according to w3c. So there could be problems with it after ajax update.
if not helps what about 3.3.2SR1? -
4. Re: rich:tab changed not refreshing pdf link in firefox, but
tharves Nov 18, 2009 10:03 AM (in response to tharves)how to solve the above problem used same rich faces 3.2.1. Please can you tell me, where will i make changes on my existing code.
-
5. Re: rich:tab changed not refreshing pdf link in firefox, but
tharves Nov 18, 2009 10:06 AM (in response to tharves)I tried in first tab.
Like
<jsp:include page="/jsp/a.jsp"
This is also not support pdf link of a.jsp page -
6. Re: rich:tab changed not refreshing pdf link in firefox, but
tharves Nov 24, 2009 9:52 AM (in response to tharves)Hi Ilya,
I hope you. You can give solution for this issue. Please help me