[JBoss JIRA] Created: (RF-7283) rich:dataGrid empty cell generates invalid XML
by Jeremie Panzer (JIRA)
rich:dataGrid empty cell generates invalid XML
-----------------------------------------------
Key: RF-7283
URL: https://jira.jboss.org/jira/browse/RF-7283
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: Jboss 4.2, RedHat 5.2, RF 3.3.1
Reporter: Jeremie Panzer
I'm using a4j:include navigation and the navigation is working fine as long as I'm not trying to access a page containing a rich:dataGrid component.
The starting page is the one containing the dataGrid and is shown correctly. I have a commandLink pointing to another page, and a back button on that second page.
When using the back button, thus retrieving the dataGrid page through Ajax, I'm getting the following error:
error[9:04:56,090]: Error parsing XML
error[9:04:56,091]: Parse Error: XML Parsing Error: undefined entity Location: http://genesis1.spacebel.be/genesis-jsf/portlets/serviceordering/index.js... Line Number 105, Column 61: </div></div></td><td class="dr-table-cell rich-table-cell "> </td></tr></tbody></table></div></div></td></tr></table></td><td id="__serviceordering_WAR_genesisjsf_INSTANCE_g8sA_:_viewRoot:j_id9:j_id10:j_id190" style="display: none;;height:100%"><table border="0" cellpadding="10" cellspacing="0" class="dr-tbpnl-cntnt-pstn rich-tabpanel-content-position" width="100%"><tr><td class="dr-tbpnl-cntnt rich-tabpanel-content " style="; "><div class="dr-tree rich-tree " id="__serviceordering_WAR_genesisjsf_INSTANCE_g8sA_:_viewRoot:j_id9:j_id10:me ------------------------------------------------------------^
It looks like the (which is inserted inside an empty cell) is causing this, because if the size of the collection used to populate the dataGrid is a multiple of the dataGrid number of columns, everything is working fine.
Here's how to reproduce:
index.xhtml
<a4j:form>
<a4j:include
viewId="page1.xhtml" />
</a4j:form>
page1.xhtml
<a4j:commandLink action="#{myBean.toSecondPage}"
value="Go" immediate="true" />
page2.xhtml
<rich:dataGrid value="#{myBean.elements}" var="element"
columns="3">
<rich:panel><h:outputText value="#{element.id}" /></rich:panel>
</rich:dataGrid>
and having the myBean.elements collection having less than 3 elements.
--
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
15 years, 3 months
[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
15 years, 3 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
15 years, 3 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
15 years, 3 months
[JBoss JIRA] Created: (RF-7696) richfaces-ui-3.3.1.GA.jar!/META-INF/ajax4jsf.tld" is malformed
by Nilakandan V (JIRA)
richfaces-ui-3.3.1.GA.jar!/META-INF/ajax4jsf.tld" is malformed
--------------------------------------------------------------
Key: RF-7696
URL: https://jira.jboss.org/jira/browse/RF-7696
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Environment: Windows, Weblogic 8.1sp6.
Reporter: Nilakandan V
Priority: Blocker
After the changing the Richfaces jar from "richfaces-3.0.1-SNAPSHOT.jar" to "richfaces-impl-3.3.1.GA.jar, richfaces-api-3.3.1.GA.jar, richfaces-ui-3.3.1.GA.jar" , I'm getting the following error message while deployment. Also i removed the "ajax4jsf-1.1.1-SNAPSHOT.jar" from the lib.
<Aug 13, 2009 5:56:26 PM GMT+05:30> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4970343,name=testcontext-path=/)]: Deployme
nt descriptor "jar:file:C:\bea\user_projects\domains\Test\.\myserver\.wlnotdelete\extract\myserver_liketest_like\jarfiles\WEB-INF\
lib\richfaces-ui-3.3.1.GA.jar!/META-INF/ajax4jsf.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration
of element 'taglib'. (line 4, column 114).>
<Aug 13, 2009 5:56:28 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:29 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:30 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:31 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:32 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:33 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:35 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:36 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:37 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
<Aug 13, 2009 5:56:38 PM GMT+05:30> <Warning> <Net> <BEA-000905> <Could not open connection with host: java.sun.com and port: 80.>
I'm new to richfaces. Can some one provide me the reason for this error?
Thanks in Advance.
Regards,
Nila
--
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
15 years, 3 months