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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:30:34+00:00 2026-06-03T04:30:34+00:00

Being inspired with the article considering the dynamic table rendering (thank you BalusC), I’ve

  • 0

Being inspired with the article considering the dynamic table rendering (thank you BalusC), I’ve finally got the exact result I wanted before here a bit earlier. That gave quite perfect results since I could control the behavior of a every single column respecting the business logic requirements. But that was pretty cool if that table was a part of an experimental “static” page where I was making some dynamic binding experiments.

Once I had to merge the ideas to the existing code (more or less stupid knowing nothing about the dynamic expressions), I’ve got face to face with the following problem: the dynamic binding seems to work only once during the load of the page. Ok, I thought that I was missing to separate the dynamic binding bean and the “main” page bean (controlling user actions like clicking the tree nodes by a user).

A simplified instance of my current page piece is as follows (consider you have a tree at the left and when you click a tree node, you have to get quite another data table [PrimeFaces used]):

a tree, table selector (works pretty perfect)

<p:tree value="#{tableViewsPageBean.root}" var="node" dynamic="true" cache="false"
        selectionMode="single" selection="#{tableViewsPageBean.selectedNode}">
    <p:ajax event="select" listener="#{tableViewsPageBean.onNodeSelect}" update=":form:scene"/>
    <p:treeNode id="treeNode">
        <h:outputText value="#{node}"/>
    </p:treeNode>
</p:tree>

a table that’s intented to be dynamically rendered once a user clicks a tree node above

<h:panelGroup id="scene">
    ...
    <h:panelGroup binding="#{dynamicDataTableBean.dataTableGroup}"/>
</h:panelGroup>

The tableViewsPageBean is defined as a @ViewScoped bean, and the dynamicDataTableBean is a @RequestScoped bean (I should not think that it might help — I just had an idea).

But, for me, the following code is requested only once during the page load:

public HtmlPanelGroup getDataTableGroup() { ... }

I don’t know, but is it possible to force this code execution to rebind the component in the panel group mentioned above without page reload? Thanks in advance.

  • 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-03T04:30:35+00:00Added an answer on June 3, 2026 at 4:30 am

    Sorry, my bad. I had the following in my web.xml:

    <context-param>
        <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
        <param-value>false</param-value>
    </context-param>
    

    That option must be set to true. However, then I still have the problem described here.

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

Sidebar

Related Questions

I wanted to try out jQuery Templates after being inspired by these 2 blog
Being new to both WPF and MVVM, I'm studying Josh Smith's article on the
Inspired by this article , I was playing around with the Ruby method calling
Do I understand correctly that table/row lock hints are being used for pessimistic transaction
Inspired by this earlier stack overflow question I have been considering how to randomly
Being a Java developer in an agile development cycle, I have learnt that it
Being pretty unfamiliar with design patterns and architecture, I'm having trouble explaining to others
Being somewhat typographically obsessed, I am curious: what is the best way to present
Being rather new to ASP.MVC I'm looking for a solution to the following routing
Being a hobbyist coder, I'm lacking some fundamental knowledge. For the last couple days

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.