[JBoss JIRA] Created: (RF-1144) TabPanel. Header spacing encodes wrong.
by Ilya Shaikovsky (JIRA)
TabPanel. Header spacing encodes wrong.
---------------------------------------
Key: RF-1144
URL: http://jira.jboss.com/jira/browse/RF-1144
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.2, 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Sergey Halipov
Fix For: 3.2.0
<rich:tabPanel switchType="ajax" id="tab" selectedTab="tab2" headerSpacing="10">
with headerSpacing non null in result HTML td elements with spacer.gif inside generated and width for this images is as specified in attribute.
<rich:tabPanel switchType="ajax" id="tab" selectedTab="tab2" headerSpacing="0">
With this definition - spacer.gif generated without width at all. So in browser it's displayed and has 1-3 px size. If I set width="0" using firebug - it's dispayed as need (without any spacing between tabs.)
--
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
16 years, 11 months
[JBoss JIRA] Created: (RF-998) Tooltip: annoying exception in FF
by Maksim Kaszynski (JIRA)
Tooltip: annoying exception in FF
---------------------------------
Key: RF-998
URL: http://jira.jboss.com/jira/browse/RF-998
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Maksim Kaszynski
Assigned To: Alexej Kushunin
Priority: Minor
Fix For: 3.2.0
Hi! I have the following code:
Code:
<h:form style="display: inline;">
<table align="center">
<tr>
<td colspan="3"><h:messages layout="table" globalOnly="true"
styleClass="errorMessage" id="globalMessages" /></td>
</tr>
<tr>
<td>#{userMsg.user}</td>
<td><h:inputText id="userName" value="#{user.userName}"
required="true">
<rich:toolTip value="????? 3 ? 16 ???????" />
<f:validateLength minimum="3" maximum="16" />
</h:inputText></td>
<td><h:message styleClass="errorMessage" for="userName" /></td>
</tr>
.....
On mouseover and on mouseout on the input filed the tooltip is shown/hidden but javascript exception is thrown
Code:
[Exception... "'Permission denied to get property HTMLDivElement.parentNode' when calling method: [nsIDOMEventListe
ner::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Line 0
This is the rendered html
Code:
<td>
<!-- h:styles>
/org/richfaces/renderkit/html/css/tooltip.xcss
</h:styles>
<h:scripts>
new org.ajax4jsf.framework.resource.PrototypeScript(),
new org.ajax4jsf.framework.ajax.AjaxScript(),
/org/richfaces/renderkit/html/scripts/utils.js,
/org/richfaces/renderkit/html/scripts/tooltip.js
</h:scripts--><span class="dr-rich-tool-tip rich-tool-tip" id="j_id45:j_id48" style="position: absolute; display : none;z-index:99;">
<span id="j_id45:j_id48content">????? 3 ? 16 ???????</span><span id="j_id45:j_id48script" style="display:none">
<script type="text/javascript" id="scriptj_id45:j_id48">//<![CDATA[
new ToolTip({'onhide':'','event':'mouseover','onshow':'','delay':0,'oncomplete':''} ,"j_id45:j_id48","j_id45:userName","client",false,"bottom-right",false,10,10,
"A4J.AJAX.Submit('_viewRoot','j_id45',event,ajaxOptions)",
{'parameters':{'j_id45:j_id48':'j_id45:j_id48'} ,'actionUrl':'/Bts/pages/user/edit.jsf','oncomplete'
:function(request,event,data)
{;Richfaces.tooltips['j_id45:userName'].toolTip = $('j_id45:j_id48');;Richfaces.tooltips['j_id45:use
rName'].toolTipContent = $('j_id45:j_id48content');;Richfaces.tooltips['j_id45:userName'].displayDiv
();},'control':this,
'onbeforedomupdate':function(request,event,data){;Richfaces.tooltips['j_id45:userName'].toolTip.styl
e.display = 'none';}} );;
//]]>
</script></span></span><!-- f:call name="utils.encodeEndFormIfNessesary"/--><input id="j_id45:userName" type="text" name="j_id45:userName" />
</td>
Should the cdk tags appear in the rendered html - like h:scripts, etc
P.S. There are errors but the tooltip is still working.
--
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
16 years, 11 months
[JBoss JIRA] Created: (RF-1065) Calendar in popup mode doesn't work properly on FF when used within a facelet template
by Olivier Thierry (JIRA)
Calendar in popup mode doesn't work properly on FF when used within a facelet template
--------------------------------------------------------------------------------------
Key: RF-1065
URL: http://jira.jboss.com/jira/browse/RF-1065
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Environment: Richfaces 3.1.0 + Seam 2.0.0.CR1 + JSF 1.2 (Sun-RI) + JBoss 4.2.0
Reporter: Olivier Thierry
When you use a calendar component in a facelet view using facelet templating (i.e. within a <ui:define> tag), the calendar component doesn't work propertly in popup mode. On FF 2.0.0.7, when you try to change month with << or >> links, the popup just closes ... It works on IE 6 (except that the popup opens at a wrong position). I could not test on IE 7 since I have not installed it.
Everything works well when you use the calendar with popup=false
There is no more problem when you don't use templates.
For example :
<!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:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
<ui:composition template="/WEB-INF/templates/template.xhtml">
<ui:define name="body">
<f:view>
<rich:messages />
<h:form>
<h:outputText value="#{messages['label.dateNaissance']} :"></h:outputText>
<rich:calendar
id="dateNaissance"
value="#{employe.dateNaissance}"
datePattern="#{messages['datePattern']}"
popup="true"
locale="#{locale}"
enableManualInput="true"
required="true" />
<h:commandButton id="modifier" value="#{messages['label.modifier']}" action="#{employeCrud.update}" rendered="#{employe.id != null}" />
<h:commandButton id="creer" value="#{messages['label.valider']}" action="#{employeCrud.create}" rendered="#{employe.id == null}" />
<h:commandButton id="supprimer" value="#{messages['label.supprimer']}" action="#{employeCrud.delete}" rendered="#{employe.id != null}" />
<h:commandButton id="annuler" value="#{messages['label.annuler']}" action="#{employeCrud.annuler}" immediate="true" />
</h:form>
</f:view>
</ui:define>
</ui:composition>
</html>
--
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
16 years, 11 months