Hi,
I have a problem with data table selection.
I select a row, then I push F5 to refresh the page. Selected row loses CSS class "ui-selected", so it looks like there's no selected row, but in fact there is one (selected row object is still set in the backing bean property and I can show it's details by clicking commandButton).
I use released yesterday 3.0.M2 version.
p:dataTable selection problem
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I think this is a general issue with ajax, refresh does the last action but ajax actions are ignored. If you select row with a non-ajax way, I think it will show the selected after full page refresh.
What do you mean Cagatay? Instant row selection set a selected row into a backing bean by selection=#{bean.selectedObject}. After refresh (F5) the selection should be restored from the backing bean again. Right?refresh does the last action but ajax actions are ignored
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
I agree, selection survived F5 in the 2.2.1.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 58 guests