Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

ListBox value in jsf for updated data

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends i have problem related to Listbox in jsf . I have a class say AcessCategoryBB which is in session ,a listbox is displaying the data in my jsp page after fetching the value from list using listbox. The listbox fetch the data from database and those data is only being shown in the listbox. Now my problem is i have the option of enetering the data from the jsp page and that data is actually inserted in the same database table from where the listbox popoualtes its data through list. Now if i insert a new data and wants to display it after it is being inserted i m unable to do it but if i re-enter that page after logout i get the data which i have inserted last. So how can i show the inserted data in the same listbox without being logout. The restriction is i have to keep the BackingBean in seesion scope if its in request then after refreshing i got the value but i have 2 keep it in session. Please help...
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic