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

  • Home
  • SEARCH
  • 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 7051183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:13:59+00:00 2026-05-28T03:13:59+00:00

I just found an odd behavior within our application. We have a rich:tabPanel switchType=ajax

  • 0

I just found an odd behavior within our application.

We have a rich:tabPanel switchType=”ajax” with multiple tabs. Each tab contains a rich:dataTable and an edit form with a4j:form.

Now when we request the page the first tab is rendered and the datatable is initialized. So far so good.
The user can now click an edit link (a4j:commandLink) to reRender the edit form with the selected entity and the form is reRendered properly.

BUT: Additionally to this we get a query from the datatables on the other tabs… Even though the tabs are not active the rich datatables get initialized. Not rendered because the tab is inactive.
Strangely enough if I use a plain h:dataTable the issue goes away, i.e. no resultlist is fetched for this one.

So far I got two workarounds:

  1. If I use limitToList on the editLink it seems that the processing part is working correctly but this would mean that we have to adapt all commandbuttons/links and the global messages stops working if i do not include it’s id into the reRendered attribute…

  2. I can bind the selected Tab to a backing bean and render only the content of the active tab with an s:fragment

While the second solution is quite straight forward, and I’m using this one for now, I am still seeking for an explanation.

Did anyone encounter this behavior already and has an explanation on wth is going on?

Thanks
Martin

  • 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-28T03:14:00+00:00Added an answer on May 28, 2026 at 3:14 am

    We do have this issue, almost all components get rendered when any ajax operation is performed.

    We resolved this issue buy adding limitRender=”true” attribute to the components and by surrounding components by < a4j:outPutPanel axajRender=”false”/>
    < rich:messages ajaxRendered=”false”/>.

    However, rich:tabPanel has the attribute limitRender=”true” which did not show me any difference if used or not.

    Also remember to use < a4j:queue ignoreDupResponses=”true” /> as a best practice which helps optimize your Ajax requests. use this tag in forms.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just discovered something that I found odd. I have mys listbox with several
I have found an odd way of putting a picture in an applet just
I have an object in PHP with some very odd property names. I just
I have an odd problem that I just can't seem to diagnose, and it
I was just flipping through the specification and found that byte is odd. Others
Just found this out, so i am answering my own question :) Use a
Just found out that the video output of the iPad is not a system
I just found /n softwares free Powershell NetCmdlets, and after playing with them I
I just found myself creating a class called InstructionBuilderFactoryMapFactory. That's 4 pattern suffixes on
I just found out that by converting PNG32 to PNG8 via Photoshop will fix

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.