I have the following code being processed inside ColdFusion "cfscript" tags:

        name = TextField.init(writer, rectangle1.init(387, 10, 605, 80), 
"name");
        name.setFieldName("notes");
        name.setFontSize(8);
        name.setTextColor(RED); 
        name.setBackgroundColor(WHITE); 
        name.setOptions(TextField.MULTILINE | TextField.REQUIRED);      
        writer.addAnnotation(name.getTextField());

It runs fine if I only set ONE option, however when I add a second option 
separated by the "|" character, I get the following error:

coldfusion.compiler.TokenMgrError: Invalid token &nbsp found on line 859 at 
column 46.

Any ideas why this is happening?


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to