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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:10:18+00:00 2026-06-09T08:10:18+00:00

I have a <p:dataTable> in a facelet. The facelet is included into a page.

  • 0

I have a <p:dataTable> in a facelet. The facelet is included into a page. A selection of a table row should trigger an update on an element of the surrounding page.

When I include the <p:ajax event="rowSelect" update=":open:separate" /> inside the table, all works fine. But I am using the table on multiple pages and cannot guarantee a constant Id for the updated element.

I have tried removing the <p:ajax> from the table and wrap the included table inside it like this:

<p:ajax event="rowSelect" update=":open:separate">
    <ui:include src="/open/components/submittersTable.xhtml"/>
</p:ajax>

I get this error (root cause abridged):

javax.servlet.ServletException: /open/index.xhtml @30,59 <p:ajax> Event:rowSelect is not supported.
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
    org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)

root cause

javax.faces.view.facelets.TagException: /open/index.xhtml @30,59 <p:ajax> Event:rowSelect is not supported.
    org.primefaces.component.behavior.ajax.AjaxBehaviorHandler.applyAttachedObject(AjaxBehaviorHandler.java:148)
    org.primefaces.component.behavior.ajax.AjaxBehaviorHandler.apply(AjaxBehaviorHandler.java:126)

Am I having wrong ideas about what is possible with <p:ajax>? Do I have to include it into the table and try forcing the ids on the surrounding pages to fit? Or is it possible to wrap include with ajax and I’m just doing it wrong?

Thank you

  • 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-09T08:10:19+00:00Added an answer on June 9, 2026 at 8:10 am

    No you can’t because of event=”rowSelect”. Some explanation of event=”rowSelect” mean ‘a row in the datatable is selected’. So you cannot use this outside of p:dataTable.

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

Sidebar

Related Questions

I have: DataTable Table = new DataTable; SqlConnection = new System.Data.SqlClient.SqlConnection(Data Source= + ServerName
I have datatable table like id name address phoneno 1 abc kfjskl 798798 2
I have dataTable in my page. Initially I want it to be hidden, and
I have a DataTable which is generated from .xls table. I would like to
I have a JSF table with row click. When I click on the select
I'm using ICEFaces. I have datatable with multiple columns. One I load the page
I have a datatable that - depending on the user selection - will generate
I have a dataTable and in each row there is a commandButton which calls
I have a datatable where the rows are dynamic and each row contain a
----> I have datatable which is passing to another page in session variable. ---->

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.