• 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

The Data table designed using Java server faces selects multiple rows  RSS feed

 
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi guys,

i have problem with my application, we have designed the application using Java server Faces and  primefaces feature.

we have a table with rows and data in it, when we select any one row, the data in the row will be auto populated in the input box and other fields.

the problem i am facing is for 1st row it works fine, when we move on to second row the first row previously selected is not getting cleared, the problem continues till as many rows as you select from the table. the data for each row is not getting auto populated.

when we refresh page only  we are able to select new row. this is big prob as every time we cannot refresh the page to select new row.

we have implemented same in other page where it works fine.  ( we are using Asynchronous JavaScript  call - property for selecting we have given selection mode='single'

any help will be appreciated.
 
Master Rancher
Posts: 920
17
Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can we help to identify the problem if you haven"t posted a single line of code
 
permaculture is giving a gift to your future self. After reading this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!