Perdon me he equivocado al copiar el segundo script.
Código:
<ui:script binding="#{Page2.script3}" id="script3"><![CDATA[
/* ----- Functions for Table Actions ----- */
/*
* Initialize all rows of the table when the state
* of selected rows changes.
*/
function initAllRows3() {
var table = document.getElementById("form1:table3");
table.initAllRows();
}
]]></ui:script>