This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes jsf error display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf error display" Watch "jsf error display" New topic
Author

jsf error display

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
Am using index.xhtml to retrieve records from database but it displays the following errors

javax.servlet.ServletException: /cyber/index.xhtml @13,67 value="#{userBean.getUserList()}" Error Parsing: #{userBean.getUserList()}
javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)

root cause

javax.faces.view.facelets.TagAttributeException: /cyber/index.xhtml @13,67 value="#{userBean.getUserList()}" Error Parsing: #{userBean.getUserList()}


Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 481
    
    1

Hello!

As for me it is better to follow examples from sound book to find out basics and do first steps!!!
Next, to reference property of bean you should write #{beanName.propertyName}.For instance:

This resolves to getter of user list. Getter is method with name - getPropertyNameWithFirstCapitalLetter

To reference method you don't use any brackets.
Your method is:
public String createOrder(){
//my operations
}
This method is referenced like #{userBean.createOrder}

True person is moral, false is right!
muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
it works
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf error display
 
Similar Threads
Does action attribute not work with function call having parameters?
Session Scope JSF
Number of <h:form > tags on a page
commandLink not working in datatable+jsf2.0
Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering