Completely follow these steps
1: create a class named button class  
2:create a method named buttonAction in the button class
3: register button class as managed bean in adfc_config.xml file.
4:  go to jsf/jsp page click on the button  button properties will be shown in property inspector 
5:  go to property inspector and find action field click on the right side menu of action a popup will came
6: click on edit option another popup will be appeared select button class bean from managed bean lov
7: then select method from method lov
8: click ok
9: now go to button action function and print some thing
10: run page click on the button and see output from web logic console or j developer output console.
 
 
Or you can just drag the button onto the JSF visual editor and then double click it - it will guide you through creating the managed bean and method.
ReplyDeletethanks shay
ReplyDelete