I have the following bit of
JSF code:
The excluded parts are scriplets that populate a <select> html menu and write out the HTML for the menu. I am taking a different approach and creating a custom tag to clean up the scriplets. I have the tag created and JSF registers and displays the tag fine. The problem lies in creating the form and commandButton in the custom tag. It seems to output everything fine but when I click on the button the class.method is not called. Below is my code from the custom tag that creates the form and button:
The class used for the action listener is a session level managed bean in JSF. The method is called fine in the JSF code from before I started creating this custom tag, so I know the bean works. My question is, what is going on? What am I forgetting to set or call? Creating custom JSF tags is a bit new for me and I am used to creating custom
JSP tags. Either way I am trying to figure this out and any help or suggested links for me to read are appreciated.
Lastly, this is all in MyFaces 1.1.4 on Apache
Tomcat.
-Nick
[ March 11, 2008: Message edited by: Nick Seward ]