This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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