[cvs] eforum commit by ppilgrim: Changes for the ForumLazyDynaBean

JCorporate Ltd jcorp at jcorporate.com
Tue Dec 28 00:08:41 UTC 2004


Log Message:
-----------
Changes for the ForumLazyDynaBean

Modified Files:
--------------
    eforum/src/WEB-INF/src/com/jcorporate/eforum:
        ForumUtils.java

Revision Data
-------------
Index: ForumUtils.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/eforum/src/WEB-INF/src/com/jcorporate/eforum/ForumUtils.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lsrc/WEB-INF/src/com/jcorporate/eforum/ForumUtils.java -Lsrc/WEB-INF/src/com/jcorporate/eforum/ForumUtils.java -u -r1.2 -r1.3
--- src/WEB-INF/src/com/jcorporate/eforum/ForumUtils.java
+++ src/WEB-INF/src/com/jcorporate/eforum/ForumUtils.java
@@ -116,6 +116,8 @@
             new DynaProperty("signature", String.class),
             new DynaProperty("varTextFontCss", String.class),
             new DynaProperty("wordWrapLength", Integer.class),
+            new DynaProperty("headerTextFontCss", String.class),
+            new DynaProperty("bannerTextFontCss", String.class),
 //            new DynaProperty("", Integer.class)
 //            new DynaProperty("", String.class)
 //            new DynaProperty("", Boolean.class)
@@ -138,12 +140,14 @@
         bean.setBoolean("indentReplies", fo.getFieldBoolean( ForumOptions.FLD_INDENT_REPLIES ) );
         bean.set("indentText", fo.getField( ForumOptions.FLD_INDENT_TEXT ) );
         bean.set("monoTextFontCss", fo.getField( ForumOptions.VFLD_MONO_TEXT_FONT_CSSNAME ) );
-        bean.setInteger("msgWidth", fo.getFieldInt( ForumOptions.FLD_MSG_WIDTH ) );
-        bean.setInteger("msgHeight", fo.getFieldInt( ForumOptions.FLD_MSG_HEIGHT ) );
-        bean.setInteger("uid", fo.getFieldInt( ForumOptions.FLD_UID ) );
+        bean.setInt("msgWidth", fo.getFieldInt( ForumOptions.FLD_MSG_WIDTH ) );
+        bean.setInt("msgHeight", fo.getFieldInt( ForumOptions.FLD_MSG_HEIGHT ) );
+        bean.setInt("uid", fo.getFieldInt( ForumOptions.FLD_UID ) );
         bean.setBoolean("useSignature", fo.getFieldBoolean( ForumOptions.FLD_USE_SIGNATURE ) );
         bean.set("varTextFontCss", fo.getField( ForumOptions.VFLD_VAR_TEXT_FONT_CSSNAME ) );
-        bean.setInteger("wordWrapLength", fo.getFieldInt( ForumOptions.FLD_WORD_WRAP_LENGTH ) );
+        bean.setInt("wordWrapLength", fo.getFieldInt( ForumOptions.FLD_WORD_WRAP_LENGTH ) );
+        bean.set("headerTextFontCss", fo.getField( ForumOptions.VFLD_HEADER_TEXT_FONT_CSSNAME ) );
+        bean.set("bannerTextFontCss", fo.getField( ForumOptions.VFLD_BANNER_TEXT_FONT_CSSNAME ) );
         
         // Set the value of the text/css style that will display
         // the forum messages.


More information about the cvs mailing list