From 700899354551759e651cf37d0e5df8bf459963da Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Sat, 17 Apr 2004 04:09:32 +0000 Subject: [PATCH] fixed a goof involving getStockMessage being called on the wrong object --- scripts/new_account.js | 6 ++---- .../silverwrist/venice/ui/servlet/RequestImpl.java | 13 ++++++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/scripts/new_account.js b/scripts/new_account.js index 4f5a1ae..64f6982 100644 --- a/scripts/new_account.js +++ b/scripts/new_account.js @@ -10,7 +10,7 @@ // // The Initial Developer of the Original Code is Eric J. Bowersox , // for Silverwrist Design Studios. Portions created by Eric J. Bowersox are -// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. +// Copyright (C) 2001-04 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. // // Contributor(s): @@ -40,9 +40,7 @@ rinput.displayLogin = false; html = vlib.queryHTMLRendering(rinput); rc = new TextMessage(html.getStockMessage("user-agreement-title"), html.getStockMessage("user-agreement-subtitle")); -rc.text = rinput.getStockMessage("user-agreement"); +rc.text = html.getStockMessage("user-agreement"); rc.addButton(LinkTypes.SERVLET,"new_account_2.js.vs?tgt=" + vlib.encodeURL(target),"ua_accept"); rc.addButton(LinkTypes.SERVLET,"top.js.vs","ua_decline"); vlib.output(rc); - - diff --git a/src/com/silverwrist/venice/ui/servlet/RequestImpl.java b/src/com/silverwrist/venice/ui/servlet/RequestImpl.java index fe992a6..58aa830 100644 --- a/src/com/silverwrist/venice/ui/servlet/RequestImpl.java +++ b/src/com/silverwrist/venice/ui/servlet/RequestImpl.java @@ -11,7 +11,7 @@ * * The Initial Developer of the Original Code is Eric J. Bowersox , * for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - * Copyright (C) 2001-02 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + * Copyright (C) 2001-04 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. * * Contributor(s): */ @@ -453,7 +453,7 @@ public class RequestImpl implements RequestInput *-------------------------------------------------------------------------------- */ - private static Category logger = Category.getInstance(RequestImpl.class); + private static Logger logger = Logger.getLogger(RequestImpl.class); private static final String APP_ATTRIBUTE_STEM = "com.silverwrist.venice.ui.variables."; @@ -1724,7 +1724,7 @@ class CookieControlImpl implements CookieControl *-------------------------------------------------------------------------------- */ - private static Category logger = Category.getInstance(CookieControlImpl.class); + private static Logger logger = Logger.getLogger(CookieControlImpl.class); /*-------------------------------------------------------------------------------- * Attributes @@ -1918,6 +1918,13 @@ class CookieControlImpl implements CookieControl class HTMLRenderingImpl implements HTMLRendering { + /*-------------------------------------------------------------------------------- + * Static data members + *-------------------------------------------------------------------------------- + */ + + private static Logger logger = Logger.getLogger(HTMLRenderingImpl.class); + /*-------------------------------------------------------------------------------- * Attributes *--------------------------------------------------------------------------------