Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf deletion error

 
muntago Richard
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am trying to delete records from database using Userid but my jsf is displaying error

javax.servlet.ServletException: /cyber/Rec.xhtml @39,71 action="#{deletebean.del(data.userID)}" Error Parsing: #{deletebean.del(data.userID)}
javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)

root cause

javax.faces.view.facelets.TagAttributeException: /cyber/Rec.xhtml @39,71 action="#{deletebean.del(data.userID)}" Error Parsing: #{deletebean.del(data.userID)}

but if i use


action="#{deletebean.del}

the form will load but will not delete the records to the said userID

below is the code

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic