Author: ppitonak(a)redhat.com
Date: 2011-08-03 10:15:33 -0400 (Wed, 03 Aug 2011)
New Revision: 22589
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/rf10960.xhtml
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/list.xhtml
Log:
new sample for RF-10960 demonstrating problems with tooltip in IE7
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/list.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/list.xhtml 2011-08-03
12:29:38 UTC (rev 22588)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/list.xhtml 2011-08-03
14:15:33 UTC (rev 22589)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:metamer="http://java.sun.com/jsf/composite/metamer">
+
xmlns:metamer="http://java.sun.com/jsf/composite/metamer">
- <!--
+<!--
JBoss, Home of Professional Open Source
Copyright 2010-2011, Red Hat, Inc. and individual contributors
by the @authors tag. See the copyright.txt in the distribution for a
@@ -25,22 +25,26 @@
02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-->
- <ui:composition template="/templates/list.xhtml">
+<ui:composition template="/templates/list.xhtml">
- <ui:define name="pageTitle">Rich Tooltip</ui:define>
+ <ui:define name="pageTitle">Rich Tooltip</ui:define>
- <ui:define name="links">
+ <ui:define name="links">
- <metamer:testPageLink id="simple" outcome="simple"
value="Simple">
+ <metamer:testPageLink id="simple" outcome="simple"
value="Simple">
The sample of <b>rich:tooltip</b> by default targeted to its
parent (rich:panel).
</metamer:testPageLink>
- <metamer:testPageLink id="targetting"
outcome="targetting" value="Targetting">
+ <metamer:testPageLink id="targetting" outcome="targetting"
value="Targetting">
The sample of <b>rich:tooltip</b> with ability to change
target.
</metamer:testPageLink>
- </ui:define>
+ <metamer:testPageLink id="rf10960" outcome="rf10960"
value="RF-10960">
+ Page demonstrating problems with tooltip in IE7.
+ </metamer:testPageLink>
- </ui:composition>
+ </ui:define>
+</ui:composition>
+
</html>
Added:
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/rf10960.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/rf10960.xhtml
(rev 0)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richTooltip/rf10960.xhtml 2011-08-03
14:15:33 UTC (rev 22589)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:metamer="http://java.sun.com/jsf/composite/metamer"
xmlns:rich="http://richfaces.org/rich">
+
+<!--
+JBoss, Home of Professional Open Source
+Copyright 2010-2011, Red Hat, Inc. and individual contributors
+by the @authors tag. See the copyright.txt in the distribution for a
+full listing of individual contributors.
+
+This is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as
+published by the Free Software Foundation; either version 2.1 of
+the License, or (at your option) any later version.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this software; if not, write to the Free
+Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<ui:composition template="/templates/template.xhtml">
+ <ui:param name="componentId" value="richDataTable" />
+
+ <ui:define name="view">
+ <f:metadata>
+ <f:viewParam name="templates"
value="#{templateBean.templates}">
+ <f:converter converterId="templatesListConverter" />
+ </f:viewParam>
+ </f:metadata>
+ </ui:define>
+
+ <ui:define name="head">
+ <h:outputStylesheet library="css" name="richDataTable.css"
/>
+ </ui:define>
+
+ <ui:define name="outOfTemplateBefore">
+ <br />
+ <h:outputText value="Show data in table: " />
+ <h:selectBooleanCheckbox id="noDataCheckbox"
value="#{richDataTableBean.state}">
+ <a4j:ajax render="#{nestedComponentId}" />
+ </h:selectBooleanCheckbox>
+ <br />
+ <br />
+ </ui:define>
+
+ <ui:define name="component">
+
+ <rich:dataTable id="richDataTable"
captionClass="#{richDataTableBean.attributes['captionClass'].value}"
+
columnClasses="#{richDataTableBean.attributes['columnClasses'].value}"
+ first="#{richDataTableBean.attributes['first'].value}"
+
footerClass="#{richDataTableBean.attributes['footerClass'].value}"
+
headerClass="#{richDataTableBean.attributes['headerClass'].value}"
+
keepSaved="#{richDataTableBean.attributes['keepSaved'].value}"
+
noDataLabel="#{richDataTableBean.attributes['noDataLabel'].value}"
+
onrowclick="#{richDataTableBean.attributes['onrowclick'].value}"
+
onrowdblclick="#{richDataTableBean.attributes['onrowdblclick'].value}"
+
onrowkeydown="#{richDataTableBean.attributes['onrowkeydown'].value}"
+
onrowkeypress="#{richDataTableBean.attributes['onrowkeypress'].value}"
+
onrowkeyup="#{richDataTableBean.attributes['onrowkeyup'].value}"
+
onrowmousedown="#{richDataTableBean.attributes['onrowmousedown'].value}"
+
onrowmousemove="#{richDataTableBean.attributes['onrowmousemove'].value}"
+
onrowmouseout="#{richDataTableBean.attributes['onrowmouseout'].value}"
+
onrowmouseover="#{ricDataTableBean.attributes['onrowmouseover'].value}"
+
onrowmouseup="#{richDataTableBean.attributes['onrowmouseup'].value}"
+
rendered="#{richDataTableBean.attributes['rendered'].value}"
+
rowClass="#{richDataTableBean.attributes['rowClass'].value}"
+
rowClasses="#{richDataTableBean.attributes['rowClasses'].value}"
+ rows="#{richDataTableBean.attributes['rows'].value}"
sortMode="#{richDataTableBean.attributes['sortMode'].value}"
+
sortPriority="#{richDataTableBean.attributes['sortPriority'].value}"
+ style="#{richDataTableBean.attributes['style'].value}"
+
styleClass="#{richDataTableBean.attributes['styleClass'].value}"
+ value="#{richDataTableBean.state ? model.capitals : null}"
var="record">
+
+ <rich:column id="columnState">
+ <h:outputText value="#{record.state}" />
+ </rich:column>
+
+ <rich:column id="columnCapital">
+ <h:outputText value="#{record.name}" />
+ </rich:column>
+
+ <rich:column width="40px">
+ <f:facet name="header">
+ <h:outputText value="bubu" />
+ </f:facet>
+
+ <rich:tooltip rendered="#{record.state != 'Alaska' ||
record.state != 'Colorado'}">
+ <span>#{record.state} **** #{record.name}</span>
+ </rich:tooltip>
+
+ <h:inputText id="B" value="#{record.state}"
+ disabled="#{record.state != 'Alaska' and record.state !=
'Colorado'}">
+ </h:inputText>
+ </rich:column>
+
+ </rich:dataTable>
+ </ui:define>
+
+ <ui:define name="outOfTemplateAfter">
+ <metamer:attributes value="#{richDataTableBean.attributes}"
id="attributes" />
+ </ui:define>
+
+</ui:composition>
+</html>
\ No newline at end of file