< Previous | Next >

Completed allcustomers.egl file after lesson 6

This code is the completed version of the allcustomers.egl file. If you see any errors marked by red X symbols in the file, make sure your code matches this code:
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

Return to Completed allcustomers.egl file after lesson 6.

< Previous | Next >

Feedback