Add content to inputRichText control (CKEditor)


importPackage(com.ibm.xsp.http);
document1.setValue(bodyFieldName, com.ibm.xsp.http.MimeMultipart.fromHTML("<p>HTML example</p>));
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
1 comment(s)Login first to comment...
John Jardin
(at 10:57 on 11.03.2015)
Hi Per. Just noticed something small...fromHTML("<p>HTML example</p>) is missing a double quote :)