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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:25:26+00:00 2026-05-27T08:25:26+00:00

I have a databable with the following definition : <h:form prependId=false> <p:dataTable id=instancesTable lazy=false

  • 0

I have a databable with the following definition :

   <h:form prependId="false">
        <p:dataTable id="instancesTable" lazy="false" paginator="false" var="instance"
                     value="#{panaceaController.instances}">
            <p:column>
                <f:facet name="header">
                    <h:outputText value="Directory"/>
                </f:facet>

                <p:commandLink value="#{instance.directory}" target = "instance.jsf">
                    <f:setPropertyActionListener value="#{instance}" target="#{panaceaController.instance}"/>
                </p:commandLink>
            </p:column>
             <p:column>
                <f:facet name="header">
                    <h:outputText value="Running"/>
                </f:facet>
                <h:outputText value="#{instance.running}"/>
            </p:column>
            <p:column>
                <f:facet name="header">
                    Options
                </f:facet>
                <p:commandLink id="properties_link" async="true" update="propertiesTable" oncomplete="propertiesDialog.show();">
                    <h:graphicImage value="img/properties.png" />
                    <f:setPropertyActionListener value="#{instance}" target="#{panaceaController.instance}"/>
                </p:commandLink>
                <p:tooltip for="properties_link" value="Edit Properties" showEffect="fade" hideEffect="fade" />

                <p:commandLink id="delete" async="true"  onclick="confirmDelete.show();" >
                    <h:graphicImage value="img/edit-delete.png"/>
                    <f:setPropertyActionListener value="#{instance}" target="#{panaceaController.instance}"/>
                </p:commandLink>
                <p:tooltip for="delete" value="Delete This Instance" showEffect="fade" hideEffect="fade" />


                <h:panelGroup rendered="#{!instance.running}">
                <p:commandLink id="start" async="true" action="#{panaceaController.start}" update="messages instancesTable">
                    <h:graphicImage value="img/start.png"/>
                    <f:setPropertyActionListener value="#{instance}" target="#{panaceaController.instance}"/>
                </p:commandLink>
                <p:tooltip for="start" value="Start Instance" showEffect="fade" hideEffect="fade" />
                </h:panelGroup>

                <h:panelGroup rendered="#{instance.running}">
                <p:commandLink id="stop" async="true" action="#{panaceaController.stop}" update="messages instancesTable">
                    <h:graphicImage value="img/stop.png"/>
                    <f:setPropertyActionListener value="#{instance}" target="#{panaceaController.instance}"/>
                </p:commandLink>
                <p:tooltip for="stop" value="Stop Instance" showEffect="fade" hideEffect="fade" />
                </h:panelGroup>
                  <p:commandLink id="probe" async="true" action="#{panaceaController.probe}" update="messages instancesTable">
                    <h:graphicImage value="img/probe.png"/>
                    <f:setPropertyActionListener value="#{instance}" target="#{panaceaController.instance}"/>
                </p:commandLink>
                <p:tooltip for="probe" value="Probe if instance is running" showEffect="fade" hideEffect="fade" />

            </p:column>

        </p:dataTable>
      </h:form>

The delete commandLink updates the table OK, but other commands simply don’t update the “instancesTable” even though they update the “messages” correctly. I am using primefaces 3.0M3

Can somebody help me with this please?

  • 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-27T08:25:26+00:00Added an answer on May 27, 2026 at 8:25 am

    There were a number of bugs associated with AJAX updates of a dataTable component for actions triggered within components of a dataTable. Most of these should have been fixed in the latest Primefaces version 3 release however you didn’t really state which version of Primefaces you are using.

    I posted a workaround to this in a previous answer here. Essentially you would from the client side invoke a javascript to manually invoke a click event on a hidden button outside of the dataTable.

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

Sidebar

Related Questions

I have the following action for a form. In the MyForm definition, I added
I have a DataTable which is bound to datagridview (Winforms)... I use the following
I have converted my Datatable to json string use the following method... public string
I have the following code that serializes a DataTable to XML. StringWriter sw =
I have the following record definition: -record(contact, {name, email}) Assuming that I have a
I have the following: var db = new datesDataContext(); var query = from ord
I am using Quartz JDBCJobStore and have following job definition JobDetail job=newJob(HelloJob.class).withIdentity(demo11, group11). usingJobData(jobSays,
I'm using following construct in a cucumber step definition. Given I have following stuff
Currently I have database with the following associations: One Client to Many Intakes One
I have the following database table created thus: CREATE TABLE AUCTIONS ( ARTICLE_NO VARCHAR(20),

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.