logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Martin
    • Posted on Tue 30 Dec 2003 10:34

    A little late I saw this post, and I won't take the time to read all what was written about it, so maybe the way I work was already mentioned before (if so, feel free to remove my post).

    First of all, I used the editor "ACE" ({Link} this one is not free, but cheap and has a lot of useful features, looks good etc. Before that I used an open source alternative and my solution also worked for this one.

    The editor used its own textarea or div for adding content, onsubmit the content is copied to a richtext field (made invisible clientside by using a style="display: none" but I assume you could also just make a hidden domino field). The opposite is done if you want to load the html for editing: onload the html is copied to the editor.

    This richtext field is made passthru html and the property "Web access" is on "using html".

    Now, if I just want to display it, I use the same richtext field with the same properties, it doesn't matter if I use a new form for display or the same one.

    Hope this helped?

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: