What you may need to know about <events> definitions in PageDef file
I'm not sure how many of you have noticed the 'generated' PageDef file entries when you define a Contextual Event using the editor(PS2 release). If you define Contextual Event for a command button, the generated PageDef entries may look like as shown below <?xml version="1.0" encoding="UTF-8" ?> <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="11.1.1.56.60" id="untitled8PageDef" Package="view.pageDefs"> <parameters/> <executables> <variableIterator id="variables"/> </executables> <bindings> <eventBinding id="eventBinding" Listener="javax.faces.event.ActionListener"> <events xmlns="http://xmlns.oracle.com/adfm/contextualEvent"> <event name="SampleEvent" customPayLoad="Test"/> </events>