Cant acces attributes from LazyDataModel<User>

UI Components for JSF
smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

15 May 2012, 17:45

T.dot wrote:To answer your question: Eclipse doesn't understand the primefaces component structure, so the autocomplete for value and method expressions doesn't really work.
I think it's the same in NetBeans. As developers, we cannot expect IDE to do everything for us. If it was the case, then there would be no need for JSF/Java developers.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

User avatar
T.dot
Expert Member
Posts: 620
Joined: 01 Feb 2012, 15:39
Location: Vienna/Austria

15 May 2012, 17:47

But the need for eclipse/netbeans developers ;)

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

15 May 2012, 17:49

T.dot wrote:But the need for eclipse/netbeans developers ;)
+1 Like!!!
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

Qslig
Posts: 12
Joined: 11 May 2012, 11:25

15 May 2012, 19:24

T.dot wrote:
Qslig wrote:Yeah, this was only an example, sorry for that.

But I have realized that its eclipse that gives me warning when it actually works fine.


<h:outputText value="#{user.}" when i ctrl + space after the dot eclipse only show the properties of the lazydatamodel such as getRowData(), getPageSize();

But when I deploy the project and i write for example <h:outputText value="#{user.id} eclipse gives me a warning but it shows the id in the browser.
So its an eclipse reference problem... i think.....
To answer your question: Eclipse doesn't understand the primefaces component structure, so the autocomplete for value and method expressions doesn't really work.
Thanks, and sorry for editing the post XD
Primefaces 2.2, JSF 2.1.7
JBoss As 7.1.1.Final
Eclipse Java EE IDE for Web Developers -Indigo Service Release 2
Ubuntu 10.04.4 LTS Lucid, Mozilla Firefox 12.0

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests