• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The Data table designed using Java server faces selects multiple rows

 
Greenhorn
Posts: 6
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 1171
18
IntelliJ IDE Hibernate Firefox Browser MySQL Database Spring Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How can we help to identify the problem if you haven"t posted a single line of code
 
reply
    Bookmark Topic Watch Topic
  • New Topic