[
https://jira.jboss.org/jira/browse/RF-6424?page=com.atlassian.jira.plugin...
]
Vladimir Danko commented on RF-6424:
------------------------------------
1. You markup for <table> is wrong, for example <tbody> is
absent
I dont think this is belong to this bug. It belong only to validation of my XHTML page.
2. After click on "Delete" link you reRender rich:panel
id="grid" ... with conditional rendered expression, it's wrong, try to wrap
panel in h:panelGroup> and reRender it
I tried to use many container components to rerender for example tried to surround it
with one more rich:panel, h:form or any other but didn't test with h:panelGroup
because i dont need group there. Result - this bug.
3. Why you use attribbute activeItem at all? In showed scenarion it is
not neccessary.
Ok. Maybe, but i used it as it was be showed in the sample, now i dont remember(bug was
posted on 24/Feb/09 today is 04/Jun/09 - about 4 monthS ) in wich case i inserted it,
maybe because this component doesnt work without this line.
Tell me please, u tried to reproduce this bug?
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
Components: component-input
Affects Versions: 3.3.0
Environment: jboss-5.0.0.CR2,
Seam,
FF
Reporter: Vladimir Danko
Assignee: Tsikhon Kuprevich
Fix For: 3.3.2.CR1
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))"
reRender="grid">
<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