[richfaces-issues] [JBoss JIRA] Resolved: (RF-6424) Current row can't be resolved after item deleting from the OrderedList using Ajax
Andrey Markhel (JIRA)
jira-events at lists.jboss.org
Thu Jun 4 06:23:57 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Markhel resolved RF-6424.
--------------------------------
Resolution: Incomplete Description
Assignee: Tsikhon Kuprevich (was: Andrey Markhel)
Incomplete description of bug.
1. You markup for <table> is wrong, for example <tbody> is absent
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
3. Why you use attribbute activeItem at all? In showed scenarion it is not neccessary.
Please, provide additianal information and fix your mistakes.
> 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
More information about the richfaces-issues
mailing list