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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:48:05+00:00 2026-05-28T06:48:05+00:00

I am trying to re-retrieve data from my database whenever the user clicks on

  • 0

I am trying to re-retrieve data from my database whenever the user clicks on a link (just in case any information has changed)

But I am using JSF 1.1,

In JSF 2.0 we have

        <f:metadata>
            <f:event type="preRenderView" listener="#{refreshDataTable}"> </f:event>
        </f:metadata>

or even PhaseListeners, but in 1.1 we don’t.

Does anyone know an equivalent, or anything that can invoke an action on a bean when a link is clicked?

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-05-28T06:48:06+00:00Added an answer on May 28, 2026 at 6:48 am

    Put the bean in the request scope and do the job in its constructor.

    Don’t put the bean in the session scope. That’s only bad for user experience and server memory. If you want to simulate the view scope in JSF 1.x, have a look at Tomahawk’s <t:saveState> or RichFaces’ <a4j:keepAlive>.

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

Sidebar

Related Questions

Iam trying to retrieve data from mysql database into stylesheet.php but it is not
Hi i am trying to retrieve data from mysql database to create flot graph
I'm trying to retrieve all the data id from a database where their tags(array)
trying to retrieve some data from the database and put in into my form.
Trying to retrieve data using linq from a database. I would like to use
I'm trying to retrieve data for a Open-high-low-close (OHLC) chart directly from the database,
//hi i am trying to retrieve the data from database and display in my
I've been having problems trying to retrieve data from my database to a DataTable
i am trying to retrieve data from a database and display then on a
I am trying to retrieve some data from a database using jQuery's $.getJSON method

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.