From: Anjo K. <an...@us...> - 2002-08-15 22:24:21
|
Update of /cvsroot/wonder/Wonder/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb In directory usw-pr-cvs1:/tmp/cvs-serv17934 Modified Files: ERDRecoverableErrorPage.java Log Message: Temporary commit to ERDRecoverableErrorPage to descend from ERD2WPage. I also think this class - and all of the other message pages - should be replaced by "ERD2WRecoverableErrorPage" and friends like Max has noted on the disc-list. Index: ERDRecoverableErrorPage.java =================================================================== RCS file: /cvsroot/wonder/Wonder/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERDRecoverableErrorPage.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ERDRecoverableErrorPage.java 1 Aug 2002 21:13:28 -0000 1.4 --- ERDRecoverableErrorPage.java 15 Aug 2002 22:24:18 -0000 1.5 *************** *** 12,16 **** // FIXME: All of the message pages need to be cleaned up. ! public class ERDRecoverableErrorPage extends WOComponent implements ErrorPageInterface { public ERDRecoverableErrorPage(WOContext context) { super(context); } --- 12,16 ---- // FIXME: All of the message pages need to be cleaned up. ! public class ERDRecoverableErrorPage extends ERD2WPage implements ErrorPageInterface { public ERDRecoverableErrorPage(WOContext context) { super(context); } *************** *** 20,24 **** public String wrapperName() { ! return _wrapperName!=null ? _wrapperName : ((ERXSession)session()).wrapperPageName(); } --- 20,24 ---- public String wrapperName() { ! return _wrapperName!=null ? _wrapperName : (String)d2wContext().valueForKey("pageWrapperName"); } *************** *** 26,30 **** public void setNextPage(WOComponent page) { _nextPage=page; } public WOComponent nextPageClicked() { return _nextPage; } ! protected String _message; public void setMessage(String message) { _message=message; } --- 26,33 ---- public void setNextPage(WOComponent page) { _nextPage=page; } public WOComponent nextPageClicked() { return _nextPage; } ! ! /*protected D2WContext _d2wContext; ! public D2WContext d2wContext() {return _d2wContext; } ! */ protected String _message; public void setMessage(String message) { _message=message; } |