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. 02/06/2010When does an application stop belonging to its owner?When an application becomes truly successful and people start relying on it for things they consider important, is there a point at which the application starts to belong to the owners? Facebook's latest change brings the topic to mind, but it can happen to you with internal applications as well. There comes a time when users begin to have a personal stake in the design of a good application. Facebook makes a great example for when your users really own your application. Its user base is both extremely ...... 
    2. 01/29/2010Lotusphere 2010 - Session Survey ResultsSession results are always a bit strange to go through. I want to share what they looked like for me this year. Nearly all the comments were outstanding - but there's always one that really leaves me scratching my head. Like most speakers who take that part of their work seriously, I try to look at every survey, and pay extra attention to ones with written comments to see if there are things I can do better for next time. You have to grow a bit of a thick skin sometimes because there are always some ...... 
    3. 01/27/2010Is UPS just plain broken? * Updated* Updated January 27th -- Notes at the end of the original story. UPS is usually pretty reliable. My experience, however, has been that if the smallest thing goes wrong the whole process grinds to an inexplicable halt. Let me show you an example. On the 20th (a Wednesday) Lenovo shipped three packages to me. Two of them came from China. The first made the trip in the expected (and paid for) two days. The second seems to have spent days sitting in Shanghai and has so far chained itself to the wall in ...... 
    4. 01/25/2010My presentations posted here from Lotusphere 2010 
    5. 01/24/2010Me - in bobblehead form 
    6. 01/23/2010Announcing the C.U.L.T. Shirt 2010 Winner 
    7. 01/19/2010Great round table with Kristen Lauria about the Lotus Knows campaign 
    8. 01/19/2010The Review: Lotusphere 2010 – Opening General Session 
    9. 01/10/2010The LiveScribe Pen - Reviewed  
    10. 12/11/2009Comparing the iTouch/iPhone with the Blackberry Storm from a Notes Mail user & Geek perspective 
    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.