Tools can be the bane of my existence sometimes…
IBM’s Rational Application Developer (RAD) handles the voodoo between your JSF JSP and the backing bean (pagecode). It maintains this reference with a commented line atop your JSP that looks something like this:
This tells the IBM PageDesigner that the methods/members of that particular page reside in a java file called ‘View.java’…simple enough.
sure enough, I check the source of the JSP and wouldn’t you know it, RAD forgot to add:
to the top of the page. There was no way for the Page Designer to figure out what backing bean to place the new method in.
Hope this helps anyone unfortunate enough to see this issue in their project.
Originally published at http://jamiemcilroy.wordpress.com on November 6, 2006.