first round of NRPA changes:
- added color customization in render-config.xml - added ability to scale size of Venice logo in footer - added ability to customize size of site logo, as well as add a hyperlink - moved to use of LOG4J 1.1.3, LOG4J now installed in Venice lib directory instead of in JRE extensions directory (only Java extensions should go in JRE extensions directory) - close to requiring JAXP 1.1 (will still work with 1.0 though)
This commit is contained in:
@@ -24,7 +24,7 @@ import javax.servlet.ServletRequest;
|
||||
import com.silverwrist.util.StringUtil;
|
||||
import com.silverwrist.venice.ValidationException;
|
||||
|
||||
public class ContentDialog implements Cloneable, ContentRender
|
||||
public class ContentDialog implements Cloneable, ContentRender, ColorSelectors
|
||||
{
|
||||
/*--------------------------------------------------------------------------------
|
||||
* Attributes
|
||||
@@ -148,7 +148,7 @@ public class ContentDialog implements Cloneable, ContentRender
|
||||
if (error_message!=null)
|
||||
{ // print the error message
|
||||
out.write("<TABLE BORDER=0 ALIGN=CENTER CELLPADDING=6 CELLSPACING=0><TR VALIGN=TOP>"
|
||||
+ "<TD ALIGN=CENTER>\n" + rdat.getStdFontTag("#660000",3) + "<B>");
|
||||
+ "<TD ALIGN=CENTER>\n" + rdat.getStdFontTag(CONTENT_ERROR,3) + "<B>");
|
||||
out.write(StringUtil.encodeHTML(error_message));
|
||||
out.write("</B></FONT>\n</TD></TR></TABLE>\n");
|
||||
|
||||
@@ -156,7 +156,7 @@ public class ContentDialog implements Cloneable, ContentRender
|
||||
|
||||
// Output the start of the form
|
||||
out.write("<FORM NAME=\"" + formname + "\" METHOD=POST ACTION=\"");
|
||||
out.write(rdat.getEncodedServletPath(action) + "\">" + rdat.getStdFontTag(null,2) + "\n");
|
||||
out.write(rdat.getEncodedServletPath(action) + "\">" + rdat.getStdFontTag(CONTENT_FOREGROUND,2) + "\n");
|
||||
|
||||
enum = hidden_fields.keys();
|
||||
while (enum.hasMoreElements())
|
||||
|
||||
Reference in New Issue
Block a user