Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

XPages: Is this a show stopper for you?

By Andrew Pollack on 07/02/2008 at 02:51 PM EDT

There's a control missing from XPages in Beta 1. I honestly don't remember (if I was ever told) if its in the plan or not because I never thought to ask about it. I guess it never even occurred to me that it was missing until I tried building a version of this blogsite using XPages.

At present - speaking of Domino 8.5 Public Beta 1 - there is now way to drop a Rich Text control onto an XPage, bind it to a rich text field (e.g. BODY) on a document you've bound as a data source, and have it render the rich text as html on your page. If the Rich Text is stored as MIME, I think you can do this just fine. But most Rich Text isn't. Its stored in native notes CD records.

Sure, you could stick an IFRAME tag on there and load just the body in that way. You could call in agent code with an http request, pull the html, parse the "BODY" part out and then shove it onto the form. Both of those are bad alternatives.

For me to deploy, I'd have to convert thousands of documents from CDRECORD to MIME and store the rich text as mime.

This is what I need:

a) A rich text field control that will render the cdrecord data from the bound notesRichTextItem

or

b) A notesRichTextItem.renderToMIME() method that returns mime data which can then be displayed in a control.

What about you? How critical is this issue for your own use of XPages?


  • text bubble icon

    Security Review

    How secure is your Domino environment? A security review doesn't have to be expensive to be helpful. If you're interested in finding out more, Contact Me.
  • There are  - loading -  comments....

    re: XPages: Is this a show stopper for you?By sean cull on07/02/2008 at 05:02 PM EDT
    Comment Loading
    re: XPages: Is this a show stopper for you?By Bob Balaban on07/02/2008 at 05:46 PM EDT
    Comment Loading
    re: XPages: Is this a show stopper for you?By Bruce Elgort on07/03/2008 at 12:09 AM EDT
    Comment Loading
    re: XPages: Is this a show stopper for you?By sean cullk on07/21/2008 at 05:43 PM EDT
    Comment Loading
    re: XPages: Is this a show stopper for you?By Peter Presnell on07/02/2008 at 07:35 PM EDT
    Comment Loading
    re: XPages: Is this a show stopper for you?By John Head on07/02/2008 at 08:23 PM EDT
    Comment Loading
    Unless I'm mistaken, that requires a front end agentBy Andrew Pollack on07/02/2008 at 08:49 PM EDT
    Comment Loading
    -FAIL- It doesn't work well enough at allBy Andrew Pollack on07/03/2008 at 11:24 AM EDT
    Comment Loading
    re: XPages: Is this a show stopper for you?By Erik Brooks on07/02/2008 at 11:14 PM EDT
    Comment Loading
    re: XPages: Is this a show stopper for you?By Nathan T. Freeman on07/03/2008 at 09:02 AM EDT
    Comment Loading


    Other Recent Stories...

    1. 03/18/2010File this under "Damn, I should have known that" -- CSS and Relative PathsI was whining about a feature being missing in Designer 8.5.x yesterday in a closed forum for "Design Partners" when I learned something I wished I'd known a long time ago. I'm writing this to share it with you, so you can be saved the work I've been doing. The feature I wanted (and still want) is for file resources that use the new editors (e.g. CSS, HTML, JAVASCRIPT) to allow "" values or at least some form of tokenization to allow you to include things like "@webdbname" and profile document values in ...... 
    2. 03/16/2010The CKEditor - with Domino -- will be better than rolling your own!If you don't know the CKEditor, you soon will. Maureen (and others) have recently gone public with the announcement that starting in near term release of 8.5.x, that fantastic rich text editor will be shipped built in with the Domino server and will be integrated for easy use for XPages. One thing that's hard to do at present with the CKEditor when you integrate with Domino, is handle the built in browsing/uploading/embedding for file attachments, images, flash, and so on. There are plug-ins for ftp and ...... 
    3. 02/14/2010Great weekend sleddingI'm from "away" -- a term which in Maine speak means that I wasn't born here, and while I've been here for nearly 20 years I am very easily spotted as a non-native to pretty much anyone with long time family roots in the area. Being from away, there are things I just hadn't had a chance to do that most Mainer's take for granted. This weekend, I got the chance to scratch a few of those off the list. These included going 'upta camp', being significantly north of Bangor, and spending a fair bit of time on a ...... 
    4. 02/10/2010Is anyone really considering a move to a hosted Exchange system? 
    5. 02/06/2010When does an application stop belonging to its owner? 
    6. 01/29/2010Lotusphere 2010 - Session Survey Results 
    7. 01/27/2010Is UPS just plain broken? * Updated 
    8. 01/25/2010My presentations posted here from Lotusphere 2010 
    9. 01/24/2010Me - in bobblehead form 
    10. 01/23/2010Announcing the C.U.L.T. Shirt 2010 Winner 
    Click here for more articles.....


    pen icon Comment Entry
    Subject
    Your Name
    Homepage
    *Your Email
    * Your email address is required, but not displayed.
     
    Your thoughts....
     
    Remember Me  

    Please wait while your document is saved.