このコードが、allcustomers.egl ファイルの
完全なバージョンになります。
ファイル内に赤い X 印がマークされたエラーが表示される場合は、
ご使用のコードが次のコードと一致するか確認してください。
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
演習 6 の後の完成した allcustomers.egl ファイルに戻る。