Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Backing bean

 
siva prakash
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I deleted already existing jsp and started coding from strach, when ever i added any JSF component ( by drag-drop using RAD7), I was able to see an entry at backing bean, and I have 2 command buttons (save & cancel) for which i added 2 methods at backing bean and using those at jsp page at corresponding action tag for those commands, but when i tried to run application, its not identifing those methods , throughing those methods unavaliable.

what could be the problem.

Its very urgent, thanks in advance.





Thanks,
Prakash
 
yassmin sameh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

i think the problem could be either in the bean name , it should take the follwong form ( #{beanName.methodName} ) , or in the signature of the action method, it should take the form ( public String yourMethod () {......}


Originally posted by siva prakash:
Hi All,

I deleted already existing jsp and started coding from strach, when ever i added any JSF component ( by drag-drop using RAD7), I was able to see an entry at backing bean, and I have 2 command buttons (save & cancel) for which i added 2 methods at backing bean and using those at jsp page at corresponding action tag for those commands, but when i tried to run application, its not identifing those methods , throughing those methods unavaliable.

what could be the problem.

Its very urgent, thanks in advance.





Thanks,
Prakash
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic