[JBoss JIRA] Created: (RF-7462) IE: Javascript error when opening a modal panel with an ExtendedDataTable
by Siarhei Yarashevich (JIRA)
IE: Javascript error when opening a modal panel with an ExtendedDataTable
-------------------------------------------------------------------------
Key: RF-7462
URL: https://jira.jboss.org/jira/browse/RF-7462
Project: RichFaces
Issue Type: Bug
Components: browser compatibility
Affects Versions: 3.3.1
Environment: Internet Explorer 6.0
Reporter: Siarhei Yarashevich
Priority: Minor
A javascript error occurs when a modal panel with an ExtendedDataTable has been opened in Internet Explorer 6.
The error occures at line 12959 in ui.pack.js. Here is the current source of the script at this place.
}if(A>D){F[F.length-2].width-=(A-D)
}},update:function(A){this.createControls();
if(!ClientUILib.isIE){if(this.fakeIeRow){this.table.getElement().deleteRow(this.fakeIeRow.rowIndex);
this.fakeIeRow=null
}if(this.fakeIeBodyRow){this.tableB.deleteRow(this.fakeIeBodyRow.rowIndex);
this.fakeIeBodyRow=null
}}this.selectionManager.refreshEvents();
this.updateLayout();
this.selectionManager.restoreState()
Here is the way, how this script can be fixed:
}if(A>D && F[F.length-2].width > (A-D)){F[F.length-2].width-=(A-D)
}},update:function(A){this.createControls();
if(!ClientUILib.isIE){if(this.fakeIeRow){this.table.getElement().deleteRow(this.fakeIeRow.rowIndex);
this.fakeIeRow=null
}if(this.fakeIeBodyRow){this.tableB.deleteRow(this.fakeIeBodyRow.rowIndex);
this.fakeIeBodyRow=null
}}
if(this.selectionManager) {
this.selectionManager.refreshEvents();
}
this.updateLayout();
if(this.selectionManager) {
this.selectionManager.restoreState()
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (RF-5607) rich:componentControl: disableDefault attribute not work
by Alexandr Levkovsky (JIRA)
rich:componentControl: disableDefault attribute not work
--------------------------------------------------------
Key: RF-5607
URL: https://jira.jboss.org/jira/browse/RF-5607
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Alexandr Levkovsky
Assignee: Nick Belaevski
rich:componentControl: disableDefault attribute not work.
Following example submit the page but it is incorrect.
<rich:modalPanel id="panel" width="350" height="100">
<h:outputText value="This panel is called using Component Control Component"></h:outputText>
</rich:modalPanel>
<h:commandLink value="Show Modal Panel" id="showlink" >
<rich:componentControl id="control" for="panel" operation="show" event="onclick" disableDefault="true"/>
</h:commandLink>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (RF-6424) Current row can't be resolved after item deleting from the OrderedList using Ajax
by Vladimir Danko (JIRA)
Current row can't be resolved after item deleting from the OrderedList using Ajax
---------------------------------------------------------------------------------
Key: RF-6424
URL: https://jira.jboss.org/jira/browse/RF-6424
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: jboss-5.0.0.CR2,
Seam,
FF
Reporter: Vladimir Danko
Fix For: 3.3.1
After I delete the row from the OrderedList the component can't be re-rendered at all since JavaScript error:
Error: activeItem.item is undefined Source File: http://localhost:8080/Myproject/a4j/g/3_3_0.GAscripts/ListBase.js Line: 17
XHTML:
<rich:panel rendered="#{customFilterListEdit.entity.scopeDisabled}" id="grid" >
<table width="100%">
<tr>
<td colspan="7" class="tableheader leftheader">Kriterien</td>
</tr>
<tr>
</tr>
<tr>
<rich:orderingList value="#{customFilterCriteriaList.filterCriteriasList}"
var="cList"
listHeight="400"
converter="orderingListConverter"
listWidth="500"
selection="#{customFilterListEdit.selection}"
activeItem="#{customFilterListEdit.activeItem}"
>
<rich:column width="100">
<f:facet name="header">
<h:outputText value="Field Name" />
</f:facet>
<h:outputText value ="#{cList.custom_filter_criteria_field_fn}"/>
</rich:column>
<rich:column width="75">
<f:facet name="header">
<h:outputText value="Operation" />
</f:facet>
<h:outputText value ="#{cList.operation == 1}"/>
</rich:column>
<rich:column width="100">
<f:facet name="header">
<h:outputText value="Value" />
</f:facet>
<h:outputText value ="#{cList.filter_value}"/>
</rich:column>
<rich:column width="100">
<f:facet name="header">
<h:outputText value="Join operation" />
</f:facet>
<h:outputText value ="#{cList.join_operator"/>
</rich:column>
<rich:column width="100" label="#{messages.ACTION_COLUMN_LABEL}">
<f:facet id="DeleteFacet" name="header">#{messages.ACTION_COLUMN_LABEL}</f:facet>
<a4j:commandLink ajaxSingle="true" id="deletelink" action="#{customFilterCriteriaListEdit.delete(cList.custom_filter_criteria_id))">
<h:graphicImage value="/img/delete.gif" style="border:0"/>
</a4j:commandLink>
<rich:toolTip for="deletelink" value="#{messages.DELETE_LABEL}"/>
</rich:column>
</rich:orderingList>
</tr>
<tr>
<td colspan="7"> </td>
</tr>
</table>
</rich:panel>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (RF-3350) Selection doesn't work in modalPanel with FF2
by Paul Andrews (JIRA)
Selection doesn't work in modalPanel with FF2
---------------------------------------------
Key: RF-3350
URL: http://jira.jboss.com/jira/browse/RF-3350
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: Tomcat 5.x, MyFaces 1.1.5.
Reporter: Paul Andrews
If there is an HTML element in a modal panel that requires a selection, it doesn't work in FireFox 2.x unless you drag or resize the modal panel first. It works fine in IE6. Here is a little test page:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>
Modal Test
</title>
</head>
<body>
<f:view>
<rich:calendar id="date" value=""/>
<h:form>
<h:commandLink onclick="Richfaces.showModalPanel('testPanel');return false;" value="Show test panel"/>
</h:form>
<rich:modalPanel id="testPanel">
<f:facet name="header">
<h:outputText value="Test Panel" />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="images/modal/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('testPanel')" />
</f:facet>
<h:form id="fdsdForm">
<h:commandLink onclick="Richfaces.hideModalPanel('testPanel');return false;" value="Hide this panel"/>
<h:selectOneListbox>
<f:selectItem itemValue="One"/>
<f:selectItem itemValue="Two"/>
</h:selectOneListbox>
</h:form>
</rich:modalPanel>
</f:view>
</body>
</html>
Trying to select an item in the list box doesn't work until you have dragged the page. I pored through the JavaScript source but couldn't see anything obviously wrong and all my attempts to fix the issue by simulating a drag from JavaScript failed. A work-around would be great since I get the feeling that work on the 3.1.x branch of RichFaces has ceased.
--
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, 7 months