getRowData called twice

UI Components for JSF
Post Reply
Luuzz
Posts: 32
Joined: 28 Mar 2011, 15:21

14 Jul 2012, 12:06

I have a lazy data table with single selection. It works perfectly but i noticed that when one select a row, the getRowData is called twice. I am tuning the queries and can't figure out why this behaviuor.
Any Suggestions pleae ?
Luuzz
Primefaces 3.3 Jboss 7.1

cormet
Posts: 5
Joined: 03 Mar 2013, 16:10

18 Mar 2013, 16:25

Hi,

I am also having the same problem. Any updates on this?
PrimeFaces 3.5, Extensions 0.6.2
(Tomcat 7.0.33), Mojarra 2.1.10
Chrome

tri77ion
Posts: 6
Joined: 02 Nov 2011, 23:05

15 Apr 2013, 21:12

This is definitely an issue on 3.3.1. Has anyone posted a bug report or found a workaround? This is a lot of redundant queries for those who are backing the LazyDataModel with database calls.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

16 Apr 2013, 08:41

Jsf (javabean) rule #1: don't do anywork in getters... So this is not a bug, but wrong usage in the other code

User avatar
andyba
Expert Member
Posts: 2473
Joined: 31 Mar 2011, 16:27
Location: Steinfeld, near Bremen/Osnabrück, DE
Contact:

16 Apr 2013, 10:54

Hell and damnation, don't you grubby lot have better things to than dig up rotting old Threads (this one defines the meaning of non sequiteur too)?

Stop resurrecting the dead lest you end up...
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests