fixed a goof involving getStockMessage being called on the wrong object

This commit is contained in:
Eric J. Bowersox 2004-04-17 04:09:32 +00:00
parent 2a0b87bc84
commit 7008993545
2 changed files with 12 additions and 7 deletions

View File

@ -10,7 +10,7 @@
// //
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>, // The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are // 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): // Contributor(s):
@ -40,9 +40,7 @@ rinput.displayLogin = false;
html = vlib.queryHTMLRendering(rinput); html = vlib.queryHTMLRendering(rinput);
rc = new TextMessage(html.getStockMessage("user-agreement-title"), rc = new TextMessage(html.getStockMessage("user-agreement-title"),
html.getStockMessage("user-agreement-subtitle")); 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,"new_account_2.js.vs?tgt=" + vlib.encodeURL(target),"ua_accept");
rc.addButton(LinkTypes.SERVLET,"top.js.vs","ua_decline"); rc.addButton(LinkTypes.SERVLET,"top.js.vs","ua_decline");
vlib.output(rc); vlib.output(rc);

View File

@ -11,7 +11,7 @@
* *
* The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>, * The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
* for Silverwrist Design Studios. Portions created by Eric J. Bowersox are * 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): * 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."; 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 * Attributes
@ -1918,6 +1918,13 @@ class CookieControlImpl implements CookieControl
class HTMLRenderingImpl implements HTMLRendering class HTMLRenderingImpl implements HTMLRendering
{ {
/*--------------------------------------------------------------------------------
* Static data members
*--------------------------------------------------------------------------------
*/
private static Logger logger = Logger.getLogger(HTMLRenderingImpl.class);
/*-------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------
* Attributes * Attributes
*-------------------------------------------------------------------------------- *--------------------------------------------------------------------------------