-
1. Re: rich:popupPanel autosized not working for IE7
snaker Jun 1, 2011 7:40 AM (in response to knoxor)put the code of popup
-
2. Re: rich:popupPanel autosized not working for IE7
knoxor Jun 1, 2011 8:22 AM (in response to snaker)thanks for the response.
Popup code is as follows:
<rich:popupPanel id="popupReport" modal="false" resizeable="false" autosized="#{report.autosized}" rendered="#{!report.tableOnly}"> <f:facet name="header"> <h:outputText value="#{msg.ra_itemDetail}" /> </f:facet> <a4j:outputPanel layout="block" id="rowDetail"> <fieldset> <legend> <b>#{msg[report.popupTitle]}</b> </legend> <h:panelGrid columns="2" > <c:forEach items="#{report.detailColumns}" var="col" varStatus="vs"> <h:outputText value="#{msg[col.name]}:" styleClass="bold-label-text align-left" /> <h:outputText value="#{report.currentRow.values[col.name]}" styleClass="align-right" rendered="#{!col.localizable}"/> <h:outputText value="#{msg[report.currentRow.values[col.name]]}" styleClass="align-right" rendered="#{col.localizable}"/> </c:forEach> </h:panelGrid> </fieldset> </a4j:outputPanel> <table width="100%"> <tr> <td width="50%" align="right"></td> <td width="80%" align="right"> <h:commandButton value="#{msg.ra_close}" onclick="#{rich:component('popupReport')}.hide(event); return false;" /> </td> </tr> </table> </rich:popupPanel> -
3. Re: rich:popupPanel autosized not working for IE7
knoxor Jun 1, 2011 8:23 AM (in response to knoxor)apologies that is not in the best format
-
4. Re: rich:popupPanel autosized not working for IE7
snaker Jun 1, 2011 10:41 AM (in response to knoxor)try to use a outputPanel outside the popup
<a4j:outputPanel ajaxRendered="true">
<rich:popupPanel......
</a4j:outputPanel>
-
5. Re: rich:popupPanel autosized not working for IE7
knoxor Jun 1, 2011 11:23 AM (in response to snaker)I tried your suggestion but no joy.
I have a workaround in place where I check in my bean if the browser is IE7 and configure the popup to autosized = false and set the height and width parameters. This works but is not an ideal solution as the popup may grow in size.
<rich:popupPanel id="popupReport" modal="false" resizeable="false" autosized="#{!userBean.internetExplorer7}" height="#{userBean.internetExplorer7 ? '670' : ''}" width="#{userBean.internetExplorer7 ? '400' : ''}" rendered="#{!report.tableOnly}"> -
6. Re: rich:popupPanel autosized not working for IE7
ilya_shaikovsky Jun 1, 2011 7:02 PM (in response to knoxor)create jira issue for that. I searched through jira but didn't find anything suitable. There were others IE 7 specific ones but that seems not tracked.
-
7. Re: rich:popupPanel autosized not working for IE7
knoxor Jun 2, 2011 10:00 AM (in response to ilya_shaikovsky)I don't have rights to enable me to create JIRA's, do you know where I register?
-
8. Re: rich:popupPanel autosized not working for IE7
ilya_shaikovsky Jun 2, 2011 11:04 AM (in response to knoxor)you should be able just use the same credentials as for that community space.
-
9. Re: rich:popupPanel autosized not working for IE7
knoxor Jun 2, 2011 3:01 PM (in response to ilya_shaikovsky)I've created a JIRA on the issue.