[JBoss JIRA] Created: (RF-1013) Calendar - unable to disable specific date
by Maksim Kaszynski (JIRA)
Calendar - unable to disable specific date
------------------------------------------
Key: RF-1013
URL: http://jira.jboss.com/jira/browse/RF-1013
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Maksim Kaszynski
Assigned To: Alexej Kushunin
Priority: Critical
Fix For: 3.1.1, 3.2.0
See calendar in calendar sample.
<calendar:calendar id="calendar" dataModel="#{calendarDataModel}"
I set some items to have enabled true, and some to be enabled false.
{deLabel=01.09.2007, enLabel=Sep 1, 2007, frLabel=1 sept. 2007} false
{deLabel=02.09.2007, enLabel=Sep 2, 2007, frLabel=2 sept. 2007} true
{deLabel=03.09.2007, enLabel=Sep 3, 2007, frLabel=3 sept. 2007} true
{deLabel=04.09.2007, enLabel=Sep 4, 2007, frLabel=4 sept. 2007} false
{deLabel=05.09.2007, enLabel=Sep 5, 2007, frLabel=5 sept. 2007} true
{deLabel=06.09.2007, enLabel=Sep 6, 2007, frLabel=6 sept. 2007} true
{deLabel=07.09.2007, enLabel=Sep 7, 2007, frLabel=7 sept. 2007} true
{deLabel=08.09.2007, enLabel=Sep 8, 2007, frLabel=8 sept. 2007} false
{deLabel=09.09.2007, enLabel=Sep 9, 2007, frLabel=9 sept. 2007} false
{deLabel=10.09.2007, enLabel=Sep 10, 2007, frLabel=10 sept. 2007} true
{deLabel=11.09.2007, enLabel=Sep 11, 2007, frLabel=11 sept. 2007} true
{deLabel=12.09.2007, enLabel=Sep 12, 2007, frLabel=12 sept. 2007} false
{deLabel=13.09.2007, enLabel=Sep 13, 2007, frLabel=13 sept. 2007} true
{deLabel=14.09.2007, enLabel=Sep 14, 2007, frLabel=14 sept. 2007} false
{deLabel=15.09.2007, enLabel=Sep 15, 2007, frLabel=15 sept. 2007} false
{deLabel=16.09.2007, enLabel=Sep 16, 2007, frLabel=16 sept. 2007} false
{deLabel=17.09.2007, enLabel=Sep 17, 2007, frLabel=17 sept. 2007} true
{deLabel=18.09.2007, enLabel=Sep 18, 2007, frLabel=18 sept. 2007} true
{deLabel=19.09.2007, enLabel=Sep 19, 2007, frLabel=19 sept. 2007} false
{deLabel=20.09.2007, enLabel=Sep 20, 2007, frLabel=20 sept. 2007} false
{deLabel=21.09.2007, enLabel=Sep 21, 2007, frLabel=21 sept. 2007} true
{deLabel=22.09.2007, enLabel=Sep 22, 2007, frLabel=22 sept. 2007} true
{deLabel=23.09.2007, enLabel=Sep 23, 2007, frLabel=23 sept. 2007} false
{deLabel=24.09.2007, enLabel=Sep 24, 2007, frLabel=24 sept. 2007} true
{deLabel=25.09.2007, enLabel=Sep 25, 2007, frLabel=25 sept. 2007} true
{deLabel=26.09.2007, enLabel=Sep 26, 2007, frLabel=26 sept. 2007} false
{deLabel=27.09.2007, enLabel=Sep 27, 2007, frLabel=27 sept. 2007} true
{deLabel=28.09.2007, enLabel=Sep 28, 2007, frLabel=28 sept. 2007} false
{deLabel=29.09.2007, enLabel=Sep 29, 2007, frLabel=29 sept. 2007} false
{deLabel=30.09.2007, enLabel=Sep 30, 2007, frLabel=30 sept. 2007} true
However, all dates are enabled.
--
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-993) drag-n-drop on the tree: Problem with Netscape 7.1
by Sergey Smirnov (JIRA)
drag-n-drop on the tree: Problem with Netscape 7.1
--------------------------------------------------
Key: RF-993
URL: http://jira.jboss.com/jira/browse/RF-993
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Sergey Smirnov
Assigned To: Maksim Kaszynski
Fix For: 3.2.0
Quote: "
I solved the problem! The following lines in observeEvents of tree-item.js are meant to optimize the code in IE, but prevent Netscape 7 & 8 from working correctly:
observeEvents: function(element) {
var cells = element.rows[0].cells;
//seeking by id seems to be miserably slow in IE than by index
var eIcon = cells[this.elementID.icon];
var eText = cells[this.elementID.text];
Somehow the cells do NOT have an id, so you cant access them!!!
I replaced it with :
observeEvents: function(element) {
var eIcon = $(this.elementID.icon);
var eText = $(this.elementID.text);
"
--
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-932) ModalPanel: js error activating by oncomplete
by Nick Belaevski (JIRA)
ModalPanel: js error activating by oncomplete
---------------------------------------------
Key: RF-932
URL: http://jira.jboss.com/jira/browse/RF-932
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Environment: IE7
Reporter: Nick Belaevski
Assigned To: Pavel Yaschenko
Fix For: 3.2.0
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<html>
<head>
<title>Test</title>
<script type="text/javascript">
function show() {
alert("Showing Model Dialog");
Richfaces.showModalPanel('msgPanel')
}
</script>
</head>
<body>
<f:view>
<a4j:status>
<f:facet name="start">
<f:verbatim><span class="loading">Working..</span></f:verbatim>
</f:facet>
</a4j:status>
<rich:modalPanel id="msgPanel" width="200" height="200">
<f:facet name="header">
<h:outputText value="Selected Message"/>
</f:facet>
<h:panelGroup id="msgPanel1">
<h:outputText value="#{testBean.selected}"/>
<button type="button" onclick="Richfaces.hideModalPanel('msgPanel')">Close</button>
</h:panelGroup>
</rich:modalPanel>
<h:form>
<rich:dataTable id="msgList" binding="#{testBean.table}" width="97%" value="#{testBean.messages}" var="msg">
<f:facet name="header">
<rich:columnGroup>
<h:column>
<h:outputText styleClass="headerText" value="Message"/>
</h:column>
</rich:columnGroup>
</f:facet>
<h:column>
<a4j:commandLink action="#{testBean.select}" value="#{msg}" reRender="msgPanel"
oncomplete="show();"/>
</h:column>
</rich:dataTable>
</h:form>
</f:view>
</body>
</html>
click link, JS error occurs: panel HTML element is found, but modalPanel property doesn't exist
--
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