Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6652995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:12:44+00:00 2026-05-26T01:12:44+00:00

I have a rich:extendedDataTable . I have a a4j:commandLink for each row, on click

  • 0

I have a rich:extendedDataTable. I have a a4j:commandLink for each row, on click of this the row should get deleted. The problem what I am facing is, if I go on deleting the first rows the (firstRow+1)second row’s value is set in the backing bean and always the second row is getting deleted.

xhtml code is

<a4j:commandLink id="acceptbtn"
                            action="#    {archiveOrderBean.acceptOrder}"
                            styleClass="beforeSelect" title="#{mnOrdrMsgs.startitle}"
                            onclick="animateRow(this);" reRender="auftragListNew">
                            <f:setPropertyActionListener value="#{archive}"
                                target="#{archiveOrderBean.currentOrder}" />
                                <f:setPropertyActionListener value="#{row}"
                                target="#{archiveOrderBean.currentRow}" />
                            <h:graphicImage value="/images/tick.png"
                                style="border:0;vertical-align: top;" />
                            <a4j:support event="onclick" reRender="newclassification"
                                onsubmit="javascript:blockFullScreen('Loading...Please wait');"
                                oncomplete="javascript:myJQuery.unblockUI();" />
                        </a4j:commandLink>

I also tried rerendering the table but still the value in the UI is not in sync with the backing bean data. Does anybody have a solution to this. I do not know if this is problem with richfaces 3.3.3 version. In addition to the action I also have the jquery code which flickers the row and removes the complete <tr>.

Any help on this will be really helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:12:45+00:00Added an answer on May 26, 2026 at 1:12 am

    The JQuery slide toggle removes the <tr> from the rich:extendedDataTable and when the deleteObject is done on the backing of rich:extendedDataTable it removes always the second row since the first tr is already removed by JQuery which is not rendered. I could manage to do this in 3 steps w.r.t a4j:commandLink

    1. onClick attribute: RowFlicker JQuery
    2. action attribute: Remove the object from the backingbean List and reRender Table
    3. oncomplete attribute: RowRemove using JQuery
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a <code>rich:extendedDataTable</code>. Each row has a a4j:commandLink as below. Table Page: <a4j:commandLink
I have a rich:dataTable . I want to hide a row with this code:
I have a problem with the FreeTextBox rich Text Editor in my ASP.NET site.
I have a rich:dataTable and a rich:dataScroller. When I click on the datascroller, my
I have a rich:dataTable with dataScroller. In each page I need to show 5
i have used rich:editor to show file content.If i use h:commandlink for display the
I have a rich:toolBar inwhich when I click on a menuItem, it is supposed
I have rich datatable with delete button: When I delete the row, row is
I have a rich panel that contains a form. This form is posted with
The scenario is like this. I have a rich:tabPanel with about 5 tabs. On

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.