[JBoss JIRA] Created: (RF-1159) Scrollable Data Table has broken.
by Konstantin Mishin (JIRA)
Scrollable Data Table has broken.
---------------------------------
Key: RF-1159
URL: http://jira.jboss.com/jira/browse/RF-1159
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Konstantin Mishin
Assigned To: Konstantin Mishin
Priority: Minor
Fix For: 3.2.0
<ui:define name="leftsidebar">
<rich:panel>
<h:form>
<ajax:region>
<rich:spacer height="30" />
<rich:scrollableDataTable rowKeyVar="rkv" frozenColCount="1" height="400px"
width="700px" id="agencyList" rows="40" columnClasses="col"
value="#{notificationManager.getAgencies()}" var="agency" sortMode="single">
<rich:column id="agencyName">
<f:facet name="header"><h:outputText styleClass="headerText" value="Agency" /></f:facet>
<h:outputText value="#{agency.agencyName}" />
</rich:column>
</rich:scrollableDataTable>
</ajax:region>
</h:form>
</rich:panel>
</ui:define>
--
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-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