This content has been marked as final.
Show 3 replies
-
1. Re: modalPanel cross-browser problems
nbelaevski Sep 4, 2008 8:53 PM (in response to jrod79)Jared,
Can you show us page code? -
2. Re: modalPanel cross-browser problems
jrod79 Sep 5, 2008 11:24 AM (in response to jrod79)Absolutely:
Link to launch the modal panel:<a4j:commandLink reRender="advancedSearch" oncomplete="Richfaces.showModalPanel('advancedSearch')" title="#{msgs.advancedSearch}" rendered="#{Profile.roleAllowed['BOOK_VIEW_LIST'] and !Profile.manageBook}" > <h:graphicImage id="adSearchGraphc" value="/images/arrow_01_UP.gif" alt="#{msgs.advancedSearch}" /> <h:outputText value="#{msgs.advancedSearch}"/> </a4j:commandLink>
Modal panel:<rich:modalPanel id="advancedSearch" width="220" height="420"> <f:facet name="header"> <h:outputText value="#{msgs.advancedSearch}" /> </f:facet> <f:facet name="controls"> <h:graphicImage value="/images/btn_logout.gif" width="15" style="cursor:pointer" onclick="Richfaces.hideModalPanel('advancedSearch')" /> </f:facet> <h:form> <a4j:commandLink action="bookList" reRender="bookList" oncomplete="{Richfaces.hideModalPanel('advancedSearch');}" > <h:graphicImage class="searchIcon" id="advSearchGraphc" value="/images/btn_search_UP.gif" alt="#{msgs.search}" /> </a4j:commandLink> ...... </h:form> </rich:modalPanel>
As you can see I am calling reRender="bookList" which is the id of the datatable. From what I can tell the problem is something to do with the javascript not running properly on IE and Safari.<rich:dataTable width="644" id="bookList" rows="12" value="#{Book.list}" var="book">
I can give you anything else you may need.
Thanks,
J -
3. Re: modalPanel cross-browser problems
nbelaevski Sep 5, 2008 1:21 PM (in response to jrod79)Some more info is needed:
1. Richfaces version
2. IE/Safari versions
3. Trace from a4j:log component
4. Are there any errors in browser error console/status bar?