[JBoss JIRA] Created: (RF-3807) toolTip appears behind selectOneMenu in ie6
by Martin Denham (JIRA)
toolTip appears behind selectOneMenu in ie6
-------------------------------------------
Key: RF-3807
URL: http://jira.jboss.com/jira/browse/RF-3807
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JSF RI 1.2_07, Facelets 1.1.13, Internet Explorer 6
Reporter: Martin Denham
In ie6 rich:toolTip displays behind adjacent selectOneMenu components.
I have seen this error in the forum before but there was no solution other than upgrading to ie7 which is not an option for us: http://jboss.com/index.html?module=bb&op=viewtopic&t=124958
I raised the issue in the forum yesterday but have had no response yet: http://jboss.com/index.html?module=bb&op=viewtopic&t=138115
Example code:
<h:form>
<t:panelGrid columns="2">
<h:outputText value="Enter your annual consumption"/>
<h:inputText id="testTooltip">
<rich:toolTip for="testTooltip" zorder="99">
<table><tr><th>Header 1</th><th>Header 2</th></tr>
<tr><td>row 1</td><td>10,000</td></tr>
<tr><td>row 2</td><td>15,000</td></tr>
<tr><td>row 3</td><td>25,000</td></tr>
</table>
</rich:toolTip>
</h:inputText>
<h:outputText value="Select something here"/>
<h:selectOneMenu id="gasPaymentMethod2">
<f:selectItem itemLabel="First item" itemValue="1"/>
</h:selectOneMenu>
</t:panelGrid>
</h:form>
Thanks
Martin
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[JBoss JIRA] Created: (RF-3578) toolTip: "defaultContent" facet doesn't work this component.
by Mikhail Vitenkov (JIRA)
toolTip: "defaultContent" facet doesn't work this component.
------------------------------------------------------------
Key: RF-3578
URL: http://jira.jboss.com/jira/browse/RF-3578
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE, FF, Safari, Opera(3.2.1.CR8)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Try to use "defaultContent" facet, as described on RichFaces Development Guide. See code:
<rich:toolTip followMouse="true" direction="top-right" mode="ajax" value="test facet" horizontalOffset="5"
verticalOffset="5" layout="block">
<f:facet name="defaultContent">
<f:verbatim>DEFAULT toolTip CONTENT</f:verbatim>
</f:facet>
</rich:toolTip>
Actual behavior:
"DEFAULT toolTip CONTENT" appears for a short time & then "test facet" appear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[JBoss JIRA] Created: (RF-3496) inplaceSelect: list size too small
by Ilya Shaikovsky (JIRA)
inplaceSelect: list size too small
----------------------------------
Key: RF-3496
URL: http://jira.jboss.com/jira/browse/RF-3496
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assigned To: Vladimir Molotkov
Fix For: 3.2.1
inplace select demo page.
simple.xhtml snippet
change the code to
<rich:inplaceSelect value="#{inplaceComponentsBean.inputValue}"
defaultLabel="Click here to edit">
<f:selectItem itemValue="0" itemLabel="Option 1" />
<f:selectItem itemValue="1" itemLabel="Option 2" />
</rich:inplaceSelect>
open in IE7
if you add one or two options list will be enlarged but not enough vertical scroller still present,.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[JBoss JIRA] Created: (RF-3833) <a4j:support> does not rerender specified component for newly added rows in a datatable
by Tareq Nabeel (JIRA)
<a4j:support> does not rerender specified component for newly added rows in a datatable
---------------------------------------------------------------------------------------
Key: RF-3833
URL: http://jira.jboss.com/jira/browse/RF-3833
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBoss 4.2.2 / Seam 2.0.2 / RichFaces 3.2.1 / Facelets 1.1.14
Reporter: Tareq Nabeel
When page is loaded initially and page size is 2, clicking on table rows causes <h:outputText id="myText"> to rerender correctly.
However, when page size is increased to 4, clicking on the added rows (3 and 4) does not rerender "myText". Clicking on rows 1 and 2 still updates "myText" correctly.
<a4j:log> output for good rows clicks:
Response content:
<body>
<span id="text">event 1</span>
<meta name="Ajax-Update-Ids" content="text" />
</body>
Message: Find <meta name='Ajax-Update-Ids' content='text'>
<a4j:log> output for bad rows clicks:
Response content:
<body> does not contain the information above but <head> section contains
<meta name="Ajax-Update-Ids" content="" />
Message: "no information in response about elements to replace"
Here's the code:
====================================================================
package com.jdsu.ntcems.webapp.event.action;
import java.util.ArrayList;
import java.util.List;
import javax.faces.model.DataModel;
import javax.faces.model.ListDataModel;
import javax.faces.model.SelectItem;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;
@Name("testEventList")
public class TestEventList {
private DataModel eventsModel = new ListDataModel();
private int pageSize = 2;
private List<String> events = new ArrayList<String>();
@In(required = false)
@Out(scope = ScopeType.PAGE, required = false)
private Integer rowKeyVar;
public TestEventList() {
events.add("event 1");
events.add("event 2");
events.add("event 3");
events.add("event 4");
events.add("event 5");
events.add("event 6");
}
public List<SelectItem> getPageSizes() {
List<SelectItem> pageSizeOptions = new ArrayList<SelectItem>();
pageSizeOptions.add(new SelectItem(new Integer(2), "2"));
pageSizeOptions.add(new SelectItem(new Integer(4), "4"));
pageSizeOptions.add(new SelectItem(new Integer(6), "6"));
return pageSizeOptions;
}
public DataModel getEvents() {
eventsModel.setWrappedData(events.subList(0, pageSize));
return eventsModel;
}
public String getSelectedEvent() {
if (rowKeyVar==null) {
rowKeyVar = 0;
}
eventsModel.setRowIndex(this.rowKeyVar.intValue());
return (String) eventsModel.getRowData();
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public void noOp() {
System.out.println("********noOp() rowKeyVar="+rowKeyVar);
}
}
====================================================================
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition 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:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:s="http://jboss.com/products/seam/taglib" >
<a4j:log popup="false" level="ALL" style="width: 880px; height: 200px;"></a4j:log>
<h:form id="form">
<rich:dataTable id="table" rowKeyVar="rowKeyVar" value="#{testEventList.events}" var="event" >
<rich:column>
<f:facet name="header">
<h:outputText value="Event" />
</f:facet>
<div id="eventName">
#{event}
<a4j:support event="onclick" reRender="text" action="#{testEventList.noOp}" />
</div>
</rich:column>
</rich:dataTable>
<h:panelGrid columns="2">
<h:outputText value="Page Size:"/>
<h:selectOneMenu value="#{testEventList.pageSize}" >
<f:selectItems value="#{testEventList.pageSizes}" />
<a4j:support event="onchange" reRender="table,text" />
</h:selectOneMenu>
</h:panelGrid>
</h:form>
<h:outputText id="text" value="#{testEventList.selectedEvent}" />
</ui:composition>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[JBoss JIRA] Created: (RF-3654) tabPanel: labelWidth doesn't work in case image inside component.
by Mikhail Vitenkov (JIRA)
tabPanel: labelWidth doesn't work in case image inside component.
-----------------------------------------------------------------
Key: RF-3654
URL: http://jira.jboss.com/jira/browse/RF-3654
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: IE6, IE7, FF, Safari, Opera(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Priority: Minor
Step 1. Create tabPanel with image inside:
<rich:tabPanel...
<rich:tab id="tabTwo" label="Tab with image" disabled="#{tabPanel.disabledTab}">
<f:facet name="header">
<h:outputText value="client switchType from facet" />
</f:facet>
<h:graphicImage value="/pics/masshtaby_01.jpg" width="560" height="383"></h:graphicImage>
</rich:tab>
...
</rich:tabPanel>
Step 2. Set labelWidth="10".
Step 3. Navigate to page contained tabPanel.
Step 4. Select tab with image.
Step 5. Verify label width.
Actual behavior:
When tab isn't selected label width the same as set in labelWidth attribute.
When you select tab with image - label change it width.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months