< Anterior | Próximo >

Arquivo allcustomers.egl Concluído Após a Lição 6

Este código é a versão concluída do arquivo allcustomers.egl. Se houver erros marcados por símbolos X em vermelho no arquivo, certifique-se de que seu código corresponda a este código:
package jsfhandlers;

import eglderbydb.access.CustomerLib;
import eglderbydb.data.*;
import com.ibm.egl.jsf*;
import eglderbydb.StatusRec;

handler allcustomers type JSFHandler
	{onConstructionFunction = onConstruction,
		onPreRenderFunction = onPreRender,
		view = "allcustomers.jsp",
		viewRootVar = viewRoot}

	viewRoot UIViewRoot;
	customers Customer[0];
	status StatusRec;

	function onConstruction()
	end
	function onPrerender()
		CustomerLib.GetCustomerListAll(customers, status);
	end
end

Retorne para a Arquivo allcustomers.egl Concluído Após a Lição 6.

< Anterior | Próximo >

Feedback