I\'m new to jsf. I have been trying to do a simple Javascript function with commandbutton. I tried many times but wasn\'t even able to do an alert message. This is part of my co
Any thing defined outside ui:composition is ignored.So place your content inside this tag and it will work: Something like this: