click the http://communities.softwareag.com, and select the webMethods- CAF , click on code sample you will lot of code sample, if not type the portlet application sample in search. you will sample, if you are working on 7.1 get 7.1 samples, if you are working 8.0 get the 8.0 samples.
please g to CAF Development document to know about the controls. and also download the CAF JAVA API and CAF JAVA SCRIPT API for CAF Developemnt and binding creation in beans.
regards,
anil kumar ellendula
#webMethods-BPMS#webMethods#MWS-CAF-Task-Engine