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

  • Home
  • SEARCH
  • 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 7955983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:51:21+00:00 2026-06-04T03:51:21+00:00

I am using JSF2 with @ViewScoped I have table listing, cliking on row opens

  • 0

I am using JSF2 with @ViewScoped

I have table listing, cliking on row opens record in disabled=’true mode’
2- ON the popup in disabled view button called ‘Edit’
3- When user clicks upon edit button, all fields on the form which are disabled will become enabled.

Problem is in disabled mode it is fine but when user clicks upon edit button it start displaying few values from old record which was being clicked.

It is not happening every time but randomly when you start clicking.

I am not reloading any data when user clicks upon edit button instead I only make ajax call and set attrib val to true and on the bases of that I render model values and it dispalys enabled values.

is it cache problem or any thing else ???
help required.

  • 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-04T03:51:23+00:00Added an answer on June 4, 2026 at 3:51 am

    In your bean set enableStatus =0;
    and in edit button and all of your text fields, set disabled="#{bean.enableStatus==0}"
    when u will click on edit then set enableStatus = 1 in your action method and reRender it.
    You will get what you want….

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

Sidebar

Related Questions

I'm using JSF2.0 and am building up a wizard. I have encountered a problem
I have using jsf2.0 in eclipse ide.I have a problem to store a image
I have a web project using jsf2 implementing a gaming web site on tomcat7.
I am new to jsf frame work.I am using jsf2.0 in eclipse ide.I have
We are using JSF2 ,Apache CXF2.5.2 deployed to weblogic10.3 We have log4j.properties defined with
I am using JSF2.0 Mojarra 2.0.2. I have a method that logs out a
I have web app in jsf2.0 on tomcat 6 and MySQL. I'm using special
I'm using JSF2 on GlassFish 3. I have a form that accepts and optional
I am using JSF2.0 with Richfaces 4.0.0.Final for a web application. I have a
I am running an application using JSF2.0 and Primefaces 2.2RC2 I have run the

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.