[JBoss JIRA] (RF-12057) IE 8 rich:toolTip client side toolTip has problems rendering upon ajax request
by Gurinder Randhawa (JIRA)
Gurinder Randhawa created RF-12057:
--------------------------------------
Summary: IE 8 rich:toolTip client side toolTip has problems rendering upon ajax request
Key: RF-12057
URL: https://issues.jboss.org/browse/RF-12057
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 4.1.0.Final
Environment: Windows 7, IE 8
Reporter: Gurinder Randhawa
Rich:Tooltip in client mode does not refresh upon an ajax event specifically in IE 8. A large part of external clients utilize IE 8 unfortunately. The tool tip is working correctly in IE 9, chrome and FF 7+.
The tool tip is refreshed on next ajax request with "previous" ajax response.
TOOL TIP CODE:
===============
<rich:tooltip id="ttPriceBreakDown" styleClass="toolTip" for="totalPrice" mode="client">
<table class="toolTipTable1" border="0" cellpadding="2" cellspacing="0">
<tr>
<td><h:outputText id="lblBase1" value="Base" styleClass="fieldLabel" /></td>
<td></td>
<td><h:outputText id="basePrice1" value="#{pp_.baseRate.price.total}">
<f:convertNumber type="currency" currencySymbol="$" maxFractionDigits="2" />
</h:outputText></td>
</tr>
<a4j:repeat id="rptFactors1" value="#{pp_.factorInputs}" var="factor">
<tr>
<td><h:outputText id="factorDisplayName1" value="#{factor.displayName}" /></td>
<td><h:outputText id="factorValue1" value="#{factor.value}" /></td>
<td></td>
</tr>
</a4j:repeat>
<a4j:repeat id="rptModifiers1" value="#{pp_.modifierPrices}" var="modifier">
<tr>
<ui:fragment rendered="#{modifier.isDiscount()}">
<td><h:outputText id="priceDisc" rendered="#{modifier.calculated}" value="#{modifier.displayName}" styleClass="fieldLabel" /></td>
</ui:fragment>
<ui:fragment rendered="#{modifier.isRider()}">
<td><h:outputText id="priceRider" rendered="#{modifier.calculated}" value="#{modifier.displayName}" styleClass="fieldLabel" /></td>
</ui:fragment>
<ui:fragment rendered="#{not modifier.isRiderOrDiscount()}">
<td><h:outputText id="priceOther" rendered="#{modifier.calculated}" value="#{modifier.modifierType.name}" styleClass="fieldLabel" /></td>
</ui:fragment>
<td><h:outputText id="minFlag1" value="#{m_.min}" rendered="#{modifier.calculated}, #{modifier.applied.minimum}" /> <h:outputText id="maxFlag1" value="#{m_.max}"
rendered="#{modifier.calculated}, #{modifier.applied.maximum}" /></td>
<td><h:outputText id="modifierPriceTotal1" rendered="#{modifier.calculated}" value="#{modifier.price.total}">
<f:convertNumber type="currency" currencySymbol="$" />
</h:outputText></td>
</tr>
</a4j:repeat>
<a4j:outputPanel>
<tr>
<td><h:outputText id="lblTotal" value="Total" styleClass="fieldLabel" /></td>
<td></td>
<td><h:outputText id="ttTotalPrice" value="#{pp_.price.total}">
<f:convertNumber type="currency" currencySymbol="$" />
</h:outputText></td>
</tr>
</a4j:outputPanel>
<a4j:outputPanel>
<tr>
<td><h:outputText id="lblRated1" value="Rated" styleClass="fieldLabel" /></td>
<td></td>
<td><h:outputText id="ratedPrice1" value="#{pp_.lockable.target.ratedPrice.total}">
<f:convertNumber type="currency" currencySymbol="$" />
</h:outputText></td>
</tr>
<tr>
<td><h:outputText id="lblCharged1" value="Charged" styleClass="fieldLabel" /></td>
<td></td>
<td><h:outputText id="chargedPrice1" value="#{pp_.price.total}">
<f:convertNumber type="currency" currencySymbol="$" />
</h:outputText></td>
</tr>
</a4j:outputPanel>
</table>
</rich:tooltip>
AJAX REQUEST CODE, SELECTABLE CHECKBOX WHICH RE-RENDERS TOOLTIP
===============================================================
<h:selectBooleanCheckbox value="#{pp_.selected}" rendered="#{pp_.hasCoverageAssigned()}" disabled="#{pp_.selectDisabled}" id="cbInsured">
<a4j:ajax listener="#{pp_.selectionChanged}" execute="@this" render="#{renderIds},#{selectionChangeRenderIds}" />
</h:selectBooleanCheckbox>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (RF-12054) TabPanel onitemchange of outer tab fired by inner tab
by Przemysław Dębski (JIRA)
Przemysław Dębski created RF-12054:
--------------------------------------
Summary: TabPanel onitemchange of outer tab fired by inner tab
Key: RF-12054
URL: https://issues.jboss.org/browse/RF-12054
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.Final
Reporter: Przemysław Dębski
When changing outer tab, "onitemchange" event of outer tab is fired and alert with text 'onitemchange' is shown.
But when changing inner tab both "onitemchange" event of outer tab and inner tab are fired and two alerts are show, one with text 'onitemchange' and second with 'onitemchange inner'.
It's wrong behaviour, because outer tab is not switched and its "onitemchange" event shouldn't be fired. Same situation with "onbeforeitemchange".
Page code to reproduce:
{code:xml}
<html contentType="text/html" xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core" xmlns:rich="http://richfaces.org/rich">
<h:head></h:head>
<h:body>
<h:form>
<rich:tabPanel onitemchange="alert('onitemchange')">
<rich:tab name="tab1" header="tab1">tab1</rich:tab>
<rich:tab name="tab2" header="tab2">
<rich:tabPanel onitemchange="alert('onitemchange inner')">
<rich:tab name="tabinner1" header="tab inner 1">tab inner 1</rich:tab>
<rich:tab name="tabinner2" header="tab inner 2">tab inner 2</rich:tab>
</rich:tabPanel>
</rich:tab>
</rich:tabPanel>
</h:form>
</h:body>
</html>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (RF-12047) Add "global" attribute to graphValidator
by Gerald Turner (JIRA)
Gerald Turner created RF-12047:
----------------------------------
Summary: Add "global" attribute to graphValidator
Key: RF-12047
URL: https://issues.jboss.org/browse/RF-12047
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-validators
Affects Versions: 4.2.0.Final
Reporter: Gerald Turner
Priority: Trivial
graphValidator appends FacesMessages to the FacesContext with clientId set to the clientId of the graphValidator component, naturally, however I have a use-case for not assigning a clientId to those FacesMessages at all (null, global messages).
The following example exhibits how graphValidator currently works:
<rich:messages for="gv"/>
<rich:graphValidator id="gv" .../>
What I'm asking for is the following:
<p:messages globalOnly="true"/>
<rich:graphValidator id="gv" global="true" .../>
(Conversely I could wishlist PrimeFaces to add a 'for' attribute to their 'messages' component, something like 'for="@global gv"', so no harm in closing this report ;-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months