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 7890341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:19:46+00:00 2026-06-03T06:19:46+00:00

I have a JSF+Primefaces 3.2 application. I am using p:rowExpansion within a p:dataTable. In

  • 0

I have a JSF+Primefaces 3.2 application.
I am using p:rowExpansion within a p:dataTable.
In some cases it works great but for some records it doesn’t show any records.

<p:dataTable id="accountTable" value="#{accountBean.accountList}" var="account" 
rows ="10" paginator="true" paginatorPosition="bottom" widgetVar="accountTable">
    <f:facet name="header">
    </f:facet>
    <p:column>
        <p:rowToggler />
    </p:column>
    <p:column>
        <h:outputText value="#{account.shortName}" />
    </p:column>
    <p:column  headerText="#{msj.account_accountNumber}">
        <h:outputText value="#{account.number}" />
    </p:column>
    <p:rowExpansion>
        <h:panelGrid columns="2">
            <f:facet name="header">
                <h:outputText value="#{msj.detail} #{account.shortName} - #{account.number}" />
            </f:facet>
            <h:outputLabel value="#{msj.account_shortName}:" />
            <h:outputText value="#{account.shortName}" />
            <h:outputLabel value="#{msj.account_accountNumber}:"/>
            <h:outputText value="#{account.number}"/>
            <h:outputLabel value="#{msj.account_currency}:"/>
            <h:outputText value="#{account.currency.code} - #{account.currency.description}"/>
        </h:panelGrid>
    </p:rowExpansion>
</p:dataTable>

It is wierd, because the same value that is shown in the datatable (account.shortName) is not shown in the expansion area.

I have another datatable (just like this) in the same page. Debugging with firebug I realize that it is refreshing the other datatable, and sending the request as if I were pressing the Row expandion of the other datatable.

Any help?

Thanks!

  • 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-06-03T06:19:48+00:00Added an answer on June 3, 2026 at 6:19 am

    The problem was that I used the same widgetVar name across the tables.

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

Sidebar

Related Questions

I have an application developed using Primefaces 2.2.1 and JSF 2.0, deployed on Glassfish
I am working on an application using JSF 2.1 and PrimeFaces 3.2, server Tomcat
I have a complex jsf page with some widgets developed in PrimeFaces. Up to
I am new to JSF 2.0 and Primefaces but have decided to create my
I have a problem using JSF 2.0, PrimeFaces and the tuckey.org UrlRewriteFilter. The problem
I am using JSF 2.0 and PrimeFaces. I have a selectOneMenu and a selectManyCheckbox.
I'm using JSF 2.0 and primefaces. I have one page with several inputs inside
I am using JSF 2.0 and PrimeFaces 2.2. I have a data table whose
I am using JSF 2.0 and PrimeFaces 2.2.1. In my template.xhtml, I have a
i am creating a web application using jsf and primefaces, and my question is

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.