-
1. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
carlhowarth Oct 26, 2007 7:05 AM (in response to carlhowarth)Just to embelish:
I have switched on IE6 javascript errors and I am getting:
Error: 'PanelMenu' is undefined.... so I guess it's to do with the PanelMenu control.
Hopefully that will help somebody think of a solution?!
Ta, Carl -
2. Problem with RichFaces and Internet Explorer 6
carlhowarth Oct 26, 2007 9:26 AM (in response to carlhowarth)Further to this I have done some investigation and there must be something wrong somewhere. I have gone through the rich faces guide and can't see anything obvious. I am getting javascript errors on paes with the panel menu and the calendar control getting either "'Calendar' is undefined" or "'PanelMenu' is undefined".
This only happens in Internet Explorer (seemingly in 6 and 7) but is fine in Firefox. I have cleared down the Cache but that has made no difference. -
3. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
cbax007 Nov 16, 2007 1:04 PM (in response to carlhowarth)I am having the same issues. Have you found a solution for this yet?
-
4. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
carlhowarth Nov 19, 2007 3:53 AM (in response to carlhowarth)I'm not certain if this is totally resolved yet but I have found that the problem is caused in IE if you use a4j commandlinks with actions, if I change these to be h:commandlinks the problem often disappears and it's not a problem for the work I'm doing as I only use actions when I need to completely navigate away from the current page. Additionally using the panelmenu caused these issues when in ajax mode - server mode fixed this. HTH!
-
5. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
jim20100 Nov 28, 2007 10:46 AM (in response to carlhowarth)It is completely mad.
I have the same problem.
If I have to remove the ajax command links, then I can put this richfaces library to the trash. I want to use AJAX !!!
In my application, it seems that the browser is downloading ajax scripts and so on. If I click during this download, my application does not work properly at all.
I need a solution asap. -
6. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
ilya_shaikovsky Nov 28, 2007 10:56 AM (in response to carlhowarth)Guys, be patient.. A lot of words and no examples..
I can't agree with you - because at denmosite and all working examples I've using commandLinks without such problems..
Please create bug in jira. Attach minimal sample war(with libs) to the bug. And you'll get an answer ;)
Or just paste some code here. -
7. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
jim20100 Nov 29, 2007 4:20 AM (in response to carlhowarth)Patient??
I am professional and I must finalize my application for tomorrow.
I promiss a lot of improvements with your product.
For the moment I have several issues.
If you want to have a success with your product, the development must be clear and fast. If it brings unexpected issues, I would prefer to develop the ajax code by hand without any jsf libraries.
The menu.jsp code:<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <f:loadBundle basename="biz.mycompany.pipe.resources.menu" var="menu_messages" /> <h:panelGrid columns="1" style="margin-left:10px;"> <h:column> <rich:panelMenu mode="ajax" binding="#{menuBean.menu}" id="idMenu" hoveredItemClass="rich-pmenu-item-label-hover" topItemClass="rich-pmenu-item-label-normal" rendered="#{(pipeUserContainer.logged)}"> <rich:panelMenuItem id="idMenuCatalog" icon="/images/bullet-badnil.gif" label="#{menu_messages['part_catalog']}" action="#{partCatalogList.doDisplayCatalog}" /> <rich:panelMenuItem id="idMenuCart" icon="/images/bullet-badnil.gif" label="#{menu_messages['current_cart']}" action="#{pipeShoppingCartBean.doDisplayActiveCart}" /> <rich:panelMenuItem id="idMenuCartList" icon="/images/bullet-badnil.gif" label="#{menu_messages['my_carts']}" action="#{shoppingCartListBean.doDisplayShoppingCartList}" /> <rich:panelMenuItem id="idMenuOrderList" icon="/images/bullet-badnil.gif" label="#{menu_messages['my_orders']}" action="#{orderListBean.doDisplayOrderList}" /> <rich:panelMenuItem id="idMenuUserConfigList" icon="/images/bullet-badnil.gif" rendered="#{(!pipeUserContainer.pipeSupplier)}" label="#{menu_messages['user_config']}" action="#{userConfigBean.doDisplayUserConfig}" /> </rich:panelMenu> <h:panelGrid columns="2" style="margin-top:2px;margin-left:1px" cellpadding="0" cellspacing="0"> <h:column> <h:graphicImage url="/images/bullet-badnil.gif" /> </h:column> <h:column> <rich:dropDownMenu style="border-top:0px solid;border:0px solid;width:50px" value="#{menu_messages['change_language']}" direction="bottom-right" jointPoint="tr"> <f:facet name="icon"> <h:graphicImage value="/images/bullet-badnil.gif" /> </f:facet> <rich:menuItem id="idMenuLangUK" value="UK" target="_top" action="#{pipeUserContainer.doChangeLocaleUK}"> <f:facet name="icon"> <h:graphicImage value="/images/uk_flag.gif" /> </f:facet> </rich:menuItem> <rich:menuItem id="idMenuLangFR" value="FR" target="_top" action="#{pipeUserContainer.doChangeLocaleFR}"> <f:facet name="icon"> <h:graphicImage value="/images/fr_flag.gif" /> </f:facet> </rich:menuItem> <rich:menuItem id="idMenuLangDE" value="DE" target="_top" action="#{pipeUserContainer.doChangeLocaleDE}"> <f:facet name="icon"> <h:graphicImage value="/images/de_flag.gif" /> </f:facet> </rich:menuItem> </rich:dropDownMenu> </h:column> </h:panelGrid> </h:column> </h:panelGrid>
So When I delete the cache of the browser, the user reaches the first page. If I use for example the menu it does not work.
If I wait a bit and close the browser, etc it works better.
Of course the libraries are already in the cache.
Here is the code of the first page:<%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <f:view locale="#{pipeUserContainer.locale}"> <f:loadBundle basename="biz.mycompany.pipe.resources.pipe" var="pipe_messages" /> <f:loadBundle basename="biz.mycompany.pipe.resources.menu" var="menu_messages" /> <html> <head> <LINK href="<t:outputText value="#{facesContext.externalContext.requestContextPath}"/>/css/style.css" rel="stylesheet" type="text/css"> <SCRIPT language="javascript" src="<t:outputText value="#{facesContext.externalContext.requestContextPath}"/>/js/global.js"> </SCRIPT> </head> <body> <%@include file="/header.jsp"%> <a name="#top"></a> <div class="divPrint"> <h:form rendered="#{(pipeUserContainer.logged)}"> <table width="100%" border="0"> <tr> <td align="right"><h:commandLink id="downloadPdfInline" action="#{pipeShoppingCartBean.doPrint}" target="_blank"> <h:graphicImage style="border-width:0" value="/images/print.gif" alt="#{pipe_messages['action.print']}" /> </h:commandLink></td> </tr> </table> </h:form> <%@include file="/messages/messagesPanel.jsp"%> <%@include file="/progress/progress.jsp"%> </div> <a4j:form id="mycompanyFormShoppingCart" rendered="#{(pipeUserContainer.logged)}"> <t:panelGrid columnClasses="columnMenu" style="height:100%; width:100%;" columns="3"> <t:column width="18%"> <%@include file="/menu/menu.jsp"%> <f:verbatim> <br /> <br /> </f:verbatim> <%@include file="/cart/displayShoppingCartAction.jsp"%> <br /> <br /> </t:column> <t:column width="2%"> <f:verbatim> </f:verbatim> </t:column> <t:column width="80%"> <rich:panel id="idPanelShoppingCart" bodyClass="richPanelBodyClassCart" style="width:100%; height: 100%; text-align:center; padding-top:0" header="#{pipe_messages['cart.active_shopping_cart']}"> <rich:tabPanel selectedTab="#{pipeShoppingCartBean.selectedTab}" switchType="ajax" contentStyle="width:100%" style="width: 95%; margin:0 0 0 0; text-align:center;"> <rich:tab name="tabInfo" label="#{pipe_messages['cart.general_view']}" action="#{pipeShoppingCartBean.doSelectTabInfo}"> <t:panelGrid id="idCartInfo" width="100%" columnClasses="standardTableShoppingCart1,standardTable_Column,standardTable_Column,standardTableShoppingCart2,standardTableShoppingCart2" columns="5" border="0" cellspacing="5"> <t:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.name']}" /> <f:verbatim>:</f:verbatim> </t:column> <h:column> <h:inputText maxlength="50" size="15" id="cartName" value="#{pipeShoppingCartBean.name}"> </h:inputText> </h:column> <h:column /> <h:column /> <h:column> <h:outputText rendered="#{pipeShoppingCartBean.ready}" styleClass="labelReady" value="#{pipe_messages['cart.ready']}" /> </h:column> <t:column rendered="#{!pipeUserContainer.pipeSupplier}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.company_name']}" /> <f:verbatim>:</f:verbatim> </t:column> <h:column rendered="#{!pipeUserContainer.pipeSupplier}"> <h:outputText value="#{pipeShoppingCartBean.companyName}" /> </h:column> <h:column rendered="#{!pipeUserContainer.pipeSupplier}" /> <h:column rendered="#{!pipeUserContainer.pipeSupplier}" /> <h:column rendered="#{!pipeUserContainer.pipeSupplier}" /> <t:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.material_type']}" /> <f:verbatim>:</f:verbatim> </t:column> <h:column> <h:selectOneRadio id="idSelectMaterialType" binding="#{htmlInputRadioCartMaterialType.valueRef}" value="#{pipeShoppingCartBean.materialType}"> <f:selectItems value="#{pipeShoppingCartBean.materialTypeList}" /> <a4j:support event="onclick" immediate="true" action="#{htmlInputRadioCartMaterialType.change}" reRender="idMessages,idSelectMaterialType" /> </h:selectOneRadio> </h:column> <h:column></h:column> <h:column></h:column> <h:column></h:column> <h:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.reference_job']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column> <h:selectOneRadio binding="#{htmlInputRadioCartReferenceJobNumber.valueRef}" value="#{pipeShoppingCartBean.referenceJobNumber}"> <f:selectItem itemValue="true" itemLabel="#{pipe_messages['yes']}" /> <f:selectItem itemValue="false" itemLabel="#{pipe_messages['no']}" /> <a4j:support event="onclick" immediate="true" action="#{htmlInputRadioCartReferenceJobNumber.change}" reRender="idCartInfo" /> </h:selectOneRadio> </h:column> <h:column></h:column> <h:column></h:column> <h:column></h:column> <h:column id="idColumnReferenceJobNumber1" rendered="#{pipeShoppingCartBean.referenceJobNumber}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.job_number']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column id="idColumnReferenceJobNumber2" rendered="#{pipeShoppingCartBean.referenceJobNumber}"> <h:inputText maxlength="6" size="6" id="cartJobNumber" value="#{pipeShoppingCartBean.jobNumberAsString}"> </h:inputText> </h:column> <h:column id="idColumnReferenceJobNumber3" rendered="#{pipeShoppingCartBean.referenceJobNumber}"></h:column> <h:column id="idColumnReferenceJobNumber4" rendered="#{pipeShoppingCartBean.referenceJobNumber}"></h:column> <h:column id="idColumnReferenceJobNumber5" rendered="#{pipeShoppingCartBean.referenceJobNumber}"></h:column> <t:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.user_name_last']}" /> <f:verbatim>:</f:verbatim> </t:column> <h:column> <h:outputText value="#{pipeShoppingCartBean.userName}" /> </h:column> <t:column /> <h:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.creation_date']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column> <h:outputText value="#{pipeShoppingCartBean.creationDateAsString}" /> </h:column> <t:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.user_email_last']}" /> <f:verbatim>:</f:verbatim> </t:column> <h:column> <h:outputText value="#{pipeShoppingCartBean.userEmail}" /> </h:column> <h:column /> <h:column rendered="#{pipeShoppingCartBean.modifiedDate != null}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.modified_date']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{pipeShoppingCartBean.modifiedDate != null}"> <h:outputText value="#{pipeShoppingCartBean.modifiedDateAsString}" /> </h:column> </t:panelGrid> </rich:tab> <rich:tab name="tabParts" label="#{pipe_messages['cart.parts_view']}" action="#{pipeShoppingCartBean.doSelectTabParts}"> <t:panelGrid rendered="#{pipeShoppingCartBean.partsSize==0}"> <h:column> <h:outputText style="font-weight:bold" value="#{pipe_messages['cart.empty']}" /> </h:column> </t:panelGrid> <t:panelGrid columnClasses="standardTable_ColumnLeft,standardTable_ColumnRight" rendered="#{pipeShoppingCartBean.partsSize>0}" columns="2" style="width:100%"> <h:column> <t:panelGrid rendered="#{pipeShoppingCartBean.partsSize>0}"> <h:column> <a4j:commandButton onmouseover="this.className='mybutton_on'" onmouseout="this.className='mybutton_off'" styleClass="mybutton_off" action="#{pipeShoppingCartBean.doDeleteParts}" value="#{pipe_messages['cart.delete_selected_parts']}"></a4j:commandButton> </h:column> </t:panelGrid> </h:column> <t:column rendered="#{pipeShoppingCartBean.scrollBarNeeded}"> <rich:datascroller rendered="#{pipeShoppingCartBean.partsSize>0}" for="dataParts" maxPages="10"> <f:facet name="first"> <h:outputText value="#{pipe_messages['scroll.first']}" /> </f:facet> <f:facet name="last"> <h:outputText value="#{pipe_messages['scroll.last']}" /> </f:facet> </rich:datascroller> </t:column> </t:panelGrid> <t:panelGrid columns="1" style="width:100%;text-align:center;"> <t:column> <t:panelGrid columns="1" style="text-align:right;"> <t:column> <rich:dataTable id="dataParts" align="right" rendered="#{pipeShoppingCartBean.partsSize>0}" styleClass="scrollerTableNoWidth" headerClass="standardTable_Header" footerClass="standardTable_Footer" rowClasses="standardTable_Row1,standardTable_Row2" columnClasses="standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnCentered,standardTable_ColumnRight" onRowMouseOver="this.style.backgroundColor='#EAEAEA'" onRowMouseOut="this.style.backgroundColor='#ECF5FC'" onRowClick="this.style.backgroundColor='#FFDFAE'" onRowDblClick="this.style.backgroundColor='#E0E0E0'" var="part" value="#{pipeShoppingCartBean.dataModel}" rows="10"> <t:column> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.select']}" /> </f:facet> <h:panelGrid columns="2"> <t:column rendered="#{part.partInvalid}"> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.error']}" /> </f:facet> <h:graphicImage value="/images/error_mark.gif" alt="#{pipe_messages['part.invalid']}" /> </t:column> <t:column> <t:selectBooleanCheckbox value="#{part.selected}" /> </t:column> </h:panelGrid> </t:column> <t:column> <f:facet name="header"> <a4j:commandLink action="#{pipeShoppingCartBean.doSortByPartNumber}" reRender="dataParts"> <h:outputText styleClass="tableHeaderSort" value="#{pipe_messages['part.part_number']}" /> <h:graphicImage style="border-width:0" value="/images/ascending-arrow.gif" rendered="#{pipeShoppingCartBean.sortedByPartNumberAsc}" /> <h:graphicImage style="border-width:0" value="/images/descending-arrow.gif" rendered="#{pipeShoppingCartBean.sortedByPartNumberDesc}" /> </a4j:commandLink> </f:facet> <!-- row is also available --> <h:outputText value="#{part.partNumber}" /> </t:column> <t:column> <f:facet name="header"> <a4j:commandLink action="#{pipeShoppingCartBean.doSortByTitle}" reRender="dataParts"> <h:outputText styleClass="tableHeaderSort" value="#{pipe_messages['part.title']}" /> <h:graphicImage style="border-width:0" value="/images/ascending-arrow.gif" rendered="#{pipeShoppingCartBean.sortedByTitleAsc}" /> <h:graphicImage style="border-width:0" value="/images/descending-arrow.gif" rendered="#{pipeShoppingCartBean.sortedByTitleDesc}" /> </a4j:commandLink> </f:facet> <!-- row is also available --> <h:outputText value="#{part.attributeBean.attributes['title'][pipeUserContainer.localeAsString]}" /> </t:column> <t:column style="vertical-align: center"> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.lot_size']}" /> </f:facet> <!-- row is also available --> <h:panelGrid columns="2"> <t:column> <h:outputText value="#{part.lotSize}" /> </t:column> <t:column rendered="#{part.lotSizeInvalid}"> <h:graphicImage value="/images/error_mark.gif" alt="#{pipe_messages['part.lot_size_invalid']}#{part.lotSizeInvalidValue}" /> </t:column> </h:panelGrid> </t:column> <t:column style="width:40px"> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.finish']}" /> </f:facet> <!-- row is also available --> <h:panelGrid columns="2"> <t:column> <h:outputText rendered="#{pipeShoppingCartBean.onlyOneFinish}" value="#{pipeShoppingCartBean.finish}" /> <t:selectOneMenu binding="#{htmlInputSelectCartFinish.valueRef}" immediate="false" value="#{(pipeShoppingCartBean.finish)}" rendered="#{(!pipeShoppingCartBean.onlyOneFinish)&&(pipeShoppingCartBean.finish!=null)}"> <f:selectItems value="#{pipeShoppingCartBean.finishList}" /> <a4j:support event="onchange" immediate="true" action="#{htmlInputSelectCartFinish.change}" reRender="idPrice,idPartsPrice,idPriceTotal,idShoppingCartAction,idFinishInvalid" /> </t:selectOneMenu> </t:column> <a4j:outputPanel id="idFinishInvalid"> <t:column rendered="#{part.finishInvalid}"> <h:graphicImage value="/images/error_mark.gif" alt="#{pipe_messages['part.finish_invalid']}#{part.finishInvalidValue}" /> </t:column> </a4j:outputPanel> </h:panelGrid> </t:column> <t:column style="width:px"> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.h_dimension']}" /> </f:facet> <!-- row is also available --> <h:panelGrid id="idHDim" columns="2"> <t:column> <h:inputText id="dimensionH" binding="#{htmlInputTextCartHDim.valueRef}" immediate="false" maxlength="5" size="5" value="#{part.partDimension.dimensionH}" rendered="#{(part.partDimension!=null) && (part.partDimensionMinimum.dimensionH < part.partDimensionMaximum.dimensionH)}" converter="#{partCatalogList.integerConverter}"> <f:validator validatorId="dimensionValidator" /> <a4j:support event="onkeyup" immediate="true" action="#{htmlInputTextCartHDim.change}" reRender="idPrice,idPartsPrice,idPriceTotal,idShoppingCartAction,idHDim" /> </h:inputText> <h:message styleClass="errorMark" for="dimensionH" tooltip="true" showDetail="true" showSummary="false"> </h:message> <h:outputText value="#{part.partDimension.dimensionH}" rendered="#{(part.partDimension!=null) && (part.partDimension.dimensionH > 0) && (part.partDimensionMinimum.dimensionH == part.partDimensionMaximum.dimensionH)}"> </h:outputText> </t:column> <t:column rendered="#{part.partDimensionInvalid}"> <h:graphicImage value="/images/error_mark.gif" alt="#{pipe_messages['part.part_dimension_invalid']}" /> </t:column> </h:panelGrid> </t:column> <t:column> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.v_dimension']}" /> </f:facet> <!-- row is also available --> <h:panelGrid id="idVDim" columns="2"> <t:column> <h:inputText id="dimensionV" binding="#{htmlInputTextCartVDim.valueRef}" immediate="false" maxlength="5" size="5" value="#{part.partDimension.dimensionV}" rendered="#{(part.partDimension!=null) && (part.partDimensionMinimum.dimensionV < part.partDimensionMaximum.dimensionV)}" converter="#{partCatalogList.integerConverter}"> <f:validator validatorId="dimensionValidator" /> <a4j:support event="onkeyup" immediate="true" action="#{htmlInputTextCartVDim.change}" reRender="idPrice,idPartsPrice,idPriceTotal,idShoppingCartAction,idVDim" /> </h:inputText> <h:message styleClass="errorMark" for="dimensionV" tooltip="true" showDetail="true" showSummary="false"> </h:message> <h:outputText value="#{part.partDimension.dimensionV}" rendered="#{(part.partDimension!=null) && (part.partDimension.dimensionV > 0) && (part.partDimensionMinimum.dimensionV == part.partDimensionMaximum.dimensionV)}"> </h:outputText> </t:column> <t:column rendered="#{part.partDimensionInvalid}"> <h:graphicImage value="/images/error_mark.gif" alt="#{pipe_messages['part.part_dimension_invalid']}" /> </t:column> </h:panelGrid> </t:column> <t:column style="width:100px"> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.quantity']}" /> </f:facet> <!-- row is also available --> <h:inputText binding="#{htmlInputTextCartQuantity.valueRef}" immediate="false" maxlength="6" size="6" id="quantity" converter="#{partCatalogList.integerConverter}" value="#{part.quantity}"> <a4j:support event="onkeyup" immediate="true" action="#{htmlInputTextCartQuantity.change}" reRender="idPrice,idPartsPrice,idPriceTotal,idShoppingCartAction,idQuantityTotal,idMessageQuantity" /> </h:inputText> <a4j:outputPanel id="idMessageQuantity"> <h:message styleClass="errorMark" for="quantity" tooltip="true" showDetail="true" showSummary="false" title="#{pipe_messages['error.quantity_integer']}"> </h:message> </a4j:outputPanel> </t:column> <t:column style="width:100px"> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.quantity_total']}" /> </f:facet> <h:outputText id="idQuantityTotal" value="#{part.quantityTotal}" /> </t:column> <t:column style="width:100px"> <f:facet name="header"> <h:outputText value="#{pipe_messages['part.price']}" /> </f:facet> <!-- row is also available --> <h:outputText id="idPrice" value="#{part.price}"> <f:convertNumber currencySymbol="€" groupingUsed="#{true}" maxFractionDigits="2" type="currency" /> </h:outputText> </t:column> <f:facet name="footer"> <rich:subTable var="partprice" value="#{pipeShoppingCartBean.partsPrice}" rows="1"> <rich:columnGroup> <rich:column colspan="9" style="text-align:right"> <h:outputText value="#{pipe_messages['cart.parts_price']}" styleClass="totalClass" /> </rich:column> <rich:column> <h:outputText id="idPartsPrice" value="#{pipeShoppingCartBean.partsPrice}" styleClass="totalClass"> <f:convertNumber currencySymbol="€" groupingUsed="#{true}" maxFractionDigits="2" type="currency" /> </h:outputText> </rich:column> </rich:columnGroup> </rich:subTable> </f:facet> </rich:dataTable> </t:column> <t:column> <a4j:outputPanel id="idPriceTotal"> <t:panelGrid columns="2" style="text-align:right"> <rich:column style="text-align:right"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.parts_price']}" /> </rich:column> <rich:column> <h:outputText value="#{pipeShoppingCartBean.partsPrice}"> <f:convertNumber currencySymbol="€" groupingUsed="#{true}" maxFractionDigits="2" type="currency" /> </h:outputText> </rich:column> <rich:column rendered="#{(pipeShoppingCartBean.quantityDiscount !=null) && (pipeShoppingCartBean.quantityDiscount != 0)}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.quantity_discount']}" /> </rich:column> <rich:column style="text-align:'right'" rendered="#{(pipeShoppingCartBean.quantityDiscount !=null) && (pipeShoppingCartBean.quantityDiscount != 0)}"> <h:outputText value="#{pipeShoppingCartBean.quantityDiscount}"> <f:convertNumber currencySymbol="€" groupingUsed="#{true}" maxFractionDigits="2" type="currency" /> </h:outputText> </rich:column> <rich:column rendered="#{(pipeShoppingCartBean.otherDiscount !=null) && (pipeShoppingCartBean.otherDiscount != 0)}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.other_discount']}"> <f:convertNumber currencySymbol="€" groupingUsed="#{true}" maxFractionDigits="2" type="currency" /> </h:outputText> </rich:column> <rich:column style="text-align:'right'" rendered="#{(pipeShoppingCartBean.otherDiscount !=null) && (pipeShoppingCartBean.otherDiscount != 0)}"> <h:outputText value="#{pipeShoppingCartBean.otherDiscount}"> <f:convertNumber currencySymbol="€" groupingUsed="#{true}" maxFractionDigits="2" type="currency" /> </h:outputText> </rich:column> <rich:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.total_price']}" /> </rich:column> <rich:column style="text-align:'right'"> <h:outputText value="#{pipeShoppingCartBean.totalPrice}"> <f:convertNumber currencySymbol="€" groupingUsed="#{true}" maxFractionDigits="2" type="currency" /> </h:outputText> </rich:column> </t:panelGrid> </a4j:outputPanel> </t:column> </t:panelGrid> </t:column> </t:panelGrid> </rich:tab> <rich:tab name="tabDelivery" label="#{pipe_messages['cart.delivery_view']}" action="#{pipeShoppingCartBean.doSelectTabDelivery}"> <f:subview id="subviewDelivery"> <h:panelGrid id="idCartDelivery" columns="3"> <h:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.expected_date']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column> <a4j:outputPanel id="idCalendar" layout="block"> <rich:calendar value="#{pipeShoppingCartBean.expectedDate}" locale="#{pipeUserContainer.locale}" pipeup="true" datePattern="dd/MM/yyyy" converter="dateConverter" reRender="idCalendar"> </rich:calendar> </a4j:outputPanel> </h:column> <h:column> <t:message styleClass="errorMessage" for="expectedDate" /> </h:column> <h:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.delivery_type']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column> <h:selectOneRadio binding="#{htmlInputRadioCartDeliveryType.valueRef}" value="#{pipeShoppingCartBean.deliveryType}"> <f:selectItems value="#{pipeShoppingCartBean.deliveryTypeList}" /> <a4j:support event="onclick" immediate="true" action="#{htmlInputRadioCartDeliveryType.change}" reRender="idCartDelivery" /> </h:selectOneRadio> </h:column> <h:column> </h:column> <h:column rendered="#{pipeShoppingCartBean.deliveryTypeDDU}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.bd_address']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{pipeShoppingCartBean.deliveryTypeDDU}"> <h:selectOneRadio binding="#{htmlInputRadioCartDeliveryBdAddress.valueRef}" value="#{pipeShoppingCartBean.deliveryBdAddress}"> <f:selectItem itemValue="true" itemLabel="#{pipe_messages['cart.bd_address_yes']}" /> <f:selectItem itemValue="false" itemLabel="#{pipe_messages['cart.bd_address_no']}" /> <a4j:support event="onclick" immediate="true" action="#{htmlInputRadioCartDeliveryBdAddress.change}" reRender="idCartDelivery" /> </h:selectOneRadio> </h:column> <h:column rendered="#{pipeShoppingCartBean.deliveryTypeDDU}"> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.delivery_company']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:inputText maxlength="27" size="27" id="cartDeliveryCompany" value="#{pipeShoppingCartBean.deliveryCompany}"> </h:inputText> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.delivery_street']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:inputText maxlength="27" size="27" id="cartDeliveryStreet" value="#{pipeShoppingCartBean.deliveryStreet}"> </h:inputText> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.delivery_postal_code']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:inputText maxlength="27" size="27" id="cartDeliveryPostalCode" value="#{pipeShoppingCartBean.deliveryPostalCode}"> </h:inputText> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.delivery_city']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:inputText maxlength="27" size="27" id="cartDeliveryCity" value="#{pipeShoppingCartBean.deliveryCity}"> </h:inputText> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.delivery_country']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> <h:selectOneMenu value="#{pipeShoppingCartBean.deliveryCountry}"> <f:selectItems value="#{pipeShoppingCartBean.deliveryCountryList}" /> </h:selectOneMenu> </h:column> <h:column rendered="#{(pipeShoppingCartBean.deliveryTypeDDU)&&(!pipeShoppingCartBean.deliveryBdAddress)}"> </h:column> <h:column rendered="#{pipeShoppingCartBean.deliveryTypeJob}"> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.delivery_job_number']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column rendered="#{pipeShoppingCartBean.deliveryTypeJob}"> <h:inputText maxlength="6" size="6" id="cartDeliveryJobNumber" value="#{pipeShoppingCartBean.deliveryJobNumberAsString}"> </h:inputText> </h:column> <h:column> </h:column> </h:panelGrid> </f:subview> </rich:tab> <rich:tab name="tabComment" id="idPanelComment" label="#{pipe_messages['cart.comment_view']}" action="#{pipeShoppingCartBean.doSelectTabComment}"> <h:graphicImage styleClass="bulletbadnil" value="/images/bullet-badnil.gif" /> <h:commandLink id="idButtonEditComments" action="#{pipeShoppingCartBean.doChangeComments}" value="#{pipe_messages['cart.button_change_comments']}" /> <h:panelGrid columns="2"> <h:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.comments']}" /> <f:verbatim>: </f:verbatim> </h:column> <h:column> <div style="overflow: auto; border: 1px; border-style: solid; width: 550px; position: relative; left: 0; top: 0"> <h:outputText id="myTextArea" escape="false" value="#{pipeShoppingCartBean.comments}" /> <div> </h:column> </h:panelGrid> </rich:tab> <rich:tab name="tabUpload" id="idPanelUpload" label="#{pipe_messages['cart.attachment_view']}" action="#{pipeShoppingCartBean.doSelectTabUpload}"> <h:graphicImage styleClass="bulletbadnil" value="/images/bullet-badnil.gif" /> <h:commandLink id="idButtonUpload" action="#{pipeShoppingCartBean.doUploadPage}" value="#{pipe_messages['cart.upload_a_file']}" /> <t:panelGrid> <h:column rendered="#{pipeShoppingCartBean.uploadedFilesCount > 0}"> <a4j:commandButton action="#{pipeShoppingCartBean.doDeleteFiles}" onmouseover="this.className='mybutton_on'" onmouseout="this.className='mybutton_off'" styleClass="mybutton_off" value="#{pipe_messages['cart.delete_selected_files']}"></a4j:commandButton> </h:column> </t:panelGrid> <h:panelGrid columns="2"> <h:column> <h:outputText styleClass="inputLabelClass" value="#{pipe_messages['cart.attachements']}" /> <f:verbatim>:</f:verbatim> </h:column> <h:column> <t:dataTable id="dataFiles" rendered="#{pipeShoppingCartBean.uploadedFilesCount > 0}" rowOnMouseOver="this.style.backgroundColor='#EAEAEA'" rowOnMouseOut="this.style.backgroundColor='#ECF5FC'" rowOnClick="this.style.backgroundColor='#FFDFAE'" rowOnDblClick="this.style.backgroundColor='#E0E0E0'" var="file" value="#{pipeShoppingCartBean.uploadedFilesDataModel}" preserveDataModel="false"> <t:saveState id="file" value="#{file}" /> <t:column> <t:selectBooleanCheckbox value="#{file.selected}" /> </t:column> <h:column> <!-- row is also available --> <h:commandLink action="#{pipeShoppingCartBean.doViewFile}" value="#{file.fileName}" target="_new" /> </h:column> <h:column> <!-- row is also available --> <h:commandLink action="#{pipeShoppingCartBean.doGetFile}" value="#{pipe_messages['action.save_as']}" target="_new" /> </h:column> </t:dataTable> </h:column> </h:panelGrid> </rich:tab> </rich:tabPanel> </rich:panel> </t:column> </t:panelGrid> </a4j:form> <%@include file="/messages/notLoggedPanel.jsp"%> <%@include file="/footer.jsp"%> </body> </html> </f:view>
-
8. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
nbelaevski Nov 29, 2007 10:33 AM (in response to carlhowarth)Please provide some more info about server env.
-
9. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
ilya_shaikovsky Nov 29, 2007 10:54 AM (in response to carlhowarth)So.. if there is any errors or warning in a4j:log?
B.t.w. As I told you earlier working under sample war will be faster. -
10. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
jim20100 Nov 30, 2007 6:05 AM (in response to carlhowarth)Server environment:
1)
tested in Eclipse with the tomcat 5 of Exadel Studio
JRE 1.5
2)
tested in a server tomcat 5.5 with jdk1.5
3) on the web.xml I use "client" for javax.faces.STATE_SAVING_METHOD
4) nothing in the a4j:log
5) Internet Explorer
The problem:
Same result: during the downloading of your libraries on the browser a click on ajax components (Button, menu) does not work.
After several click, everything is ok.
6) FIREFOX
The same problem but worse.
When I click on the menu I go back to the previous page (ex:login page).
IT IS A STARTUP PROBLEM on the BROWSER. -
11. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
jim20100 Nov 30, 2007 6:11 AM (in response to carlhowarth)The same problem with the "server" option.
For Ilya, It is impossible for me to make a war, it is a complete professional application.
Please Help me, I am sure I am not alone to get this error. -
12. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
thedrake Nov 30, 2007 9:49 AM (in response to carlhowarth)You are not alone, my app freezes too sometimes.... the worse thing is that it seems completelly random, and when it happens, everything is jammed and there is a message saying that the page is loading....
-
13. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
thedrake Nov 30, 2007 10:23 AM (in response to carlhowarth)to be more precise the loading message i am having right now is (roughly) :
Image loading : http://10.4.xx.xx/project/a4j_3_1_0org.richfaces.renderkit.html.iconimages.CalendarIcon/DATB/eAJ7cW0fw6znAA8XBA4_.jsf -
14. Re: Problem with RichFaces and Internet Explorer 6 - Stuck '
jim20100 Dec 3, 2007 3:16 AM (in response to carlhowarth)Fabulous Four users with the same error.
someone else with the same error?
someone else with a solution to load richfaces components ?
Hope we will get a response today, because for me it is URGENT !!!