aspose file tools*
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 Spring in Action this week in the Spring 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: 505
    
    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